自定义先决条件 [英] Custom prerequisites
问题描述
我使用 Visual Studio 2010 成功创建了安装文件,但现在我需要包含第三方软件,该软件应该与我的安装文件一起安装,并且还需要在安装前检查供应商机器上是否已经存在该软件,然后进行安装.任何人都可以帮我吗??
I created the setup file using Visual Studio 2010 successfully, but now I need to include third party software and this software should be installed with my setup file and also need to check before installation if it is exists already on vendors machine if not, then do the installation. Can any help me of this??
推荐答案
这可能是一个好的开始:引导程序 链接.也看看这个如何创建引导程序包 link2
This could be a good start : the bootstrapper link. Also look at this for the how to of creating bootstrapper package link2
您可以在此处下载引导程序表单.它适用于 VS 2010,但您需要手动将生成的文件移动到新的引导程序位置(在我的情况下,64 位 Windows 7,C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages).
You can download the bootstrapper form here. And it will work for VS 2010, but you need to manually move the generated files to the new bootstrapper location (in my case, 64-bit Windows 7, C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages).
如果您打开了 VS,则必须重新启动它,以便您的先决条件显示在列表中.
If you have VS open, you will have to restart it in order for your prerequisite to show up in the list.
这篇关于自定义先决条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!