Created
May 27, 2021 06:44
-
-
Save DonnC/af2f1a91fafdb6a8463878b570904d2f to your computer and use it in GitHub Desktop.
Inno setup example script to generate standalone .exe [sidekick.exe]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Script generated by the Inno Setup Script Wizard. | |
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | |
#define MyAppName "sidekick" | |
#define MyAppVersion "0.0.6" | |
#define MyAppPublisher "Leo Farias" | |
#define MyAppURL "https://github.com/leoafarias/sidekick" | |
#define MyAppExeName "Sidekick.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={{BC428E11-1E85-487F-863F-65A46C32DC82} | |
AppName={#MyAppName} | |
AppVersion={#MyAppVersion} | |
;AppVerName={#MyAppName} {#MyAppVersion} | |
AppPublisher={#MyAppPublisher} | |
AppPublisherURL={#MyAppURL} | |
AppSupportURL={#MyAppURL} | |
AppUpdatesURL={#MyAppURL} | |
DefaultDirName={autopf}\{#MyAppName} | |
DisableProgramGroupPage=yes | |
; Remove the following line to run in administrative install mode (install for all users.) | |
PrivilegesRequired=lowest | |
PrivilegesRequiredOverridesAllowed=dialog | |
OutputDir=C:\Users\dell\Downloads\Compressed\windows-0.0.6 | |
OutputBaseFilename=fvm | |
Compression=lzma | |
SolidCompression=yes | |
WizardStyle=modern | |
[Languages] | |
Name: "english"; MessagesFile: "compiler:Default.isl" | |
[Tasks] | |
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked | |
[Files] | |
Source: "C:\Users\dell\Downloads\Compressed\windows-0.0.6\build\windows\Runner\release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion | |
Source: "C:\Users\dell\Downloads\Compressed\windows-0.0.6\build\windows\Runner\release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs | |
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | |
[Icons] | |
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" | |
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon | |
[Run] | |
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment