Skip to content

Commit c7d44c2

Browse files
committed
ci(workflow): Add Inno Setup installation steps and update installation script configuration
Add Inno Setup installation steps to the CI workflow, and update the installation script to include icon paths and simplify schema settings
1 parent 6d8557c commit c7d44c2

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/release-installer.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ jobs:
8080
}
8181
shell: pwsh
8282

83+
- name: Install Inno Setup
84+
run: |
85+
choco install innosetup -y
86+
shell: pwsh
87+
8388
- name: Build Installers
8489
run: |
8590
New-Item -ItemType Directory -Force -Path installer

scripts/installer.iss

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define AppPublisher "DevTools"
33
#define AppURL "https://github.com/user/devtools"
44
#define AppExeName "DevTools.exe"
5+
#define IconPath "..\Resources\Images\logo.ico"
56

67
[Setup]
78
AppId={{8B5F3C7A-1D2E-4F6B-9C3A-5E7D8F1A2B3C}
@@ -29,16 +30,12 @@ VersionInfoDescription={#AppName} Installer
2930
VersionInfoCopyright=Copyright (C) 2024
3031
VersionInfoProductName={#AppName}
3132
VersionInfoProductVersion={#AppVersion}
32-
33-
#if "x64" == "{#Architecture}"
34-
ArchitecturesAllowed=x64compatible
35-
ArchitecturesInstallIn64BitMode=x64compatible
36-
#elif "arm64" == "{#Architecture}"
37-
ArchitecturesAllowed=arm64
38-
ArchitecturesInstallIn64BitMode=arm64
39-
#else
40-
ArchitecturesAllowed=x86
41-
#endif
33+
VersionInfoIcon={#IconPath}
34+
SetupIconFile={#IconPath}
35+
Uninstallable=yes
36+
UsePreviousAppDir=yes
37+
DisableDirPage=no
38+
DisableProgramGroupPage=yes
4239

4340
[Languages]
4441
Name: "english"; MessagesFile: "compiler:Default.isl"

0 commit comments

Comments
 (0)