Commands for installing MaxBackup 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 KellyElton.Max.Backup -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KellyElton.Max.Backup -e --silentwinget uninstall --id KellyElton.Max.Backup -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i Max.Installer.Package.msi /qn /norestartWrite a log
msiexec /i Max.Installer.Package.msi /qn /norestart /l*v "%TEMP%\maxbackup-install.log"Uninstall
msiexec /x {47FAB15F-1B78-4165-B73A-55AB59AB5A3B} /qn /norestart- MSI product code
- {47FAB15F-1B78-4165-B73A-55AB59AB5A3B}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{47FAB15F-1B78-4165-B73A-55AB59AB5A3B}
- UpgradeCode
- {45C08DE6-4C20-45BA-922D-24FE01D35B3C}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-maxbackup.ps1
$url = 'https://github.com/kellyelton/MaxBackup/releases/download/0.2.34/Max.Installer.Package.msi'
$sha256 = '62193A028C6B4C883FE5E2C5D9A3022E8FBE76FE4703BC6E9B174834F18ACEFF'
$file = Join-Path $env:TEMP 'Max.Installer.Package.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