Befehle, um Harbor 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 IvanCharapanau.Harbor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id IvanCharapanau.Harbor -e --silentwinget uninstall --id IvanCharapanau.Harbor -e --silentNach Installer
64-Bit · EXE (NSIS) · Aktueller Benutzer
Stille Installation
Harbor_0.5.17_x64-setup.exe /SEigener Ordner
Harbor_0.5.17_x64-setup.exe /S /D=C:\Apps\harbor- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Harbor
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i Harbor_0.5.17_x64_en-US.msi /qn /norestartProtokoll schreiben
msiexec /i Harbor_0.5.17_x64_en-US.msi /qn /norestart /l*v "%TEMP%\harbor-install.log"Deinstallation
msiexec /x {116E5E14-59F1-4AE9-BCEF-62C63ED5E493} /qn /norestart- MSI-Produktcode
- {116E5E14-59F1-4AE9-BCEF-62C63ED5E493}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{116E5E14-59F1-4AE9-BCEF-62C63ED5E493}
- UpgradeCode
- {8389C8AD-7952-5AB4-B907-63255087F027}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-harbor.ps1
$url = 'https://github.com/av/harbor/releases/download/v0.5.17/Harbor_0.5.17_x64-setup.exe'
$sha256 = '279FDE755F46F8790488E1B47EED330EBC9CF5EA1CC219FF0F3D2C9B4C2E8D07'
$file = Join-Path $env:TEMP 'Harbor_0.5.17_x64-setup.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 '/S' -Wait install-harbor.ps1
$url = 'https://github.com/av/harbor/releases/download/v0.5.17/Harbor_0.5.17_x64_en-US.msi'
$sha256 = '058CC240A3A8E81AD747370B6264E6F50DDF2188B9A27CF818DDF6E2BF9C3B5B'
$file = Join-Path $env:TEMP 'Harbor_0.5.17_x64_en-US.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