Commands for installing RustGIS 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 OpenGeos.RustGIS -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenGeos.RustGIS -e --silentwinget uninstall --id OpenGeos.RustGIS -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
RustGIS-0.5.0-windows-x86_64-setup.exe /SCustom folder
RustGIS-0.5.0-windows-x86_64-setup.exe /S /D=C:\Apps\rustgis- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RustGIS
- Install folder
- %LocalAppData%\Programs\RustGIS
- DisplayVersion
- 0.5.0
64-bit · MSI · All users · en-US
Silent install
msiexec /i RustGIS-0.5.0-windows-x86_64.msi /qn /norestartWrite a log
msiexec /i RustGIS-0.5.0-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\rustgis-install.log"Uninstall
msiexec /x {5566B7EF-62AE-4269-A788-35FA5EF274C2} /qn /norestart- MSI product code
- {5566B7EF-62AE-4269-A788-35FA5EF274C2}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5566B7EF-62AE-4269-A788-35FA5EF274C2}
- UpgradeCode
- {B8624035-B7AF-41E7-BCAC-7C59DE885053}
- Install folder
- %ProgramFiles%/RustGIS
- DisplayVersion
- 0.5.0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-rustgis.ps1
$url = 'https://github.com/opengeos/RustGIS/releases/download/v0.5.0/RustGIS-0.5.0-windows-x86_64-setup.exe'
$sha256 = '864F29D32D936D7D19B403044A3B4D6E9D3A6CA8F2BC6BDB42F1028A8EF94C66'
$file = Join-Path $env:TEMP 'RustGIS-0.5.0-windows-x86_64-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-rustgis.ps1
$url = 'https://github.com/opengeos/RustGIS/releases/download/v0.5.0/RustGIS-0.5.0-windows-x86_64.msi'
$sha256 = 'FBE650DD78851FFF686397A9DE3AA0938A9F9844AB7BCD13F573558DC3015504'
$file = Join-Path $env:TEMP 'RustGIS-0.5.0-windows-x86_64.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