-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.iss
75 lines (61 loc) · 3.33 KB
/
setup.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
70
71
72
73
74
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "TTWatcher"
#define MyAppURL "https://github.com/altera2015/ttwatcher"
#define MyAppExeName "ttwatcher.exe"
#define Executable "build32\src\release\ttwatcher.exe"
#define ApplicationVersion GetFileVersion(Executable)
[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={{CF7217FF-24C4-44C1-890A-DC3C61FA0015}
AppName={#MyAppName}
AppVersion={#ApplicationVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
LicenseFile=LICENSE
OutputBaseFilename=TTWatcherSetup_x86_{#ApplicationVersion}
Compression=lzma
SolidCompression=yes
OutputDir=.
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "build32\src\release\ttwatcher.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "build32\quazip\quazip\release\quazip.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "src\south_florida.bridges"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\icudt52.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\icuin52.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\icuio52.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\icule52.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\iculx52.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\icutu52.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\icuuc52.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\libeay32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\msvcp120.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\msvcr120.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\Qt5Core.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\Qt5Gui.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\Qt5Network.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\Qt5Widgets.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\Qt5Xml.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\ssleay32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\platforms\qwindows.dll"; DestDir: "{app}\platforms"; Flags: ignoreversion
Source: "dist\imageformats\qjpeg.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
[Tasks]
Name: startWithWindows; Description: "Start with Windows"; Flags: unchecked
[Registry]
Root: HKCU; Subkey: "Software\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "ttwatcher"; ValueData: """{app}\{#MyAppExeName}"" --hidden"; Flags: uninsdeletekey; Tasks: startWithWindows;