免互動安裝ImBox、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id ImBox.ImBox -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ImBox.ImBox -e --silentwinget uninstall --id ImBox.ImBox -e --silent依安裝檔
64位元 · EXE(NSIS) · 僅目前使用者
靜默安裝
"ImBox Setup 3.6.7.exe" /S自訂安裝資料夾
"ImBox Setup 3.6.7.exe" /S /D=C:\Apps\imbox- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\319e370e-b65d-51be-99cb-dd32cc470950
64位元 · EXE(NSIS) · 所有使用者
靜默安裝
"ImBox Setup 3.6.7.exe" /S自訂安裝資料夾
"ImBox Setup 3.6.7.exe" /S /D=C:\Apps\imbox- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\319e370e-b65d-51be-99cb-dd32cc470950
64位元 · MSI
靜默安裝
msiexec /i "ImBox 3.6.7.msi" /qn /norestart寫入記錄檔
msiexec /i "ImBox 3.6.7.msi" /qn /norestart /l*v "%TEMP%\imbox-install.log"解除安裝
msiexec /x {10BBC027-0231-42BA-BE0D-226883A2067D} /qn /norestart- MSI產品代碼
- {10BBC027-0231-42BA-BE0D-226883A2067D}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{10BBC027-0231-42BA-BE0D-226883A2067D}
- UpgradeCode
- {C16F3117-CE45-5C00-8402-1A0943A08320}
32位元 · EXE(NSIS) · 僅目前使用者
靜默安裝
"ImBox Setup 3.6.7.exe" /S自訂安裝資料夾
"ImBox Setup 3.6.7.exe" /S /D=C:\Apps\imbox- 解除安裝登錄機碼
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\319e370e-b65d-51be-99cb-dd32cc470950
32位元 · EXE(NSIS) · 所有使用者
靜默安裝
"ImBox Setup 3.6.7.exe" /S自訂安裝資料夾
"ImBox Setup 3.6.7.exe" /S /D=C:\Apps\imbox- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\319e370e-b65d-51be-99cb-dd32cc470950
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-imbox.ps1
$url = 'https://files.imbox.io/client/releases/ImBox%20Setup%203.6.7.exe'
$sha256 = '74324A78B6478385D118E4F4B56DED586A40ABEE1B462E15A0FF83F878FD5C0C'
$file = Join-Path $env:TEMP 'ImBox Setup 3.6.7.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 '/S' -Wait install-imbox.ps1
$url = 'https://files.imbox.io/client/releases/ImBox%20Setup%203.6.7.exe'
$sha256 = '74324A78B6478385D118E4F4B56DED586A40ABEE1B462E15A0FF83F878FD5C0C'
$file = Join-Path $env:TEMP 'ImBox Setup 3.6.7.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 '/S' -Wait install-imbox.ps1
$url = 'https://files.imbox.io/client/releases/ImBox%203.6.7.msi'
$sha256 = '560B395BF6FAC874845D603BB9462D8AAA95ED51BA3C2839E5EA3003CD11BD2E'
$file = Join-Path $env:TEMP 'ImBox 3.6.7.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-imbox.ps1
$url = 'https://files.imbox.io/client/releases/ImBox%20Setup%203.6.7.exe'
$sha256 = '74324A78B6478385D118E4F4B56DED586A40ABEE1B462E15A0FF83F878FD5C0C'
$file = Join-Path $env:TEMP 'ImBox Setup 3.6.7.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 '/S' -Wait install-imbox.ps1
$url = 'https://files.imbox.io/client/releases/ImBox%20Setup%203.6.7.exe'
$sha256 = '74324A78B6478385D118E4F4B56DED586A40ABEE1B462E15A0FF83F878FD5C0C'
$file = Join-Path $env:TEMP 'ImBox Setup 3.6.7.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 '/S' -Wait