2026-10-24 22:11:39 +03:00
|
|
|
#ifndef AppVersion
|
2026-10-24 22:04:27 +03:00
|
|
|
#error Передайте версию: /DAppVersion=X.Y.Z
|
2026-10-08 19:44:41 +03:00
|
|
|
#endif
|
|
|
|
|
#ifndef SourceDir
|
2026-10-24 22:04:27 +03:00
|
|
|
#error Передайте префикс установки: /DSourceDir=...
|
2026-10-08 19:44:41 +03:00
|
|
|
#endif
|
|
|
|
|
#ifndef OutputDir
|
2026-10-24 22:04:27 +03:00
|
|
|
#define OutputDir "."
|
2026-10-08 19:44:41 +03:00
|
|
|
#endif
|
2026-10-24 22:11:39 +03:00
|
|
|
|
2026-10-23 14:35:14 +03:00
|
|
|
#if Pos("-", AppVersion) > 0
|
2026-10-24 22:04:27 +03:00
|
|
|
#define NumericVersion Copy(AppVersion, 1, Pos("-", AppVersion) - 1)
|
2026-10-23 14:35:14 +03:00
|
|
|
#else
|
2026-10-24 22:04:27 +03:00
|
|
|
#define NumericVersion AppVersion
|
2026-10-23 14:35:14 +03:00
|
|
|
#endif
|
2026-10-08 19:44:41 +03:00
|
|
|
|
2026-10-24 22:11:39 +03:00
|
|
|
[Setup]
|
2026-10-24 22:04:27 +03:00
|
|
|
AppId={{6E0B5C1D-8F2A-4C7E-9B3D-2A1F4E5C7B90}
|
|
|
|
|
AppName=BiLauncher
|
|
|
|
|
AppVersion={#AppVersion}
|
|
|
|
|
AppVerName=BiLauncher {#AppVersion}
|
|
|
|
|
AppPublisher=GaleonDev
|
|
|
|
|
AppPublisherURL=https://projects-live.galeonworx.com/galeon/BiLauncher
|
|
|
|
|
AppSupportURL=https://projects-live.galeonworx.com/galeon/BiLauncher/issues
|
|
|
|
|
VersionInfoVersion={#NumericVersion}
|
|
|
|
|
VersionInfoTextVersion={#AppVersion}
|
|
|
|
|
VersionInfoProductTextVersion={#AppVersion}
|
|
|
|
|
DefaultDirName={autopf}\BiLauncher
|
|
|
|
|
DefaultGroupName=BiLauncher
|
|
|
|
|
DisableProgramGroupPage=yes
|
|
|
|
|
LicenseFile={#SourceDir}\share\doc\BiLauncher\LICENSE
|
|
|
|
|
OutputDir={#OutputDir}
|
|
|
|
|
OutputBaseFilename=BiLauncher-{#AppVersion}-win64-setup
|
|
|
|
|
SetupIconFile=..\..\icons\icon.ico
|
|
|
|
|
UninstallDisplayIcon={app}\bin\BiLauncher.exe
|
|
|
|
|
Compression=lzma2/ultra64
|
|
|
|
|
SolidCompression=yes
|
|
|
|
|
LZMANumBlockThreads=4
|
|
|
|
|
ArchitecturesAllowed=x64compatible
|
|
|
|
|
ArchitecturesInstallIn64BitMode=x64compatible
|
|
|
|
|
PrivilegesRequiredOverridesAllowed=dialog
|
|
|
|
|
WizardStyle=modern
|
2026-10-08 19:44:41 +03:00
|
|
|
|
2026-10-24 22:04:27 +03:00
|
|
|
[Languages]
|
|
|
|
|
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
|
|
|
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
2026-10-08 19:44:41 +03:00
|
|
|
|
2026-10-24 22:04:27 +03:00
|
|
|
[Tasks]
|
|
|
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
|
2026-10-08 19:44:41 +03:00
|
|
|
|
2026-10-24 22:04:27 +03:00
|
|
|
[Files]
|
|
|
|
|
Source: "{#SourceDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Excludes: "vc_redist.x64.exe"
|
2026-10-08 19:44:41 +03:00
|
|
|
#ifexist SourceDir + "\bin\vc_redist.x64.exe"
|
2026-10-24 22:04:27 +03:00
|
|
|
Source: "{#SourceDir}\bin\vc_redist.x64.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall
|
2026-10-08 19:44:41 +03:00
|
|
|
#endif
|
|
|
|
|
|
2026-10-24 22:04:27 +03:00
|
|
|
[Icons]
|
|
|
|
|
Name: "{autoprograms}\BiLauncher"; Filename: "{app}\bin\BiLauncher.exe"
|
|
|
|
|
Name: "{autodesktop}\BiLauncher"; Filename: "{app}\bin\BiLauncher.exe"; Tasks: desktopicon
|
2026-10-08 19:44:41 +03:00
|
|
|
|
2026-10-24 22:04:27 +03:00
|
|
|
[Run]
|
2026-10-08 19:44:41 +03:00
|
|
|
#ifexist SourceDir + "\bin\vc_redist.x64.exe"
|
2026-10-24 22:04:27 +03:00
|
|
|
Filename: "{tmp}\vc_redist.x64.exe"; Parameters: "/install /quiet /norestart"; StatusMsg: "Установка Microsoft Visual C++ Runtime..."; Flags: waituntilterminated
|
2026-10-08 19:44:41 +03:00
|
|
|
#endif
|
2026-10-24 22:11:39 +03:00
|
|
|
Filename: "{app}\bin\BiLauncher.exe"; Description: "{cm:LaunchProgram,BiLauncher}"; Flags: nowait postinstall skipifsilent
|