向 VS2008 的安装项目选项添加先决条件/依赖项? [英] Add prerequisites/dependencies to VS2008's Setup Project options?

查看:91
本文介绍了向 VS2008 的安装项目选项添加先决条件/依赖项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS2008 的安装项目有一些内置的先决条件(例如 .NETfx 版本、VSTO、PowerPacks),您可以简单地检查它们以让引导程序确保它们已安装.但是,您可能想要添加的其他依赖项如何处理,例如 SQL Native Client(仅作为 MSI 提供,而不作为合并模块提供)或用于 .NET 的 ODBC 数据提供程序?

VS2008's Setup Projects have a handful of built-in prerequisites (e.g. .NETfx version, VSTO, PowerPacks) which you can simply check off to have the bootstrapper ensure they are installed. But what about other dependencies you might want to add, like the SQL Native Client (only available as an MSI, not as merge modules) or the ODBC Data Provider for .NET?

是否可以将这些依赖项添加到 Windows Installer 安装项目中?

Is there a way I can add these dependencies to a Windows Installer Setup Project?

M$ 提供了几个较新的引导程序包,可以从 http 下载://msdn.microsoft.com/en-us/vstudio/bb898654.aspx -- 但在这种情况下当然不是我需要的.

M$ has provided a couple newer bootstrapper packages that can be downloaded from http://msdn.microsoft.com/en-us/vstudio/bb898654.aspx -- but of course not what I need in this case.

所以看起来选项是:

  • 尝试使用 SDK 的 bootstrapper\packages 文件夹中已有的示例创建我自己的引导程序包
  • 向 MSI 添加自定义操作或类似操作以检查依赖项的 GUID(但如何?)

推荐答案

我在 创作自定义引导程序包.(另一个例子这里.)

我还发现了一个名为 Bootstrapper Manifest Generator 的程序(下载a> | 更多信息),但我还没有尝试过——因为我自己手工制作的似乎工作正常.

I also found a program called the Bootstrapper Manifest Generator (download | more info), but I have not tried it yet--since my own hand-made ones seem to be working alright.

这篇关于向 VS2008 的安装项目选项添加先决条件/依赖项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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