免互動安裝ADInstruments LabChart、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id ADInstruments.LabChart -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ADInstruments.LabChart -e --silentwinget uninstall --id ADInstruments.LabChart -e --silent依安裝檔
32位元 · MSI · 所有使用者 · en
靜默安裝
msiexec /i LabChart_8.1.31.msi /qn /norestart寫入記錄檔
msiexec /i LabChart_8.1.31.msi /qn /norestart /l*v "%TEMP%\adinstruments-labchart-install.log"解除安裝
msiexec /x {C6BA1D23-3614-493F-87AB-78CEC14D9932} /qn /norestart- MSI產品代碼
- {C6BA1D23-3614-493F-87AB-78CEC14D9932}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{C6BA1D23-3614-493F-87AB-78CEC14D9932}
- UpgradeCode
- {BEF9775D-0F79-4D84-83B3-E8C5EEE93655}
32位元 · MSI · 所有使用者 · ja
靜默安裝
msiexec /i LabChart_8.1.31(Japanese).msi /qn /norestart寫入記錄檔
msiexec /i LabChart_8.1.31(Japanese).msi /qn /norestart /l*v "%TEMP%\adinstruments-labchart-install.log"解除安裝
msiexec /x {34F4DEA7-2484-49CD-8A89-F5C2F387E526} /qn /norestart- MSI產品代碼
- {34F4DEA7-2484-49CD-8A89-F5C2F387E526}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{34F4DEA7-2484-49CD-8A89-F5C2F387E526}
- UpgradeCode
- {05732F39-9089-4E40-80B9-C160105EA25F}
32位元 · MSI · 所有使用者 · zh-Hans
靜默安裝
msiexec /i LabChart_8.1.31(Chinese).msi /qn /norestart寫入記錄檔
msiexec /i LabChart_8.1.31(Chinese).msi /qn /norestart /l*v "%TEMP%\adinstruments-labchart-install.log"解除安裝
msiexec /x {67A79F54-461E-4E91-8033-EA97F8099C3D} /qn /norestart- MSI產品代碼
- {67A79F54-461E-4E91-8033-EA97F8099C3D}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{67A79F54-461E-4E91-8033-EA97F8099C3D}
- UpgradeCode
- {A8295457-07A1-4174-8FB0-648B1AD51987}
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-adinstruments-labchart.ps1
$url = 'https://cdn.adinstruments.com/Installers/win/LabChart_8.1.31.msi'
$sha256 = '0FA81341C5379ECA6F59B1FDC841AED8E85EF85A13A97A524B0EDD5A93F414CD'
$file = Join-Path $env:TEMP 'LabChart_8.1.31.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-adinstruments-labchart.ps1
$url = 'https://cdn.adinstruments.com/Installers/win/LabChart_8.1.31(Japanese).msi'
$sha256 = '7ACFB8B055B9254818C9D3FB7A80ADE576313931CC79C7F3E7710A0ACA91E506'
$file = Join-Path $env:TEMP 'LabChart_8.1.31(Japanese).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-adinstruments-labchart.ps1
$url = 'https://cdn.adinstruments.com/Installers/win/LabChart_8.1.31(Chinese).msi'
$sha256 = '8304E97E0183F970B19EC86512577B0778DC40A73BE737EF8E1A3F60311D48C2'
$file = Join-Path $env:TEMP 'LabChart_8.1.31(Chinese).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