Kommandon för att installera deviceTRUST Client Extension utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 installationsfil
64-bitars · EXE (WiX Burn) · Alla användare
Tyst installation
dtclient-extension-release-23.1.400.0.exe /quiet /norestartAvinstallation
msiexec /x {48FFCC45-AF77-49D5-BF7C-CF71F5E649C2} /qn /norestart- MSI-produktkod
- {48ffcc45-af77-49d5-bf7c-cf71f5e649c2}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{48ffcc45-af77-49d5-bf7c-cf71f5e649c2}
- UpgradeCode
- {6CBFB5AA-79A5-4D17-979F-413E4DD253BA}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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