免互動安裝Striata Reader、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Doxim.StriataReader -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Doxim.StriataReader -e --silentwinget uninstall --id Doxim.StriataReader -e --silent依安裝檔
64位元 · MSI · 所有使用者
靜默安裝
msiexec /i striata-reader.msi /qn /norestart寫入記錄檔
msiexec /i striata-reader.msi /qn /norestart /l*v "%TEMP%\striata-reader-install.log"解除安裝
msiexec /x {CFC1F733-928E-4E24-8716-36605481E758} /qn /norestart- MSI產品代碼
- {CFC1F733-928E-4E24-8716-36605481E758}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CFC1F733-928E-4E24-8716-36605481E758}
- UpgradeCode
- {F1786DEA-FBA0-433F-B1C4-E92FB33E6360}
32位元 · MSI · 所有使用者
靜默安裝
msiexec /i striata-reader.msi /qn /norestart寫入記錄檔
msiexec /i striata-reader.msi /qn /norestart /l*v "%TEMP%\striata-reader-install.log"解除安裝
msiexec /x {CFC1F733-928E-4E24-8716-36605481E758} /qn /norestart- MSI產品代碼
- {CFC1F733-928E-4E24-8716-36605481E758}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{CFC1F733-928E-4E24-8716-36605481E758}
- UpgradeCode
- {F1786DEA-FBA0-433F-B1C4-E92FB33E6360}
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-striata-reader.ps1
$url = 'https://reader.striata.com/downloads/Windows/64bit/striata-reader.msi'
$sha256 = '67EA980B7C0E20111E296BF9D9B86E55AF64A74C4AE5A3B4C48B397B02715EBD'
$file = Join-Path $env:TEMP 'striata-reader.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-striata-reader.ps1
$url = 'https://reader.striata.com/downloads/Windows/32bit/striata-reader.msi'
$sha256 = 'DD86916E863F4D05AECD02D4C4C4986A96316B573F88584A68146AF727D52561'
$file = Join-Path $env:TEMP 'striata-reader.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