mirror of
https://github.com/Finesssee/ProxyPilot.git
synced 2026-11-18 18:04:20 +00:00
Add PowerShell scripts for installer builds: - build-installer.ps1 - find-inno.ps1 - windows/build-custom-installer.ps1
21 lines
544 B
PowerShell
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"
|
|
}
|