-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcodapack_installer.iss
More file actions
65 lines (57 loc) · 3.11 KB
/
codapack_installer.iss
File metadata and controls
65 lines (57 loc) · 3.11 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
65
; Command line call:
; C:\Program Files (x86)\Inno Setup 5\ISCC.exe build_setup_file.iss
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "CoDaPack"
#define MyAppVersion "2.03.vv"
#define MyAppPublisher "Universitat de Girona"
#define MyAppURL "http://ima.udg.edu/codapack/"
#define MyAppExeName "CoDaPack.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={{C1C9D163-40EA-40F2-81C2-877DA22B1570}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={commonpf64}\{#MyAppName}
DefaultGroupName={#MyAppName}
LicenseFile=license.txt
OutputDir=target\
OutputBaseFilename=CoDaPack-setup-{#MyAppVersion}
SetupIconFile=src\main\resources\icon.ico
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: "jdk-17.0.7\*"; DestDir: "{app}\jdk-17.0.7"; Flags: ignoreversion recursesubdirs
Source: "R-4.3.1\*"; DestDir: "{app}\R-4.3.1"; Flags: ignoreversion recursesubdirs
Source: "Rlibraries\*"; DestDir: "{app}\Rlibraries"; Flags: ignoreversion recursesubdirs
Source: "Rscripts\*"; DestDir: "{app}\Rscripts"; Flags: ignoreversion recursesubdirs
Source: "Help\*"; DestDir: "{app}\Help"; Flags: ignoreversion recursesubdirs
Source: "src\*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs
Source: "target\CoDaPack-{#MyAppVersion}-jar-with-dependencies.jar"; DestDir: "{app}\target"; Flags: ignoreversion recursesubdirs
Source: "CoDaPack.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "codapack_structure.yaml"; DestDir: "{app}"; Flags: ignoreversion
;Source: "target\codapack-{#MyAppVersion}.jar"; DestDir: "{app}"; Flags: ignoreversion
Source: "license.txt"; DestDir: "{app}"; 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
[Registry]
Root: HKCR; Subkey: ".cdp"; ValueType: string; ValueName: ""; ValueData: "cdpfile"; Flags: uninsdeletevalue
Root: HKCR; Subkey: "cdpfile"; ValueType: string; ValueName: ""; ValueData: "CoDaPack File"; Flags: uninsdeletekey
Root: HKCR; Subkey: "cdpfile\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\CoDaPack.exe,0"
Root: HKCR; Subkey: "cdpfile\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\CoDaPack.exe"" ""%1"""