主安装完成后,Wix Installer运行msi

时间:2015-02-06 21:52:52

标签: wix

我需要运行我的安装程序然后一旦完成运行第三方msi。图这是一个足够简单的工作我相信我只是错过了一面旗帜。我的剧本出了什么问题;

<Binary Id="AnotherApp" SourceFile="C:\Install.msi"/>

<CustomAction Id="RunMSI" BinaryKey="AnotherApp" ExeCommand="" Execute='deferred' Return='asyncNoWait' Impersonate='no'/>
<InstallExecuteSequence>
  <Custom Action='RunMSI' Before='InstallFinalize' />
</InstallExecuteSequence>

我看到包含C:\ Install.msi是因为尺寸增加但它不会运行。

仅供参考我不想让任何用户界面运行install.msi

感谢

1 个答案:

答案 0 :(得分:3)

Windows Installer有一个互斥锁,可以防止这种情况发生。你想看一个bootstrapper / chainer。对于被称为&#34; Burn&#34;。

的WiX
相关问题