2015-02-06 201 views
0

我需要运行安装程序,然后运行第三方msi。图这将是一个简单的工作,我相信我只是缺少一个标志。我的剧本有什么问题;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,因为它增加了大小,但它不会运行。

仅供参考,我不希望任何UI只是有它运行install.msi

感谢

回答

3

Windows安装程序有一个互斥体,防止这种情况的可能的。你想看看一个引导程序/ chainer。对于称为“烧伤”的WiX。