-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstaller.iss
More file actions
64 lines (55 loc) · 2.33 KB
/
installer.iss
File metadata and controls
64 lines (55 loc) · 2.33 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
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "RES Stack Recorder"
#define MyAppVersion "1.0.13"
#define MyAppPublisher "Pranay Kiran"
#define MyAppExeName "RES_Stack_Recorder.exe"
[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={{8A4B6C2D-1E3F-4G5H-9I0J-KLMNOPQRSTUV}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
DefaultDirName={autopf}\{#MyAppName}
DisableProgramGroupPage=yes
; Remove the following line to run in administrative install mode (install for all users.)
PrivilegesRequired=lowest
OutputBaseFilename=RES_Stack_Recorder_Setup
#ifndef MyCompression
#define MyCompression "lzma"
#endif
#ifndef MySolid
#define MySolid "yes"
#endif
Compression={#MyCompression}
SolidCompression={#MySolid}
WizardStyle=modern
CloseApplications=yes
RestartApplications=no
DisableDirPage=auto
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
; Ensure you run PyInstaller first so dist/RES_Stack_Recorder exists!
Source: "dist\RES_Stack_Recorder\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\RES_Stack_Recorder\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
[Code]
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
if CurUninstallStep = usUninstall then
begin
MsgBox('Note: Your data (videos and database) will NOT be deleted. ' +
'If you wish to remove them, please delete the data folder manually. ' +
'You can backup this folder to preserve your data.', mbInformation, MB_OK);
end;
end;