免互動安裝SysManage Server、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id sysmanage.sysmanage -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id sysmanage.sysmanage -e --silentwinget uninstall --id sysmanage.sysmanage -e --silent依安裝檔
64位元 · MSI · 所有使用者 · en-US
靜默安裝
msiexec /i sysmanage-3.12.0.3-windows-x64.msi /qn /norestart寫入記錄檔
msiexec /i sysmanage-3.12.0.3-windows-x64.msi /qn /norestart /l*v "%TEMP%\sysmanage-server-install.log"解除安裝
msiexec /x {F128ED73-1264-44B1-8F85-0926A059F652} /qn /norestart- MSI產品代碼
- {F128ED73-1264-44B1-8F85-0926A059F652}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F128ED73-1264-44B1-8F85-0926A059F652}
- UpgradeCode
- {F1E2D3C4-B5A6-4D7C-9E8F-1A2B3C4D5E6F}
- DisplayVersion
- 3.12.0.3
ARM64 · MSI · 所有使用者 · en-US
靜默安裝
msiexec /i sysmanage-3.12.0.3-windows-arm64.msi /qn /norestart寫入記錄檔
msiexec /i sysmanage-3.12.0.3-windows-arm64.msi /qn /norestart /l*v "%TEMP%\sysmanage-server-install.log"解除安裝
msiexec /x {7998CDA0-E8F5-45FD-BBF0-06C3F8CDD0E8} /qn /norestart- MSI產品代碼
- {7998CDA0-E8F5-45FD-BBF0-06C3F8CDD0E8}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7998CDA0-E8F5-45FD-BBF0-06C3F8CDD0E8}
- UpgradeCode
- {F1E2D3C4-B5A6-4D7C-9E8F-1A2B3C4D5E6F}
- DisplayVersion
- 3.12.0.3
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-sysmanage-server.ps1
$url = 'https://github.com/bceverly/sysmanage/releases/download/v3.12.0.3/sysmanage-3.12.0.3-windows-x64.msi'
$sha256 = '91084AB63B4595A0CD9A0D0FCF7366EE516560DA3DFD4CCF5F1EDAFC79A5C857'
$file = Join-Path $env:TEMP 'sysmanage-3.12.0.3-windows-x64.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-sysmanage-server.ps1
$url = 'https://github.com/bceverly/sysmanage/releases/download/v3.12.0.3/sysmanage-3.12.0.3-windows-arm64.msi'
$sha256 = '9E9E060DD6D94A08305572B0B1BC0C722A9C2F8AC30D68BD14C8F5B5FD9AFCD8'
$file = Join-Path $env:TEMP 'sysmanage-3.12.0.3-windows-arm64.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