-
Notifications
You must be signed in to change notification settings - Fork 0
/
windows_installation.iss
70 lines (61 loc) · 3.87 KB
/
windows_installation.iss
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
66
67
68
69
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define SourcePath "\\?\Volume{cc498e86-0000-0000-0000-602200000000}\Users\jason\Desktop\coh_npc_voices"
#define MyAppName "Sidekick"
#define MyAppVersion "2.1"
#define MyAppPublisher "Jason Kane"
#define MyAppURL "https://github.com/jason-kane/coh_npc_voices"
#define MyAppExeName "Sidekick.bat"
#define MyAppIcon "sidekick.ico"
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{7F6AB435-BCD4-46D2-AA07-EE65EAF992FA}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\COH Sidekick
DisableProgramGroupPage=yes
LicenseFile=C:\Users\jason\Desktop\coh_npc_voices\LICENSE
; Remove the following line to run in administrative install mode (install for all users.)
PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
OutputBaseFilename=sidekick_setup
Compression=zip
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "{#SourcePath}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\aliases.json"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\all_npcs.json"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\config.json"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\sidekick.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\requirements.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\win_install.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\__init__.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\audio.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\db.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\effects.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\engines.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\models.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\npc.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\npc_chatter.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\settings.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\sidekick.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\voice_builder.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\src\coh_npc_voices\voice_editor.py"; DestDir: "{app}\src\coh_npc_voices\"; Flags: ignoreversion
Source: "{#SourcePath}\venv\*"; DestDir: "{app}\venv"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{userdesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\{#MyAppIcon}"; Tasks: desktopicon
[Run]
Filename: "{app}\win_install.exe"; StatusMsg: "Installing Dependencies...."
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent