Ordres per instal·lar TrguiNG sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i TrguiNG_1.5.1_x64_en-US.msi /qn /norestartDesar un registre
msiexec /i TrguiNG_1.5.1_x64_en-US.msi /qn /norestart /l*v "%TEMP%\trguing-install.log"Desinstal·lar
msiexec /x {8CAF311C-82A2-4F5D-A27E-CFC139E67D32} /qn /norestart- Codi de producte MSI
- {8CAF311C-82A2-4F5D-A27E-CFC139E67D32}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8CAF311C-82A2-4F5D-A27E-CFC139E67D32}
- UpgradeCode
- {6F4ACBE1-EAE2-5F15-B989-AA75D977D886}
- Carpeta d’instal·lació
- %ProgramFiles%\TrguiNG
ARM64 · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i TrguiNG_1.5.1_arm64_en-US.msi /qn /norestartDesar un registre
msiexec /i TrguiNG_1.5.1_arm64_en-US.msi /qn /norestart /l*v "%TEMP%\trguing-install.log"Desinstal·lar
msiexec /x {8CAF311C-82A2-4F5D-A27E-CFC139E67D32} /qn /norestart- Codi de producte MSI
- {8CAF311C-82A2-4F5D-A27E-CFC139E67D32}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8CAF311C-82A2-4F5D-A27E-CFC139E67D32}
- UpgradeCode
- {6F4ACBE1-EAE2-5F15-B989-AA75D977D886}
- Carpeta d’instal·lació
- %ProgramFiles%\TrguiNG
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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