Befehle, um Multipass ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Canonical.Multipass -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Canonical.Multipass -e --silentwinget uninstall --id Canonical.Multipass -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i multipass-1.16.4+win-win64.msi /qn /norestartProtokoll schreiben
msiexec /i multipass-1.16.4+win-win64.msi /qn /norestart /l*v "%TEMP%\multipass-install.log"Deinstallation
msiexec /x {A7AD2F65-C450-4440-9AD9-59591C1AA15E} /qn /norestart- MSI-Produktcode
- {A7AD2F65-C450-4440-9AD9-59591C1AA15E}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A7AD2F65-C450-4440-9AD9-59591C1AA15E}
- UpgradeCode
- {FAEBC626-1491-49BB-8162-22B1684013D9}
- Installationsordner
- %ProgramFiles%/Multipass
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-multipass.ps1
$url = 'https://github.com/canonical/multipass/releases/download/v1.16.4/multipass-1.16.4+win-win64.msi'
$sha256 = 'B0C417FB8254FA61E4AA63895F59354BB3717C58100816651A9300DD98124AEA'
$file = Join-Path $env:TEMP 'multipass-1.16.4+win-win64.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