Commands for installing VirtualGL-Utils 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 VirtualGL.VirtualGL -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id VirtualGL.VirtualGL -e --silentwinget uninstall --id VirtualGL.VirtualGL -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
download /SCustom folder
download /S /D=C:\Apps\virtualgl-utils- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VirtualGL-Utils-3.0.1-20220516
32-bit · EXE (NSIS)
Silent install
download /SCustom folder
download /S /D=C:\Apps\virtualgl-utils- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\VirtualGL-Utils-3.0.1-20220516
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-virtualgl-utils.ps1
$url = 'https://sourceforge.net/projects/virtualgl/files/3.0.1/VirtualGL-Utils-3.0.1-x64.exe/download'
$sha256 = 'C3C2CDD996E2ADEC88EC3C8259734D3F4EC4DF56B455AE082023EA97261F6A00'
$file = Join-Path $env:TEMP 'download'
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-virtualgl-utils.ps1
$url = 'https://sourceforge.net/projects/virtualgl/files/3.0.1/VirtualGL-Utils-3.0.1-x86.exe/download'
$sha256 = 'E4D2BBAC0FE1F0FF0E1E849473D83702D9877A5DCBA0DBAFDB7D2B65938E1F05'
$file = Join-Path $env:TEMP 'download'
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