-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.iss
executable file
·61 lines (52 loc) · 2.67 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
; The real version will be passed by command-line call
#ifndef TheAppVersion
#define TheAppVersion "unknown"
#endif
#define TheAppName "CycloneDDS Insight"
#define TheAppPublisher "Eclipse Cyclone DDS"
#define TheAppURL "https://cyclonedds.io/"
#define TheAppExeName "CycloneDDS Insight.exe"
#define TheAppAssocName "Interface Definition File"
#define TheAppAssocExt ".idl"
#define TheAppAssocKey StringChange(TheAppAssocName, " ", "") + TheAppAssocExt
[Setup]
AppId={{FC901B87-B2DD-4DB7-B317-ADA9B708841F}
AppName={#TheAppName}
AppVersion={#TheAppVersion}
VersionInfoVersion={#TheAppVersion}
AppVerName={#TheAppName} Version {#TheAppVersion}
AppPublisher={#TheAppPublisher}
AppPublisherURL={#TheAppURL}
AppSupportURL={#TheAppURL}
AppUpdatesURL={#TheAppURL}
DefaultDirName={autopf}\{#TheAppName}
ChangesAssociations=yes
DisableProgramGroupPage=yes
LicenseFile=LICENSE
PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
OutputDir=dist
OutputBaseFilename=cyclonedds-insight-{#TheAppVersion}-windows-x64
SetupIconFile=res\images\cyclonedds.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "dist\CycloneDDS Insight\{#TheAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\CycloneDDS Insight\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Registry]
Root: HKA; Subkey: "Software\Classes\{#TheAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#TheAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue
Root: HKA; Subkey: "Software\Classes\{#TheAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#TheAppAssocName}"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\{#TheAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#TheAppExeName},0"
Root: HKA; Subkey: "Software\Classes\{#TheAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#TheAppExeName}"" ""%1"""
Root: HKA; Subkey: "Software\Classes\Applications\{#TheAppExeName}\SupportedTypes"; ValueType: string; ValueName: ".Thep"; ValueData: ""
[Icons]
Name: "{autoprograms}\{#TheAppName}"; Filename: "{app}\{#TheAppExeName}"
Name: "{autodesktop}\{#TheAppName}"; Filename: "{app}\{#TheAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#TheAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(TheAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent