免互動安裝BIMvision、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Datacomp.BIMvision -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Datacomp.BIMvision -e --silentwinget uninstall --id Datacomp.BIMvision -e --silent依安裝檔
64位元 · EXE(Inno Setup) · 所有使用者
靜默安裝
"BIMvision 3.2.1 Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
"BIMvision 3.2.1 Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\bimvision"- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EE63675D-6935-4797-A594-14F755975422}_is1
- 安裝資料夾
- %ProgramFiles(x86)%\Datacomp\BIM Vision
32位元 · EXE(Inno Setup) · 所有使用者
靜默安裝
"BIMvision 3.2.1 Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
"BIMvision 3.2.1 Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\bimvision"- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{EE63675D-6935-4797-A594-14F755975422}_is1
- 安裝資料夾
- %ProgramFiles(x86)%\Datacomp\BIM Vision
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-bimvision.ps1
$url = 'https://download-datacomp.com.pl/bimvision/setup/BIMvision%203.2.1%20Setup.exe'
$sha256 = 'BA6454D2009FBA47D7EBDA647511E7AD9EA6A4E8F38D22B8199C59BF5C068C5F'
$file = Join-Path $env:TEMP 'BIMvision 3.2.1 Setup.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-bimvision.ps1
$url = 'https://download-datacomp.com.pl/bimvision/setup/BIMvision%203.2.1%20Setup.exe'
$sha256 = 'BA6454D2009FBA47D7EBDA647511E7AD9EA6A4E8F38D22B8199C59BF5C068C5F'
$file = Join-Path $env:TEMP 'BIMvision 3.2.1 Setup.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