|
| 1 | +; Script generated by the Inno Setup Script Wizard. |
| 2 | +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! |
| 3 | +; Non-commercial use only |
| 4 | + |
| 5 | +#define MyAppName "Oncle Bob" |
| 6 | +#define MyAppVersion "0.0.1" |
| 7 | +#define MyAppPublisher "xmit.dev" |
| 8 | +#define MyAppURL "https://xmit.dev/" |
| 9 | +#define MyAppExeName "bob.exe" |
| 10 | + |
| 11 | +[Setup] |
| 12 | +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. |
| 13 | +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) |
| 14 | +AppId={{7847C5D2-13C2-49A6-AEA7-A5A352A55ADB} |
| 15 | +AppName={#MyAppName} |
| 16 | +AppVersion={#MyAppVersion} |
| 17 | +;AppVerName={#MyAppName} {#MyAppVersion} |
| 18 | +AppPublisher={#MyAppPublisher} |
| 19 | +AppPublisherURL={#MyAppURL} |
| 20 | +AppSupportURL={#MyAppURL} |
| 21 | +AppUpdatesURL={#MyAppURL} |
| 22 | +DefaultDirName={autopf}\{#MyAppName} |
| 23 | +UninstallDisplayIcon={app}\{#MyAppExeName} |
| 24 | +; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run |
| 25 | +; on anything but x64 and Windows 11 on Arm. |
| 26 | +ArchitecturesAllowed=x64compatible |
| 27 | +; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the |
| 28 | +; install be done in "64-bit mode" on x64 or Windows 11 on Arm, |
| 29 | +; meaning it should use the native 64-bit Program Files directory and |
| 30 | +; the 64-bit view of the registry. |
| 31 | +ArchitecturesInstallIn64BitMode=x64compatible |
| 32 | +DisableProgramGroupPage=yes |
| 33 | +; Uncomment the following line to run in non administrative install mode (install for current user only). |
| 34 | +;PrivilegesRequired=lowest |
| 35 | +PrivilegesRequiredOverridesAllowed=dialog |
| 36 | +OutputDir=C:\bob\dist\win |
| 37 | +OutputBaseFilename=Oncle Bob setup |
| 38 | +SolidCompression=yes |
| 39 | +WizardStyle=modern |
| 40 | + |
| 41 | +[Languages] |
| 42 | +Name: "english"; MessagesFile: "compiler:Default.isl" |
| 43 | + |
| 44 | +[Tasks] |
| 45 | +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked |
| 46 | + |
| 47 | +[Files] |
| 48 | +Source: "C:\bob\build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 49 | +; NOTE: Don't use "Flags: ignoreversion" on any shared system files |
| 50 | + |
| 51 | +[Icons] |
| 52 | +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" |
| 53 | +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon |
| 54 | + |
| 55 | +[Run] |
| 56 | +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent |
| 57 | + |
0 commit comments