Ordres per instal·lar XTester Studio 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 Elinesoft.XTester -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Elinesoft.XTester -e --silentwinget uninstall --id Elinesoft.XTester -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
XTester-Studio-1.0.0-alpha.7-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
XTester-Studio-1.0.0-alpha.7-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\xtester-studio"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26171DA4-14EE-48C4-9B48-4E2166FCB806}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-xtester-studio.ps1
$url = 'https://github.com/79231232393/XTester-releases/releases/download/v1.0.0-alpha.7/XTester-Studio-1.0.0-alpha.7-windows-x64-setup.exe'
$sha256 = 'C68CDBD28DB4CFC00AB5A6AFCDD385D8A7E622DD8A61C8639B72E7096E68BB03'
$file = Join-Path $env:TEMP 'XTester-Studio-1.0.0-alpha.7-windows-x64-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait