【发布时间】:2021-04-06 10:39:46
【问题描述】:
我正在使用 Wix Bootstrapper 创建一个 exe 安装程序。
在捆绑链中,我正在安装一些 exe 文件。
最后我想执行一个 PowerShell 脚本来做一些额外的任务。怎么可能
这是捆绑链,我已经提到了我想在哪里执行 PowerShell 脚本。
<Bundle Name="sample" Version="0.0.0.0" Manufacturer="$(var.Manufacturer)" UpgradeCode="fsfsddssdsdsd">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />
<Chain>
<ExePackage
SourceFile="something.exe"
InstallCommand="/install /quiet /norestart"
PerMachine="yes" >
</ExePackage>
<ExePackage
SourceFile="anything.exe"
InstallCommand="/install /quiet /norestart"
PerMachine="yes" >
</ExePackage>
**EXECUTE POWERSHELL SCRIPT HERE**
</Chain>
</Bundle>
提前感谢您的帮助
【问题讨论】:
标签: wix windows-installer wix3.5 bootstrapper wix3.7