Commands for installing PortableApps.com Platform 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 PortableApps.PortableAppsPlatform -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PortableApps.PortableAppsPlatform -e --silentwinget uninstall --id PortableApps.PortableAppsPlatform -e --silentBy installer
32-bit · EXE
Silent install
download /SPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-portableapps-com-platform.ps1
$url = 'https://sourceforge.net/projects/portableapps/files/PortableApps.com%20Platform/PortableApps.com_Platform_Setup_30.2.paf.exe/download'
$sha256 = '9177095BD47C61F499A66AAE104AED424F848C470EDBB9FDC6BD3BD0D6F319D3'
$file = Join-Path $env:TEMP 'download'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait