Files
annotations/build/installer.iterative.iss
T

46 lines
1.5 KiB
Plaintext

#define MyAppVersion GetFileVersion("..\dist-azaion\Azaion.Suite.exe")
; Define a variable for the build environment, e.g., "Stage" or "Prod"
; This will be set by your Jenkins pipeline using the /D switch.
; If not defined via /D, it defaults to "Stage".
#ifndef MY_BUILD_ENV
#define MY_BUILD_ENV "Stage" ; Default to Stage if not specified (e.g., when compiling manually without /D)
#endif
[Setup]
AppId={{CCFEC8E2-0FCC-4B03-8EEA-00AF20D265E5}}
AppName=Azaion Suite
AppVersion={#MyAppVersion}
VersionInfoVersion={#MyAppVersion}
AppPublisher=Azaion LLC
DefaultDirName={localappdata}\Azaion\Azaion Suite
DefaultGroupName=Azaion Suite
OutputDir=..\
; Conditional OutputBaseFilename based on MY_BUILD_ENV
#if MY_BUILD_ENV == "Prod"
OutputBaseFilename=AzaionSuite.Iterative.Prod.{#MyAppVersion}
#else
OutputBaseFilename=AzaionSuite.Iterative.Stage.{#MyAppVersion} ; Defaults to Stage if MY_BUILD_ENV is not "Prod"
#endif
SetupIconFile=..\dist-azaion\logo.ico
UninstallDisplayName=Azaion Suite
UninstallDisplayIcon={app}\Azaion.Suite.exe
Compression=lzma2/fast
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
[Files]
Source: "..\dist-azaion\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
[Icons]
Name: "{group}\Azaion Suite"; Filename: "{app}\Azaion.LoaderUI.exe"
Name: "{commondesktop}\Azaion Suite"; Filename: "{app}\Azaion.LoaderUI.exe"; Tasks: desktopicon
[UninstallRun]