免互動安裝RODECaster App、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id RODE.RODECasterApp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RODE.RODECasterApp -e --silentwinget uninstall --id RODE.RODECasterApp -e --silent依安裝檔
64位元 · ZIP · 所有使用者 · en-GB
靜默安裝
msiexec /i RODECaster_App_WIN.zip /qn /norestart解除安裝
msiexec /x {725119D6-B228-4C8E-9E8F-54A87394628D} /qn /norestart- MSI產品代碼
- {725119D6-B228-4C8E-9E8F-54A87394628D}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{725119D6-B228-4C8E-9E8F-54A87394628D}
- UpgradeCode
- {8FC06FC1-EEDB-49C8-AE91-4ED32173C214}
- 安裝資料夾
- APPDIR:.
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-rodecaster-app.ps1
$url = 'https://update.rode.com/rc-app/RODECaster_App_WIN.zip'
$sha256 = '4BE1433B1107A263688B69CE3C0C45A3602F56D19BEBB2D7A0D76EF4E4072563'
$file = Join-Path $env:TEMP 'RODECaster_App_WIN.zip'
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