Ordres per instal·lar Gauntlet 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 Exidex.Gauntlet -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Exidex.Gauntlet -e --silentwinget uninstall --id Exidex.Gauntlet -e --silentPer instal·lador
64 bits · MSI · en-US
Instal·lació silenciosa
msiexec /i gauntlet-x86_64-windows.msi /qn /norestartDesar un registre
msiexec /i gauntlet-x86_64-windows.msi /qn /norestart /l*v "%TEMP%\gauntlet-install.log"Desinstal·lar
msiexec /x {E40AFA97-BAA3-49BB-B7F4-791CFF8A1C90} /qn /norestart- Codi de producte MSI
- {E40AFA97-BAA3-49BB-B7F4-791CFF8A1C90}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E40AFA97-BAA3-49BB-B7F4-791CFF8A1C90}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-gauntlet.ps1
$url = 'https://github.com/project-gauntlet/gauntlet/releases/download/v21/gauntlet-x86_64-windows.msi'
$sha256 = '5BC3EBD850D61DFBBE0C4CCF8CFF9B03CF23D2F9A00BDCF0F65B454400B8CCED'
$file = Join-Path $env:TEMP 'gauntlet-x86_64-windows.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