Commands for installing Master Packager Dev 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 MasterPackager.MasterPackagerDev -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MasterPackager.MasterPackagerDev -e --silentwinget uninstall --id MasterPackager.MasterPackagerDev -e --silentBy installer
64-bit · MSI
Silent install
msiexec /i mpdev_framework_dependent_x64_2.3.0.msi /qn /norestartWrite a log
msiexec /i mpdev_framework_dependent_x64_2.3.0.msi /qn /norestart /l*v "%TEMP%\master-packager-dev-install.log"Uninstall
msiexec /x {4359DB61-FB0E-4C7E-A782-D815818DED08} /qn /norestart- MSI product code
- {4359DB61-FB0E-4C7E-A782-D815818DED08}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4359DB61-FB0E-4C7E-A782-D815818DED08}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-master-packager-dev.ps1
$url = 'https://www.masterpackager.com/installer/dev/2.3.0/mpdev_framework_dependent_x64_2.3.0.msi'
$sha256 = 'AAB9AD8DB71C8ACB790C797E92FC7F457E6172E42EBC5A36B3F9C8D958E88D90'
$file = Join-Path $env:TEMP 'mpdev_framework_dependent_x64_2.3.0.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