我需要一个WIX Bootstrapper项目,该项目可以安装我的软件和必备软件 [英] I need a WIX Bootstrapper Project that installs MY software and prerequisites

查看:131
本文介绍了我需要一个WIX Bootstrapper项目,该项目可以安装我的软件和必备软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候!

我在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中,通过称为刻录"的工具来创建引导程序.刻录已推出到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

并在此处使用Bootstrapper清单生成器(尽管似乎存在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屋!

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