Files
ProxyPilot/scripts/find-inno.ps1
T
Finessse e0756a566c chore(scripts): add build helper scripts
Add PowerShell scripts for installer builds:
- build-installer.ps1
- find-inno.ps1
- windows/build-custom-installer.ps1
2025-12-28 20:53:59 +07:00

21 lines
544 B
PowerShell

$paths = @(
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe",
"C:\Program Files\Inno Setup 6\ISCC.exe",
"$env:LOCALAPPDATA\Programs\Inno Setup 6\ISCC.exe"
)
foreach ($path in $paths) {
if (Test-Path $path) {
Write-Host "FOUND: $path"
exit 0
}
}
# Search more broadly
$found = Get-ChildItem -Path "C:\" -Filter "ISCC.exe" -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1
if ($found) {
Write-Host "FOUND: $($found.FullName)"
} else {
Write-Host "NOT FOUND - Please install Inno Setup"
}