用于免交互安装Flowgorithm、卸载以及在部署工具中检测安装状态的命令。只列出确定可用的命令:来自清单文件,或来自安装程序技术的官方默认参数。
相关教程: 静默安装参数大全:MSI、NSIS、Inno Setup · 用注册表或PowerShell卸载程序
使用winget
PowerShell
winget install --id DevinCook.Flowgorithm -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DevinCook.Flowgorithm -e --silentwinget uninstall --id DevinCook.Flowgorithm -e --silent按安装包
32位 · ZIP
无需安装(绿色版)
32位 · ZIP
静默安装
msiexec /i Flowgorithm-Setup.zip /qn /norestart卸载
msiexec /x {EA9DDEFB-655C-4FEC-9BF4-91DDBCE23C8D} /qn /norestart- MSI产品代码
- {EA9DDEFB-655C-4FEC-9BF4-91DDBCE23C8D}
- 卸载注册表项
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{EA9DDEFB-655C-4FEC-9BF4-91DDBCE23C8D}
- UpgradeCode
- {666565F3-AEB8-45B8-A453-E5576392BCB2}
PowerShell:下载、校验、安装
下载官方文件,校验SHA256后静默安装。
install-flowgorithm.ps1
$url = 'http://flowgorithm.org/download/files/Flowgorithm-Setup.zip'
$sha256 = 'EF6D3A813F4408157590613877F03686CF0A3F2621391A4DA905A7568C0AD765'
$file = Join-Path $env:TEMP 'Flowgorithm-Setup.zip'
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