Ordres per instal·lar Tracetool 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 Tracetool.Tracetool -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Tracetool.Tracetool -e --silentwinget uninstall --id Tracetool.Tracetool -e --silentPer instal·lador
64 bits · EXE (Inno Setup)
Instal·lació silenciosa
Setup64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Setup64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\tracetool"32 bits · EXE (Inno Setup)
Instal·lació silenciosa
Setup32.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Setup32.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\tracetool"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-tracetool.ps1
$url = 'https://github.com/capslock66/Tracetool/releases/download/VIEWER_15_0/Setup64.exe'
$sha256 = '500C30E57D5F0EA9590AD13D1E9E49A6EC789EC7925F3C7194747DCD9374E7AF'
$file = Join-Path $env:TEMP 'Setup64.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 install-tracetool.ps1
$url = 'https://github.com/capslock66/Tracetool/releases/download/VIEWER_15_0/Setup32.exe'
$sha256 = '239D026B66CE8CCAF5260580AD5B6BE0F7CFD9AD4AFD201056C080448CC89D6E'
$file = Join-Path $env:TEMP 'Setup32.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