Befehle, um ojo 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 colibrisec.ojo -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id colibrisec.ojo -e --silentwinget uninstall --id colibrisec.ojo -e --silentNach Installer
64-Bit · MSI · Alle Benutzer · und
Stille Installation
msiexec /i ojo_v0.2.4_windows_amd64.msi /qn /norestartProtokoll schreiben
msiexec /i ojo_v0.2.4_windows_amd64.msi /qn /norestart /l*v "%TEMP%\ojo-install.log"Deinstallation
msiexec /x {C13A7270-8289-43C5-85D7-2D661ACFB2A7} /qn /norestart- MSI-Produktcode
- {C13A7270-8289-43C5-85D7-2D661ACFB2A7}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C13A7270-8289-43C5-85D7-2D661ACFB2A7}
- UpgradeCode
- {1AD7D5F9-BF28-420A-95ED-5E6BF0977439}
- Installationsordner
- %ProgramFiles%/ojo
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-ojo.ps1
$url = 'https://github.com/colibrisec/ojo/releases/download/v0.2.4/ojo_v0.2.4_windows_amd64.msi'
$sha256 = '6D52DB4B4DF34DBD782C30CBE1C36D5E0B81A3416CD8B7D16E19A1E5BF027189'
$file = Join-Path $env:TEMP 'ojo_v0.2.4_windows_amd64.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