免互動安裝Makestar Admin CLI、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Makestar.MakestarAdminCLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Makestar.MakestarAdminCLI -e --silentwinget uninstall --id Makestar.MakestarAdminCLI -e --silent依安裝檔
64位元 · MSI · 僅目前使用者
靜默安裝
msiexec /i makestar-admin-windows-x86_64.msi /qn /norestart寫入記錄檔
msiexec /i makestar-admin-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\makestar-admin-cli-install.log"解除安裝
msiexec /x {5F0EA7E5-D125-56A4-917D-A205722C9B18} /qn /norestart- MSI產品代碼
- {5F0EA7E5-D125-56A4-917D-A205722C9B18}
- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5F0EA7E5-D125-56A4-917D-A205722C9B18}
- UpgradeCode
- {7F330121-BA4E-49EC-A9A3-13C94D3774F3}
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-makestar-admin-cli.ps1
$url = 'https://github.com/makestarlab/makestar-admin-cli-releases/releases/download/r2026.10.15/makestar-admin-windows-x86_64.msi'
$sha256 = '99119DF175B2B8DD1CF62F2D7E7746E5BC305CE1EDED8193C2A588CE0C7CEFDB'
$file = Join-Path $env:TEMP 'makestar-admin-windows-x86_64.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