forked from dkav/Circuitscape.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circuitscape-x64.iss
60 lines (51 loc) · 2.92 KB
/
circuitscape-x64.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
;ENTER VERSION INFO HERE
#define Version "4.0.5"
;TODO: Would be great to get the following to work, but version info isn't in exe file:
;#define AppVersion GetFileVersion("dist\csgui.exe")
;#if AppVersion == ""
; #error MyAppVer - Version information not found!
;#endif
[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={{E4376ABF-DB0A-41EA-B854-54ED7A20BD38}
AppName=Circuitscape
AppVerName=Circuitscape {#Version}
AppPublisher=Circuitscape
AppPublisherURL=http://www.circuitscape.org/
AppSupportURL=http://www.circuitscape.org/
AppUpdatesURL=http://www.circuitscape.org/
DefaultDirName={pf}\Circuitscape
DefaultGroupName=Circuitscape
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes
; For 64-bit only:
ArchitecturesInstallIn64BitMode=x64
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"
; BHM 01/17/2011- Removed Flags: unchecked
[Files]
; Source: "C:\CIRCUITSCAPE\PyCircuitScape\dist\cs_gui.exe"; DestDir: "{app}"; Flags: ignoreversion; Permissions: users-modify
Source: "dist\csgui.exe"; DestDir: "{app}"; Flags: ignoreversion; Permissions: users-modify
Source: "dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Permissions: users-modify
; BHM added permissions above for 64-bit install 01/17/2011
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
;Name: "{group}\Circuitscape"; Filename: "{app}\cs_gui.exe"
Name: "{group}\Circuitscape"; Filename: "{app}\csgui.exe"
;Name: "{commondesktop}\Circuitscape"; Filename: "{app}\cs_gui.exe"; IconFilename: "{app}\cs_logo.ico"; Tasks: desktopicon
Name: "{commondesktop}\Circuitscape"; Filename: "{app}\csgui.exe"; IconFilename: "{app}\cs_logo.ico"; Tasks: desktopicon
;Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Circuitscape"; Filename: "{app}\cs_gui.exe"; IconFilename: "{app}\cs_logo.ico"; Tasks: quicklaunchicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Circuitscape"; Filename: "{app}\csgui.exe"; IconFilename: "{app}\cs_logo.ico"; Tasks: quicklaunchicon
[Dirs]
Name: {app}; Permissions: users-modify
; BHM added permissions above for 64-bit Windows 7 install 01/17/2011
[Run]
;Filename: "{app}\circuitscape_4_0.pdf"; Description: "View the user guide"; Flags: postinstall shellexec skipifsilent
Filename: http://docs.circuitscape.org/circuitscape_4_0_user_guide.html?id=Win64Install{#Version}; Description: "View the user guide"; Flags: postinstall shellexec skipifsilent
Filename: "{app}\csgui.exe"; Description: "{cm:LaunchProgram,Circuitscape}"; Flags: nowait postinstall skipifsilent