mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 04:20:45 +08:00
Find Inno Setup under LocalAppData for per-user installs.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d9b52e35e5
commit
54c6bc9298
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ if (-not $SkipInstaller) {
|
|||
$isccCmd = Get-Command ISCC.exe -ErrorAction SilentlyContinue
|
||||
$isccCandidates = @(
|
||||
$(if ($isccCmd) { $isccCmd.Source }),
|
||||
"$env:LOCALAPPDATA\Programs\Inno Setup 6\ISCC.exe",
|
||||
"${env:ProgramFiles(x86)}\Inno Setup 6\ISCC.exe",
|
||||
"$env:ProgramFiles\Inno Setup 6\ISCC.exe"
|
||||
) | Where-Object { $_ -and (Test-Path $_) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue