Repository navigation
Expand file tree
/
Copy pathsetup_script.iss
More file actions
65 lines (53 loc) · 2.39 KB
/
Copy pathsetup_script.iss
File metadata and controls
65 lines (53 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
; 스크립트 시작
; 프로그램 정보 정의
#define MyAppName "Vocal LevelUp Pro"
#define MyAppVersion "2.0 HQ"
#define MyAppPublisher "SKY-Group"
#define MyAppURL "https://www.sky-group.top"
#define MyAppExeName "VocalLevelUp_Pro.exe"
[Setup]
; --- 기본 설정 ---
AppId={{A1B2C3D4-E5F6-7890-1234-567890ABCDEF}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
; --- 설치 경로 설정 (중요) ---
; C드라이브 바로 아래에 설치하여 AI 모델 파일 생성 시 '관리자 권한' 오류를 방지합니다.
DefaultDirName=C:\{#MyAppName}
DisableProgramGroupPage=yes
; 설치 시 관리자 권한 요청
PrivilegesRequired=admin
; --- 출력 파일 설정 ---
; Setup 파일이 만들어질 위치 (현재 폴더)
OutputDir=.
; 생성될 설치 파일 이름 (예: VocalLevelUp_Pro_Setup_v2.0.exe)
OutputBaseFilename=VocalLevelUp_Pro_Setup_v2.0
Compression=lzma2/ultra64
SolidCompression=yes
; --- 디자인 ---
WizardStyle=modern
[Languages]
Name: "korean"; MessagesFile: "compiler:Languages\Korean.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
; ★★★ [가장 중요한 부분] ★★★
; make_exe.bat(또는 py)를 실행해서 생긴 'dist' 폴더 내부를 가져옵니다.
; 이 부분이 실행되려면 반드시 먼저 빌드(Build) 과정을 거쳐야 합니다.
Source: "dist\VocalLevelUp_Pro\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\VocalLevelUp_Pro\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; (주의) 만약 dist 폴더가 없다면 컴파일 에러가 납니다. 꼭 make_exe를 먼저 실행하세요.
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
; 설치가 끝나면 바로 실행할지 묻는 옵션
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent
[Dirs]
; 프로그램이 사용할 임시 폴더들을 미리 만들고, 쓰기 권한을 줍니다. (에러 방지)
Name: "{app}\output_result"; Permissions: users-modify
Name: "{app}\temp_base"; Permissions: users-modify
Name: "{app}\temp_work"; Permissions: users-modify