Commands for installing HolyPHP without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id HolyPHP.HolyPHP -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HolyPHP.HolyPHP -e --silentwinget uninstall --id HolyPHP.HolyPHP -e --silentBy installer
64-bit · EXE (Inno Setup) · Current user · en-US
Silent install
HolyPHP-1.0.1-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
HolyPHP-1.0.1-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\holyphp"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4F6E1B7C-9D2A-4E8B-A1C3-5D7F9B2E4A6C}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-holyphp.ps1
$url = 'https://github.com/Elifoxcoder/holyphp/releases/download/v1.0.1/HolyPHP-1.0.1-x64-setup.exe'
$sha256 = 'AE24E2019B0004D2791711014B26A7C8A317D445D11716BC7CEBB15795F955C9'
$file = Join-Path $env:TEMP 'HolyPHP-1.0.1-x64-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait