Befehle, um OttoRice 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 GuiOttoni.OttoRice -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GuiOttoni.OttoRice -e --silentwinget uninstall --id GuiOttoni.OttoRice -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Aktueller Benutzer
Stille Installation
OttoRice-Setup-1.0.7.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
OttoRice-Setup-1.0.7.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ottorice"- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\9F3D2C71-5B84-4E0A-8D6C-2A7E4F1B93C4_is1
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-ottorice.ps1
$url = 'https://github.com/GuiOttoni/ottorice/releases/download/v1.0.7/OttoRice-Setup-1.0.7.exe'
$sha256 = '0664E6CD9C47D51B6BBD8BAB67578DF9DC378C21DE6206C7CA0EF580F05F4784'
$file = Join-Path $env:TEMP 'OttoRice-Setup-1.0.7.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait