release fixes
tests / package-smoke-linux (push) Skipped
tests / package-smoke-windows (push) Skipped
tests / package-smoke-macos (push) Skipped
tests / macos (push) Successful in 1m24s
tests / linux (push) Successful in 2m18s
tests / windows (push) Successful in 14m14s

Signed-off-by: galeon <dertiellis@gmail.com>
This commit is contained in:
galeon committed 2026-10-23 15:26:03 +03:00
1 parent 24115b4ce6
commit a89bf20486
1 file changed
+55 -46
+55 -46
View File
@@ -1,65 +1,74 @@
; Установщик BiLauncher для Windows (Inno Setup 6). ; Установщик BiLauncher для Windows (Inno Setup 6).
; ;
; Собирается в CI после `cmake --install`: ; Собирается в CI после `cmake --install`:
; iscc /DAppVersion=1.0.0 /DSourceDir=C:\...\stage /DOutputDir=C:\...\dist packaging\windows\BiLauncher.iss ; iscc /DAppVersion=1.0.0 /DSourceDir=C:\...\stage /DOutputDir=C:\...\dist packaging\windows\BiLauncher.iss
; SourceDir — префикс установки: bin\ с BiLauncher.exe и развёрнутым windeployqt Qt, ; SourceDir — префикс установки: bin\ с BiLauncher.exe и развёрнутым windeployqt Qt,
; share\doc\BiLauncher\ с лицензиями. ; share\doc\BiLauncher\ с лицензиями.
#ifndef AppVersion #ifndef AppVersion
#error Передайте версию: /DAppVersion=X.Y.Z #error Передайте версию: /DAppVersion=X.Y.Z
#endif #endif
#ifndef SourceDir #ifndef SourceDir
#error Передайте префикс установки: /DSourceDir=... #error Передайте префикс установки: /DSourceDir=...
#endif #endif
#ifndef OutputDir #ifndef OutputDir
#define OutputDir "." #define OutputDir "."
#endif
; VersionInfoVersion принимает только числа (X.Y.Z[.W]), поэтому у предрелиза
; (1.0.1-rc1) суффикс отрезаем; полная версия идёт в текстовые поля.
#if Pos("-", AppVersion) > 0
#define NumericVersion Copy(AppVersion, 1, Pos("-", AppVersion) - 1)
#else
#define NumericVersion AppVersion
#endif #endif
[Setup] [Setup]
; AppId не менять между версиями — по нему обновление находит прежнюю установку. ; AppId не менять между версиями — по нему обновление находит прежнюю установку.
AppId={{6E0B5C1D-8F2A-4C7E-9B3D-2A1F4E5C7B90} AppId={{6E0B5C1D-8F2A-4C7E-9B3D-2A1F4E5C7B90}
AppName=BiLauncher AppName=BiLauncher
AppVersion={#AppVersion} AppVersion={#AppVersion}
AppVerName=BiLauncher {#AppVersion} AppVerName=BiLauncher {#AppVersion}
AppPublisher=GaleonDev AppPublisher=GaleonDev
AppPublisherURL=https://projects-live.galeonworx.com/galeon/BiLauncher AppPublisherURL=https://projects-live.galeonworx.com/galeon/BiLauncher
AppSupportURL=https://projects-live.galeonworx.com/galeon/BiLauncher/issues AppSupportURL=https://projects-live.galeonworx.com/galeon/BiLauncher/issues
VersionInfoVersion={#AppVersion} VersionInfoVersion={#NumericVersion}
DefaultDirName={autopf}\BiLauncher VersionInfoTextVersion={#AppVersion}
DefaultGroupName=BiLauncher VersionInfoProductTextVersion={#AppVersion}
DisableProgramGroupPage=yes DefaultDirName={autopf}\BiLauncher
LicenseFile={#SourceDir}\share\doc\BiLauncher\LICENSE DefaultGroupName=BiLauncher
OutputDir={#OutputDir} DisableProgramGroupPage=yes
OutputBaseFilename=BiLauncher-{#AppVersion}-win64-setup LicenseFile={#SourceDir}\share\doc\BiLauncher\LICENSE
SetupIconFile=..\..\icons\icon.ico OutputDir={#OutputDir}
UninstallDisplayIcon={app}\bin\BiLauncher.exe OutputBaseFilename=BiLauncher-{#AppVersion}-win64-setup
Compression=lzma2/ultra64 SetupIconFile=..\..\icons\icon.ico
SolidCompression=yes UninstallDisplayIcon={app}\bin\BiLauncher.exe
LZMANumBlockThreads=4 Compression=lzma2/ultra64
ArchitecturesAllowed=x64compatible SolidCompression=yes
ArchitecturesInstallIn64BitMode=x64compatible LZMANumBlockThreads=4
PrivilegesRequiredOverridesAllowed=dialog ArchitecturesAllowed=x64compatible
WizardStyle=modern ArchitecturesInstallIn64BitMode=x64compatible
PrivilegesRequiredOverridesAllowed=dialog
WizardStyle=modern
[Languages] [Languages]
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl" Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
Name: "english"; MessagesFile: "compiler:Default.isl" Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks] [Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
[Files] [Files]
Source: "{#SourceDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Excludes: "vc_redist.x64.exe" Source: "{#SourceDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Excludes: "vc_redist.x64.exe"
#ifexist SourceDir + "\bin\vc_redist.x64.exe" #ifexist SourceDir + "\bin\vc_redist.x64.exe"
Source: "{#SourceDir}\bin\vc_redist.x64.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall Source: "{#SourceDir}\bin\vc_redist.x64.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall
#endif #endif
[Icons] [Icons]
Name: "{autoprograms}\BiLauncher"; Filename: "{app}\bin\BiLauncher.exe" Name: "{autoprograms}\BiLauncher"; Filename: "{app}\bin\BiLauncher.exe"
Name: "{autodesktop}\BiLauncher"; Filename: "{app}\bin\BiLauncher.exe"; Tasks: desktopicon Name: "{autodesktop}\BiLauncher"; Filename: "{app}\bin\BiLauncher.exe"; Tasks: desktopicon
[Run] [Run]
#ifexist SourceDir + "\bin\vc_redist.x64.exe" #ifexist SourceDir + "\bin\vc_redist.x64.exe"
Filename: "{tmp}\vc_redist.x64.exe"; Parameters: "/install /quiet /norestart"; StatusMsg: "Установка Microsoft Visual C++ Runtime..."; Flags: waituntilterminated Filename: "{tmp}\vc_redist.x64.exe"; Parameters: "/install /quiet /norestart"; StatusMsg: "Установка Microsoft Visual C++ Runtime..."; Flags: waituntilterminated
#endif #endif
Filename: "{app}\bin\BiLauncher.exe"; Description: "{cm:LaunchProgram,BiLauncher}"; Flags: nowait postinstall skipifsilent Filename: "{app}\bin\BiLauncher.exe"; Description: "{cm:LaunchProgram,BiLauncher}"; Flags: nowait postinstall skipifsilent