免互動安裝Drivers Cloud、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Cybelsoft.DriversCloud -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Cybelsoft.DriversCloud -e --silentwinget uninstall --id Cybelsoft.DriversCloud -e --silent依安裝檔
64位元 · EXE
靜默安裝
DriversCloudx64_12_0_30.exe /exenoui /qn32位元 · EXE
靜默安裝
DriversCloud_12_0_30.exe /exenoui /qnPowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-drivers-cloud.ps1
$url = 'https://dcdrivers.driverscloud.com/applis/DriversCloudx64_12_0_30.exe'
$sha256 = '11E3EB3FAA83DCE1AD9EC8B4A5C03BFD8B7E803A998880060FF25287EBE9E800'
$file = Join-Path $env:TEMP 'DriversCloudx64_12_0_30.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 '/exenoui /qn' -Wait install-drivers-cloud.ps1
$url = 'https://dcdrivers.driverscloud.com/applis/DriversCloud_12_0_30.exe'
$sha256 = '028828393C6EFA931C1FED8C0D48A8EFA5951B0FFF49F3F41A31F619CFE4EF94'
$file = Join-Path $env:TEMP 'DriversCloud_12_0_30.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 '/exenoui /qn' -Wait