如何将第三方安装与当前安装程序集成在wix中?

问题描述:

我想在wix中安装visual C++ 2013和我的安装程序。 为我使用自定义安装像如何将第三方安装与当前安装程序集成在wix中?

<Binary Id="vcredist_x862013.exe" SourceFile="D:\Projects\vcredist_x862013.exe"/> 
<CustomAction Id="Launchvc2013" BinaryKey="vcredist_x862013.exe" ExeCommand="" Execute='deferred' Return='asyncNoWait' Impersonate='no'/> 
<InstallExecuteSequence> 
     <Custom Action='Launchvc2013' Before='InstallFinalize'>NOT Installed AND NOT REMOVE</Custom> 
</InstallExecuteSequence> 

目前,如果用户安装或安装didnt作为vc2013安装的安装将继续的一部分。

是否可以这样做,如果用户取消visual C++ installtion,设置应该失败?

是的,有可能你需要使用bootstrapper。

使用由希思斯图尔特this blog让你开始。