免互動安裝Radarr、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id TeamRadarr.Radarr -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TeamRadarr.Radarr -e --silentwinget uninstall --id TeamRadarr.Radarr -e --silent依安裝檔
64位元 · EXE(Inno Setup) · 所有使用者 · en-US
靜默安裝
Radarr.master.6.0.4.10291.windows-core-x64-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
Radarr.master.6.0.4.10291.windows-core-x64-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\radarr"- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{56C1065D-3523-4025-B76D-6F73F67F7F82}_is1
- 安裝資料夾
- %ProgramData%\Radarr
32位元 · EXE(Inno Setup) · 所有使用者 · en-US
靜默安裝
Radarr.master.6.0.4.10291.windows-core-x86-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
Radarr.master.6.0.4.10291.windows-core-x86-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\radarr"- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{56C1065D-3523-4025-B76D-6F73F67F7F82}_is1
- 安裝資料夾
- %ProgramData%\Radarr
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-radarr.ps1
$url = 'https://github.com/Radarr/Radarr/releases/download/v6.0.4.10291/Radarr.master.6.0.4.10291.windows-core-x64-installer.exe'
$sha256 = 'C0CB8E177AF9662AE4C7043A878E8E3EA7EF6466F08F0555590ECD5B424BF925'
$file = Join-Path $env:TEMP 'Radarr.master.6.0.4.10291.windows-core-x64-installer.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-radarr.ps1
$url = 'https://github.com/Radarr/Radarr/releases/download/v6.0.4.10291/Radarr.master.6.0.4.10291.windows-core-x86-installer.exe'
$sha256 = '7BFEACDC6086CBB0B0AD41CA25F79B2CAE7D376308E0D50803FC668D97F0DB53'
$file = Join-Path $env:TEMP 'Radarr.master.6.0.4.10291.windows-core-x86-installer.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait