Ordres per instal·lar deviceTRUST Client Extension 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 deviceTRUST.deviceTRUSTClientExtension -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id deviceTRUST.deviceTRUSTClientExtension -e --silentwinget uninstall --id deviceTRUST.deviceTRUSTClientExtension -e --silentPer instal·lador
64 bits · EXE (WiX Burn) · Tots els usuaris
Instal·lació silenciosa
dtclient-extension-release-23.1.400.0.exe /quiet /norestartDesinstal·lar
msiexec /x {48FFCC45-AF77-49D5-BF7C-CF71F5E649C2} /qn /norestart- Codi de producte MSI
- {48ffcc45-af77-49d5-bf7c-cf71f5e649c2}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{48ffcc45-af77-49d5-bf7c-cf71f5e649c2}
- UpgradeCode
- {6CBFB5AA-79A5-4D17-979F-413E4DD253BA}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-devicetrust-client-extension.ps1
$url = 'https://storage.devicetrust.com/client/dtclient-extension-release-23.1.400.0.exe'
$sha256 = '3341659E1ED7AD321B11E6F913118C82A74D6912365C21861F98984254426133'
$file = Join-Path $env:TEMP 'dtclient-extension-release-23.1.400.0.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 '/quiet /norestart' -Wait