-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathInnoSetupScript.iss
More file actions
59 lines (50 loc) · 2.68 KB
/
Copy pathInnoSetupScript.iss
File metadata and controls
59 lines (50 loc) · 2.68 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
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "SimuS"
#define MyAppVersion "1.1"
#define MyAppPublisher "Gabriel P. Silva"
#define MyAppURL "http://www.dcc.ufrj.br/~gabriel/"
#define MyAppExeName "simus.exe"
;#define GitDir "C:\Users\Alonso\Documents\GitHub\simus"
#define GitDir "D:\GitHubRepo\SimusRepository\"
[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={{2C781A07-1956-4F0A-9A34-EAACB859A8F5}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
OutputBaseFilename=SimuS-setup
SetupIconFile={#GitDir}\simus.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
[Files]
Source: "{#GitDir}\simus.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#GitDir}\Exemplos\*"; DestDir: "{app}\Exemplos\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#GitDir}\locale\*"; DestDir: "{app}\locale\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#GitDir}\Instrucao.docx"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#GitDir}\simus.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#GitDir}\simus.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#GitDir}\simus.res"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{commonprograms}\{#MyAppName}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commonprograms}\{#MyAppName}\Uninstall {#MyAppName}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent