用于免交互安装Excel Parser Processor、卸载以及在部署工具中检测安装状态的命令。只列出确定可用的命令:来自清单文件,或来自安装程序技术的官方默认参数。
相关教程: 静默安装参数大全:MSI、NSIS、Inno Setup · 用注册表或PowerShell卸载程序
使用winget
PowerShell
winget install --id btargac.excel-parser-processor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id btargac.excel-parser-processor -e --silentwinget uninstall --id btargac.excel-parser-processor -e --silent按安装包
64位 · EXE(NSIS) · 仅当前用户
静默安装
Excel-Parser-Processor-Web-Setup-1.3.1.exe /S自定义安装目录
Excel-Parser-Processor-Web-Setup-1.3.1.exe /S /D=C:\Apps\excel-parser-processorPowerShell:下载、校验、安装
下载官方文件,校验SHA256后静默安装。
install-excel-parser-processor.ps1
$url = 'https://github.com/btargac/excel-parser-processor/releases/download/v1.3.1/Excel-Parser-Processor-Web-Setup-1.3.1.exe'
$sha256 = '0FC485AEEBCF92E6034D85E9F996B9BBBEF1B30D0AE94341A666BC5E95F37310'
$file = Join-Path $env:TEMP 'Excel-Parser-Processor-Web-Setup-1.3.1.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