65 lines
2.2 KiB
Plaintext
65 lines
2.2 KiB
Plaintext
; ThreadPilot Installer Script for Inno Setup
|
|
; Copyright (C) 2025 Prime Build
|
|
|
|
#define MyAppName "ThreadPilot"
|
|
#define MyAppPublisher "Prime Build"
|
|
#define MyAppURL "https://github.com/PrimeBuild-pc/ThreadPilot"
|
|
#define MyAppExeName "ThreadPilot.exe"
|
|
|
|
#ifndef MyWizardStyle
|
|
#define MyWizardStyle "modern dynamic windows11"
|
|
#endif
|
|
|
|
#ifndef MyAppVersion
|
|
#define MyAppVersion "1.3.0"
|
|
#endif
|
|
|
|
#ifndef MyAppSourceDir
|
|
#define MyAppSourceDir "..\\artifacts\\release\\singlefile"
|
|
#endif
|
|
|
|
[Setup]
|
|
AppId={{E8F7A3B2-5C4D-4E6F-8A9B-1C2D3E4F5A6B}
|
|
AppName={#MyAppName}
|
|
AppVersion={#MyAppVersion}
|
|
AppVerName={#MyAppName} {#MyAppVersion}
|
|
AppPublisher={#MyAppPublisher}
|
|
AppPublisherURL={#MyAppURL}
|
|
AppSupportURL={#MyAppURL}/issues
|
|
AppUpdatesURL={#MyAppURL}/releases
|
|
DefaultDirName={autopf}\{#MyAppName}
|
|
DefaultGroupName={#MyAppName}
|
|
AllowNoIcons=yes
|
|
LicenseFile=..\LICENSE
|
|
PrivilegesRequired=admin
|
|
OutputDir=..\artifacts\release\installer
|
|
OutputBaseFilename=ThreadPilot_v{#MyAppVersion}_Setup
|
|
SetupIconFile=..\assets\icons\ico.ico
|
|
Compression=lzma2/ultra64
|
|
SolidCompression=yes
|
|
WizardStyle={#MyWizardStyle}
|
|
ArchitecturesInstallIn64BitMode=x64compatible
|
|
ArchitecturesAllowed=x64compatible
|
|
MinVersion=10.0.17763
|
|
UninstallDisplayIcon={app}\{#MyAppExeName}
|
|
DisableReadyPage=yes
|
|
|
|
[Languages]
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
|
|
[Tasks]
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
|
|
|
[Files]
|
|
Source: "{#MyAppSourceDir}\ThreadPilot.exe"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "{#MyAppSourceDir}\*.dll"; DestDir: "{app}"; Flags: ignoreversion skipifsourcedoesntexist
|
|
Source: "{#MyAppSourceDir}\*.pdb"; DestDir: "{app}"; Flags: ignoreversion skipifsourcedoesntexist
|
|
Source: "{#MyAppSourceDir}\Powerplans\*"; DestDir: "{app}\Powerplans"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
|
[Icons]
|
|
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
|
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
|
|
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
|
|
|
; Intentionally do not auto-launch after setup to keep package-manager installs unattended.
|