|
| 1 | +; Script generated by the Inno Setup Script Wizard. |
| 2 | +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! |
| 3 | + |
| 4 | +#define MyAppName "StreamingDataLoader" |
| 5 | +#define MyAppVersion "0.7_Beta" |
| 6 | +#define MyAppPublisher "ODM2" |
| 7 | +#define MyAppURL "https://github.com/ODM2/ODM2StreamingDataLoader" |
| 8 | +#define MyAppExeName "SDLLoader.exe" |
| 9 | +#define MyAppDir "D:\DEV\SDL" |
| 10 | +#define MyWizExeName "SDLWizard.exe" |
| 11 | + |
| 12 | +[Setup] |
| 13 | +; NOTE: The value of AppId uniquely identifies this application. |
| 14 | +; Do not use the same AppId value in installers for other applications. |
| 15 | +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) |
| 16 | +AppId={{02A7DA47-6B76-4692-B345-9AE0659A5504} |
| 17 | +AppName={#MyAppName} |
| 18 | +AppVersion={#MyAppVersion} |
| 19 | +;AppVerName={#MyAppName} {#MyAppVersion} |
| 20 | +AppPublisher={#MyAppPublisher} |
| 21 | +AppPublisherURL={#MyAppURL} |
| 22 | +AppSupportURL={#MyAppURL} |
| 23 | +AppUpdatesURL={#MyAppURL} |
| 24 | +DefaultDirName={pf}\{#MyAppName} |
| 25 | +DefaultGroupName={#MyAppName} |
| 26 | +LicenseFile={#MyAppDir}\LICENSE.txt |
| 27 | +OutputBaseFilename={#MyAppName}_{#MyAppVersion}_Installer |
| 28 | +SetupIconFile={#MyAppDir}\src\common\icons\SDL.ico |
| 29 | +Compression=lzma |
| 30 | +SolidCompression=yes |
| 31 | +OutputDir={#MyAppDir}\setup\Dist |
| 32 | +UsePreviousAppDir=no |
| 33 | + |
| 34 | +[Languages] |
| 35 | +Name: "english"; MessagesFile: "compiler:Default.isl" |
| 36 | + |
| 37 | +[Tasks] |
| 38 | +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked |
| 39 | + |
| 40 | +[Files] |
| 41 | +;Source: "{#MyAppDir}\setup\Windows\SDLLoader\SDLLoader.exe"; DestDir: "{app}"; Flags: ignoreversion |
| 42 | +;Source: "{#MyAppDir}\setup\Windows\SDLWizard\SDLWizard.exe"; DestDir: "{app}"; Flags: ignoreversion |
| 43 | +Source: "{#MyAppDir}\setup\Windows\SDLLoader.exe"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 44 | +Source: "{#MyAppDir}\setup\Windows\SDLWizard.exe"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 45 | +; NOTE: Don't use "Flags: ignoreversion" on any shared system files |
| 46 | + |
| 47 | +[Icons] |
| 48 | +Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" |
| 49 | +Name: "{group}\{#MyWizExeName}"; Filename: "{app}\{#MyWizExeName}" |
| 50 | +Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" |
| 51 | +Name: "{commondesktop}\{#MyWizExeName}"; Filename: "{app}\{#MyWizExeName}"; Tasks: desktopicon |
| 52 | + |
| 53 | +[Run] |
| 54 | +Filename: "{app}\{#MyWizExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent |
| 55 | + |
0 commit comments