免互動安裝FLEXOPTIX App、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Flexoptix.FlexoptixApp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Flexoptix.FlexoptixApp -e --silentwinget uninstall --id Flexoptix.FlexoptixApp -e --silent依安裝檔
64位元 · EXE(NSIS) · 僅目前使用者
靜默安裝
"FLEXOPTIX App Setup 5.69.0-latest.exe" /S自訂安裝資料夾
"FLEXOPTIX App Setup 5.69.0-latest.exe" /S /D=C:\Apps\flexoptix-app- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e409dab6-8856-5d3a-86eb-726101f00dea
64位元 · EXE(NSIS) · 所有使用者
靜默安裝
"FLEXOPTIX App Setup 5.69.0-latest.exe" /S自訂安裝資料夾
"FLEXOPTIX App Setup 5.69.0-latest.exe" /S /D=C:\Apps\flexoptix-app- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e409dab6-8856-5d3a-86eb-726101f00dea
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-flexoptix-app.ps1
$url = 'https://flexbox.reconfigure.me/download/electron/win/x64/FLEXOPTIX%20App%20Setup%205.69.0-latest.exe'
$sha256 = '8EB3D08330FDA81D97CD9BD807EB1CC50FE959F4C515E0FF551CFA10F8F8B0B6'
$file = Join-Path $env:TEMP 'FLEXOPTIX App Setup 5.69.0-latest.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-flexoptix-app.ps1
$url = 'https://flexbox.reconfigure.me/download/electron/win/x64/FLEXOPTIX%20App%20Setup%205.69.0-latest.exe'
$sha256 = '8EB3D08330FDA81D97CD9BD807EB1CC50FE959F4C515E0FF551CFA10F8F8B0B6'
$file = Join-Path $env:TEMP 'FLEXOPTIX App Setup 5.69.0-latest.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait