forked from bardsoftware/ganttproject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathganttproject.iss
50 lines (42 loc) · 2.11 KB
/
ganttproject.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
; Santulator Inno Setup File
#define MyAppName "GanttProject"
#define MyAppVersion "3.0.0"
#define MyAppPublisher "BarD Software s.r.o"
#define MyAppURL "https://www.ganttproject.biz"
#define MyAppExeName "GanttProject.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={{174F6867-7486-4C20-96B3-0F57311A4BD9}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
DisableDirPage=no
OutputBaseFilename={#MyAppName}-{#MyAppVersion}
Compression=lzma
SolidCompression=yes
ChangesAssociations=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\GanttProject\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{commonprograms}\{#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
[Registry]
Root: HKLM; Subkey: "Software\Classes\.gan"; ValueType: string; ValueName: ""; ValueData: "GanttProjectFile"; Flags: uninsdeletevalue
Root: HKLM; Subkey: "Software\Classes\GanttProjectFile"; ValueType: string; ValueName: ""; ValueData: "GanttProject File"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\Classes\GanttProjectFile\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\GanttProject.ico"
Root: HKLM; Subkey: "Software\Classes\GanttProjectFile\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\GanttProject.exe"" ""%1"""