我需要一个安装我的软件和先决条件的 WIX Bootstrapper 项目 [英] I need a WIX Bootstrapper Project that installs MY software and prerequisites
问题描述
您好!
我在 VS2010 中有一个解决方案,它定义了 3-4 个单独的应用程序.
I have a solution in VS2010 that defines 3-4 individual applications.
这 3-4 个应用程序是单独的(但相关的)组件,我需要在部署期间单独安装在我们的生产服务器上.我玩弄了使用 WIX mondo 来生成一个多功能 WIX 安装程序,但发现允许这些应用程序能够单独安装以及通过单一来源为所有应用程序安装会更有益,最好可配置为在安装过程中选择要安装的.
These 3-4 apps are individual (but related) components that I need to have individually installed on our production servers during deployment. I toyed with using WIX mondo to generate a multi-feature WIX installer, but found that it would be more beneficial to allow that these applications be able to be installed individually as well as via a single-source for all of them, preferably configurable to choose which to install during an installation.
我注意到有一个名为Bootstrapper Project"的 WIX 项目类型,但我在 Web 上找不到很多关于它的文档,并且不知道它是否是一个真正能帮助我创建部署安装引导程序的项目类型对于我的项目.(即一个 setup.exe 文件,它将一个接一个地安装安装程序中定义的每个项目,或者在运行时通过安装程序可选地选择)...
I noticed that there is a WIX project type called "Bootstrapper Project" but I cannot find much documentation around it on the web, and do not know if it is a project type that will actually assist me in creating a deployment installation bootstrapper for my projects. (i.e. a setup.exe file that will install, one after the other, each project as either defined in the installer, or optionally selectable via the installer as it runs)...
在 WIX 中使用预先存在的 WIX 安装程序为单个程序执行此操作的最佳方法是什么?
what is the best method to do this within WIX, using pre-existing WIX installers for individual programs?
推荐答案
在 Wix 中,创建引导程序的支持是通过一个名为Burn"的工具.Burn 已推出 v4.0(或 3.6 版).所以这没什么帮助.
In Wix, the support to create a bootstrapper is through a tool called "Burn". Burn has been pushed out to v4.0 (or version 3.6). So that isn't much help.
您可以使用像 dotNetInstaller 这样的开源工具:http://dotnetinstaller.codeplex.com/
You can use an open source tool like dotNetInstaller: http://dotnetinstaller.codeplex.com/
这里概述了如何创建检查 .NET Framework 的安装程序(它本身并不是很有用,但向您展示了如何使用 dotNetInstaller):
http://www.lostechies.com/博客/gabrielschenker/archive/2010/05/19/creating-a-bootstrapper-with-dotnetinstaller.aspx
Here is an overview on how to create a setup installer that checks for the .NET Framework (which in and of itself is not very useful, but shows you how to work with dotNetInstaller):
http://www.lostechies.com/blogs/gabrielschenker/archive/2010/05/19/creating-a-bootstrapper-with-dotnetinstaller.aspx
或者您可以按照此处的说明进行操作:http://msdn.microsoft.com/en-us/library/ms165429(v=VS.100).aspx
Or you can follow the instructions here: http://msdn.microsoft.com/en-us/library/ms165429(v=VS.100).aspx
并在此处使用引导程序清单生成器(尽管似乎存在 64 位问题):http://code.msdn.microsoft.com/bmg
And use the Bootstrapper Manifest Generator here (although there appear to be 64-bit issues): http://code.msdn.microsoft.com/bmg
这篇关于我需要一个安装我的软件和先决条件的 WIX Bootstrapper 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!