熱門: 資料更新於2026年12月5日

軟體分類

網路軟體1,448
通訊社群332
影音軟體953
繪圖與影像578
辦公軟體1,202
開發工具3,332
AI工具629
安全與隱私419
系統工具3,239
遊戲552
教育與科學246
網路與IT298

WiX Toolset Command-Line Tools靜默安裝與解除安裝參數

Command-line tools for WiX Toolset

免互動安裝WiX Toolset Command-Line Tools、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。

相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式

使用winget

PowerShell
winget install --id WiXToolset.WiXCLI -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id WiXToolset.WiXCLI -e --silent
winget uninstall --id WiXToolset.WiXCLI -e --silent

依安裝檔

64位元 · MSI · 所有使用者

靜默安裝msiexec /i wix-cli-x64.msi /qn /norestart
寫入記錄檔msiexec /i wix-cli-x64.msi /qn /norestart /l*v "%TEMP%\wix-toolset-command-line-tools-install.log"
解除安裝msiexec /x {9C03C98E-E311-4089-85C3-953259120122} /qn /norestart
MSI產品代碼
{9C03C98E-E311-4089-85C3-953259120122}
解除安裝登錄機碼
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9C03C98E-E311-4089-85C3-953259120122}
UpgradeCode
{3BA538C0-CCFA-55CC-8001-896D7D1B2FAB}

PowerShell:下載、驗證、安裝

下載官方檔案,驗證SHA256後靜默安裝。

install-wix-toolset-command-line-tools.ps1
$url = 'https://github.com/wixtoolset/wix/releases/download/v7.0.1/wix-cli-x64.msi'
$sha256 = '93673C89AB33B1FD3F07AD5E609B7CAE694BD716B2914259B61A41C02303B64C'
$file = Join-Path $env:TEMP 'wix-cli-x64.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