本文介绍了将自定义先决条件添加到 Visual Studio 设置项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个安装项目,我需要安装默认先决条件列表中没有的可再发行组件.是否可以将此可再发行组件添加到安装项目创建的引导程序中?

I have a setup project that I need to install a redistributable that is not available in the default prerequisite list. Is it possible to add this redistributable to the bootstrapper that the setup project creates?

推荐答案

我想出了如何将自定义先决条件添加到 Visual Studio 先决条件对话框中.
MSDN 是一篇关于创建先决条件的好文章.基本上你只需要创建一个产品清单和一个包清单,将它们与你的可分发文件一起复制到:Program FilesMicrosoft SDKsWindowsv6.0ABootstrapperPackages.Visual Studio 会自动选取.

I figured out how to add Custom Prerequisites to the Visual Studio prerequisites dialog box.
MSDN as a good article on creating the prerequisite.Basically you just have to create a product manifest and a package manifest, copy them along with your distributable file to : Program FilesMicrosoft SDKsWindowsv6.0ABootstrapperPackages. Visual studio will automatically pick it up.

这篇关于将自定义先决条件添加到 Visual Studio 设置项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 06:07