Commands for installing Gitnado without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
Gitnado_0.9.1_x64-setup.exe /SCustom folder
Gitnado_0.9.1_x64-setup.exe /S /D=C:\Apps\gitnado- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gitnado
- Install folder
- %LocalAppData%\Gitnado
64-bit · MSI · All users · en-US
Silent install
msiexec /i Gitnado_0.9.1_x64_en-US.msi /qn /norestartWrite a log
msiexec /i Gitnado_0.9.1_x64_en-US.msi /qn /norestart /l*v "%TEMP%\gitnado-install.log"Uninstall
msiexec /x {6117787E-D2B2-4488-96D0-88463BBA10E7} /qn /norestart- MSI product code
- {6117787E-D2B2-4488-96D0-88463BBA10E7}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6117787E-D2B2-4488-96D0-88463BBA10E7}
- UpgradeCode
- {84C95AFF-09D5-5959-BE4D-927B1CC7FC1B}
- Install folder
- %ProgramFiles%\Gitnado
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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