将自定义先决条件添加到Visual Studio设置项目 [英] Adding Custom prerequsites to visual studio setup project

查看:102
本文介绍了将自定义先决条件添加到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 Files \ Microsoft SDKs \ Windows \ v6.0A \ Bootstrapper \ Packages. 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 Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages. Visual studio will automatically pick it up.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆