feat(packaging): per-user no-admin installer + versioned output name
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -28,14 +28,20 @@ DefaultDirName={autopf}\CIMTechniques Service Suite
|
||||
DefaultGroupName={#AppName}
|
||||
DisableProgramGroupPage=yes
|
||||
OutputDir=Output
|
||||
OutputBaseFilename=CIM-Service-Suite-Setup
|
||||
OutputBaseFilename=CIM-Service-Suite-{#AppVersion}-Setup
|
||||
Compression=lzma2
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
ArchitecturesAllowed=x64compatible
|
||||
ArchitecturesInstallIn64BitMode=x64compatible
|
||||
; Sign the installer in CI for the cleanest customer experience:
|
||||
; SignTool=signtool $f
|
||||
; Per-user install: no admin / UAC. {autopf} resolves to %LOCALAPPDATA%\Programs,
|
||||
; shortcuts go to the per-user Start menu, and the uninstall entry lands under HKCU.
|
||||
PrivilegesRequired=lowest
|
||||
SetupIconFile=icon.ico
|
||||
UninstallDisplayIcon={app}\{#AppExeName}
|
||||
; Signing is done in packaging\build.ps1 (signs the inner exe AND this Setup.exe),
|
||||
; gated on the CIM_SIGN_CERT env var. See docs\RELEASE-PACKAGING.md. Intentionally
|
||||
; NOT using Inno's SignTool directive, to keep all signing in one place.
|
||||
|
||||
[Languages]
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
@@ -45,7 +51,7 @@ Source: "dist\CIM-Service-Suite\*"; DestDir: "{app}"; Flags: recursesubdirs crea
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"
|
||||
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon
|
||||
Name: "{userdesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "Create a desktop shortcut"; GroupDescription: "Additional icons:"
|
||||
|
||||
Reference in New Issue
Block a user