免互動安裝WuTility、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Wiesemann-Theis.WuTility -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Wiesemann-Theis.WuTility -e --silentwinget uninstall --id Wiesemann-Theis.WuTility -e --silent依安裝檔
32位元 · MSI · 所有使用者 · de-DE
靜默安裝
msiexec /i e-5wwww-22-swde-490.msi /qn /norestart寫入記錄檔
msiexec /i e-5wwww-22-swde-490.msi /qn /norestart /l*v "%TEMP%\wutility-install.log"解除安裝
msiexec /x {693F0C9D-607D-4940-AADC-BDDC9EB21117} /qn /norestart- MSI產品代碼
- {693F0C9D-607D-4940-AADC-BDDC9EB21117}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{693F0C9D-607D-4940-AADC-BDDC9EB21117}
- UpgradeCode
- {9135F94F-BED0-45A6-B401-744C3FE2E5E3}
32位元 · MSI · 所有使用者 · en-US
靜默安裝
msiexec /i e-5wwww-22-swus-490.msi /qn /norestart寫入記錄檔
msiexec /i e-5wwww-22-swus-490.msi /qn /norestart /l*v "%TEMP%\wutility-install.log"解除安裝
msiexec /x {769828B9-A7CF-4A79-BA5B-EC951DA49F4B} /qn /norestart- MSI產品代碼
- {769828B9-A7CF-4A79-BA5B-EC951DA49F4B}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{769828B9-A7CF-4A79-BA5B-EC951DA49F4B}
- UpgradeCode
- {9135F94F-BED0-45A6-B401-744C3FE2E5E3}
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-wutility.ps1
$url = 'https://www.wut.de/download/tools/e-5wwww-22-swde-490.msi'
$sha256 = 'E2DFD551443F16C6E1F5D3B4CF603E72EAB40A16F38A3D5AA183A2ABA0396F21'
$file = Join-Path $env:TEMP 'e-5wwww-22-swde-490.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-wutility.ps1
$url = 'https://www.wut.de/download/tools/e-5wwww-22-swus-490.msi'
$sha256 = '14E87E75D743E140784C27AA05F4A7FF64EFF2364DD42E707690AD2B14E2B14C'
$file = Join-Path $env:TEMP 'e-5wwww-22-swus-490.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait