免互動安裝MindManager、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Corel.MindManager.23 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Corel.MindManager.23 -e --silentwinget uninstall --id Corel.MindManager.23 -e --silent依安裝檔
64位元 · EXE · 所有使用者
靜默安裝
MindManager23_setup.exe /S /v/qn64位元 · ZIP · 所有使用者
靜默安裝
msiexec /i MindManager_64bit_23.2.209_Admin.zip /qn /norestart解除安裝
msiexec /x {EBE3CC1D-70E2-4D43-8507-94E05706FE39} /qn /norestart- MSI產品代碼
- {EBE3CC1D-70E2-4D43-8507-94E05706FE39}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EBE3CC1D-70E2-4D43-8507-94E05706FE39}
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-mindmanager.ps1
$url = 'https://dwnld.mindjet.com/stubs/Release/MindManager23/MindManager23_setup.exe'
$sha256 = 'FE72182FE1B285A9E2FAF76648BFB906BBE6348940A88891AF1ADAFCF1D6DB46'
$file = Join-Path $env:TEMP 'MindManager23_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 '/S /v/qn' -Wait install-mindmanager.ps1
$url = 'https://download.mindjet.com/MindManager_64bit_23.2.209_Admin.zip'
$sha256 = 'D66B4F7D5A53AF6335A09EF4D276E3D71908C514205003AA15CD10A57A5B297F'
$file = Join-Path $env:TEMP 'MindManager_64bit_23.2.209_Admin.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