Build script: move installer compilation to local/unversioned Powershell script, and let the iss file set the wanted output filename

This commit is contained in:
Ansgar Becker
2025-09-10 14:27:12 +02:00
parent e3517d0fa6
commit 5e3c98205b
2 changed files with 30 additions and 26 deletions

View File

@@ -14,7 +14,7 @@
#define ProgVerRevision
#define ProgVerBuild
#define ProgVersion GetVersionComponents(AddBackslash(SourcePath) + ProgNameLower + "64.exe", ProgVerMajor, ProgVerMinor, ProgVerRevision, ProgVerBuild)
#define ProgShortVersion Str(ProgVerMajor) + "." + Str(ProgVerMinor)
#define ProgVersionStr Str(ProgVerMajor) + "." + Str(ProgVerMinor) + "." + Str(ProgVerRevision) + "." + Str(ProgVerBuild)
[Languages]
Name: "en"; MessagesFile: "compiler:Default.isl"
@@ -53,7 +53,7 @@ AppName={#ProgName}
AppVerName={#ProgName} {#ProgVersion}
VersionInfoVersion={#ProgVersion}
; Displayed on the "Support" dialog of the Add/Remove Programs Control Panel applet:
AppVersion={#ProgShortVersion}
AppVersion={#ProgVersionStr}
AppPublisher=Ansgar Becker
AppPublisherURL={#WebSite}
AppSupportURL={#WebSite}forum.php
@@ -73,7 +73,7 @@ WizardStyle=modern
WizardImageFile={#ResourceDir}installer-logo.bmp
WizardSmallImageFile={#ResourceDir}installer-small-logo.bmp
OutputDir={#OutDir}
OutputBaseFilename={#ProgName}_{#ProgShortVersion}_Setup
OutputBaseFilename={#ProgName}_{#ProgVersionStr}_Setup
UninstallDisplayIcon={app}\{#ProgExeName}
SetupIconFile={#ResourceDir}mainicon.ico
ArchitecturesAllowed=x64compatible