免互動安裝OfficeIMO Studio、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id EvotecIT.OfficeIMO.Studio -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id EvotecIT.OfficeIMO.Studio -e --silentwinget uninstall --id EvotecIT.OfficeIMO.Studio -e --silent依安裝檔
64位元 · MSI · 所有使用者
靜默安裝
msiexec /i OfficeIMO-Studio-0.1.9767-win-x64.msi /qn /norestart寫入記錄檔
msiexec /i OfficeIMO-Studio-0.1.9767-win-x64.msi /qn /norestart /l*v "%TEMP%\officeimo-studio-install.log"解除安裝
msiexec /x {BF9CE84B-12E1-4BD5-B60C-90C57716BDB2} /qn /norestart- MSI產品代碼
- {BF9CE84B-12E1-4BD5-B60C-90C57716BDB2}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BF9CE84B-12E1-4BD5-B60C-90C57716BDB2}
- UpgradeCode
- {C54BB967-362B-48C3-937E-CCBCDD1EA390}
ARM64 · MSI · 所有使用者
靜默安裝
msiexec /i OfficeIMO-Studio-0.1.9767-win-arm64.msi /qn /norestart寫入記錄檔
msiexec /i OfficeIMO-Studio-0.1.9767-win-arm64.msi /qn /norestart /l*v "%TEMP%\officeimo-studio-install.log"解除安裝
msiexec /x {12B4AC52-3218-4711-AC0B-5C8CC2E9A2B3} /qn /norestart- MSI產品代碼
- {12B4AC52-3218-4711-AC0B-5C8CC2E9A2B3}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{12B4AC52-3218-4711-AC0B-5C8CC2E9A2B3}
- UpgradeCode
- {C54BB967-362B-48C3-937E-CCBCDD1EA390}
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-officeimo-studio.ps1
$url = 'https://github.com/EvotecIT/OfficeIMO/releases/download/Studio-v0.1.9767/OfficeIMO-Studio-0.1.9767-win-x64.msi'
$sha256 = '094928E41737619B4DD4A7A2A1F692DB74351FB46F00EAD82F064E3250DFCA51'
$file = Join-Path $env:TEMP 'OfficeIMO-Studio-0.1.9767-win-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-officeimo-studio.ps1
$url = 'https://github.com/EvotecIT/OfficeIMO/releases/download/Studio-v0.1.9767/OfficeIMO-Studio-0.1.9767-win-arm64.msi'
$sha256 = '1C5CF38D16540255C6E93D4EA555E47AC574A740F92589A126CB32B169F13947'
$file = Join-Path $env:TEMP 'OfficeIMO-Studio-0.1.9767-win-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