voicegrab/installer/VoiceGrab.iss

42 lines
1.3 KiB
Plaintext

; VoiceGrab — Inno Setup script
; Install Inno Setup 6: https://jrsoftware.org/isdl.php
; Compile: ISCC.exe installer\VoiceGrab.iss (from project root, after build_win.ps1)
#define MyAppName "VoiceGrab"
#define MyAppVersion "1.1.0"
#define MyAppExeName "VoiceGrab.exe"
[Setup]
AppId={{B7E5A9C2-3D41-4F6B-9E0A-1C8F5D2B7A11}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher=VoiceGrab
DefaultDirName={autopf}\VoiceGrab
DefaultGroupName=VoiceGrab
DisableProgramGroupPage=yes
OutputDir=dist
OutputBaseFilename=VoiceGrab-Setup-{#MyAppVersion}
Compression=lzma2
SolidCompression=yes
WizardStyle=modern
ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64
PrivilegesRequired=admin
PrivilegesRequiredOverridesAllowed=dialog
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
Source: "dist\VoiceGrab.exe"; DestDir: "{app}"; Flags: ignoreversion
[Icons]
Name: "{group}\VoiceGrab"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\VoiceGrab"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent