Befehle, um Gitnado 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 hegsie.Gitnado -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id hegsie.Gitnado -e --silentwinget uninstall --id hegsie.Gitnado -e --silentNach Installer
64-Bit · EXE (NSIS) · Aktueller Benutzer · en-US
Stille Installation
Gitnado_0.9.1_x64-setup.exe /SEigener Ordner
Gitnado_0.9.1_x64-setup.exe /S /D=C:\Apps\gitnado- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gitnado
- Installationsordner
- %LocalAppData%\Gitnado
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i Gitnado_0.9.1_x64_en-US.msi /qn /norestartProtokoll schreiben
msiexec /i Gitnado_0.9.1_x64_en-US.msi /qn /norestart /l*v "%TEMP%\gitnado-install.log"Deinstallation
msiexec /x {6117787E-D2B2-4488-96D0-88463BBA10E7} /qn /norestart- MSI-Produktcode
- {6117787E-D2B2-4488-96D0-88463BBA10E7}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6117787E-D2B2-4488-96D0-88463BBA10E7}
- UpgradeCode
- {84C95AFF-09D5-5959-BE4D-927B1CC7FC1B}
- Installationsordner
- %ProgramFiles%\Gitnado
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-gitnado.ps1
$url = 'https://github.com/hegsie/gitnado/releases/download/v0.9.1/Gitnado_0.9.1_x64-setup.exe'
$sha256 = '386FE0A6279BB83B62328B07256D212FD6AA4F04C743DB49F55DF9383D0C9C79'
$file = Join-Path $env:TEMP 'Gitnado_0.9.1_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-gitnado.ps1
$url = 'https://github.com/hegsie/gitnado/releases/download/v0.9.1/Gitnado_0.9.1_x64_en-US.msi'
$sha256 = 'F55072BA95639235E3D63CB75E4614115C3D159C2E5E5C389D12AA81AF8D9C6D'
$file = Join-Path $env:TEMP 'Gitnado_0.9.1_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