Commands for installing WinProgramSuite 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 NalleBerg.WinProgramSuite -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NalleBerg.WinProgramSuite -e --silentwinget uninstall --id NalleBerg.WinProgramSuite -e --silentBy installer
64-bit · MSI
Silent install
msiexec /i WinProgramSuiteSetup2006.03.26.07.msi /qn /norestartWrite a log
msiexec /i WinProgramSuiteSetup2006.03.26.07.msi /qn /norestart /l*v "%TEMP%\winprogramsuite-install.log"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-winprogramsuite.ps1
$url = 'https://prog.nalle.no/user/data/apps/WinProgramSuiteSetup2006.03.26.07.msi'
$sha256 = 'FA45431D4ECBCDF6BEC342025C0485DC902047D0B9987FCB6B5CDD08EBBE8A71'
$file = Join-Path $env:TEMP 'WinProgramSuiteSetup2006.03.26.07.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait