Commands for installing TrguiNG 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 OpenScopeProject.TrguiNG -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenScopeProject.TrguiNG -e --silentwinget uninstall --id OpenScopeProject.TrguiNG -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i TrguiNG_1.5.1_x64_en-US.msi /qn /norestartWrite a log
msiexec /i TrguiNG_1.5.1_x64_en-US.msi /qn /norestart /l*v "%TEMP%\trguing-install.log"Uninstall
msiexec /x {8CAF311C-82A2-4F5D-A27E-CFC139E67D32} /qn /norestart- MSI product code
- {8CAF311C-82A2-4F5D-A27E-CFC139E67D32}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8CAF311C-82A2-4F5D-A27E-CFC139E67D32}
- UpgradeCode
- {6F4ACBE1-EAE2-5F15-B989-AA75D977D886}
- Install folder
- %ProgramFiles%\TrguiNG
ARM64 · MSI · All users · en-US
Silent install
msiexec /i TrguiNG_1.5.1_arm64_en-US.msi /qn /norestartWrite a log
msiexec /i TrguiNG_1.5.1_arm64_en-US.msi /qn /norestart /l*v "%TEMP%\trguing-install.log"Uninstall
msiexec /x {8CAF311C-82A2-4F5D-A27E-CFC139E67D32} /qn /norestart- MSI product code
- {8CAF311C-82A2-4F5D-A27E-CFC139E67D32}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8CAF311C-82A2-4F5D-A27E-CFC139E67D32}
- UpgradeCode
- {6F4ACBE1-EAE2-5F15-B989-AA75D977D886}
- Install folder
- %ProgramFiles%\TrguiNG
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-trguing.ps1
$url = 'https://github.com/openscopeproject/TrguiNG/releases/download/v1.5.1/TrguiNG_1.5.1_x64_en-US.msi'
$sha256 = 'A07893ABD598612F8D0F94123F08DF1A3D8F3FE7128FF6136E8CF5FB530B1525'
$file = Join-Path $env:TEMP 'TrguiNG_1.5.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 install-trguing.ps1
$url = 'https://github.com/openscopeproject/TrguiNG/releases/download/v1.5.1/TrguiNG_1.5.1_arm64_en-US.msi'
$sha256 = 'E25129456991FABFADB88974804BF8568825B696188B0945AC0868718D82BE20'
$file = Join-Path $env:TEMP 'TrguiNG_1.5.1_arm64_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