Commands for installing mnml 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 ChrisMcLennan.mnml -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ChrisMcLennan.mnml -e --silentwinget uninstall --id ChrisMcLennan.mnml -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i mnml-x86_64-pc-windows-gnu.msi /qn /norestartWrite a log
msiexec /i mnml-x86_64-pc-windows-gnu.msi /qn /norestart /l*v "%TEMP%\mnml-install.log"Uninstall
msiexec /x {FFB99016-E36A-4FD9-A045-66ECEFEEE099} /qn /norestart- MSI product code
- {FFB99016-E36A-4FD9-A045-66ECEFEEE099}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FFB99016-E36A-4FD9-A045-66ECEFEEE099}
- UpgradeCode
- {21DB6B89-F8E6-4078-B123-3A6FEAEECD56}
- Install folder
- %ProgramFiles%/mnml
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-mnml.ps1
$url = 'https://github.com/chris-mclennan/mnml/releases/download/v0.3.5/mnml-x86_64-pc-windows-gnu.msi'
$sha256 = 'F1EDB902BE80B8AF9AE697DAD4FEDFA5995B3B8C29A8102C915653EA4F04E0BC'
$file = Join-Path $env:TEMP 'mnml-x86_64-pc-windows-gnu.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