Commands for installing Gource 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 acaudwell.Gource -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id acaudwell.Gource -e --silentwinget uninstall --id acaudwell.Gource -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
gource-0.53.win64-setup.exe /SCustom folder
gource-0.53.win64-setup.exe /S /D=C:\Apps\gource- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gource
64-bit · EXE (NSIS) · All users · en-US
Silent install
gource-0.53.win64-setup.exe /SCustom folder
gource-0.53.win64-setup.exe /S /D=C:\Apps\gource- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gource
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-gource.ps1
$url = 'https://github.com/acaudwell/Gource/releases/download/gource-0.53/gource-0.53.win64-setup.exe'
$sha256 = '41F105B348A932A5A4811945527EC686818F28B384E97455A0373075005D242D'
$file = Join-Path $env:TEMP 'gource-0.53.win64-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-gource.ps1
$url = 'https://github.com/acaudwell/Gource/releases/download/gource-0.53/gource-0.53.win64-setup.exe'
$sha256 = '41F105B348A932A5A4811945527EC686818F28B384E97455A0373075005D242D'
$file = Join-Path $env:TEMP 'gource-0.53.win64-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