如何为多个实例创建/从何处获取 Wix Bootstrapper [英] How to create/Where to get Wix Bootstrapper for Multiple Instances

查看:22
本文介绍了如何为多个实例创建/从何处获取 Wix Bootstrapper的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在学习如何使用 WiX 创建 msi 安装程序,但我似乎遇到了障碍.

I'm currently learning how to create msi installers using WiX and it seems I've hit a wall.

当我创建一个包含单个环境所需的一切的 MSI 时,一切都很好.

All is well when I create an MSI containing everything needed for a single environment.

我有功能和组件,可以安装我的 MSI.

I have features, and components, and can install my MSI.

现在我想在 SQL Server 风格的安装程序中转换它,在那里你有多个实例支持.

Now I'm at the stage where I want to convert this in a SQL Server-style installer, where you have multiple instances support.

一开始我想让用户得到一个屏幕,允许他创建一个新实例,或管理已经存在的实例.(更新/删除它们)

At the start I want to user to get a screen which allows him to create a new instance, or manage already existing instances. (to update/remove them)

我花了整整 2 天的时间到处寻找解决方案,但运气不佳.

I've spend 2 full days looking everywhere for a solution, without much luck.

我找到了以下资源,其中包含一些信息,但要么它们的实例数量有限,要么没有描述如何使用这样的引导程序来为用户提供上述选项.

I've found the following resources with some info on it, but either they're limited in the number of instances, or don't describe how to such a bootstrapper which gives a user the option described above.

有没有人已经使用 WiX 实现了这一目标?或者任何人都可以向我指出一些关于如何实现这一点的工作示例?

Has anyone achieved this already using WiX? Or can anyone point me towards some working examples on how this is achieved?

我知道 Installshield 2009 可以做到这一点,但由于这只是一种爱好,我没有钱购买.此外,我想在 WiX 中执行此操作,因为即将推出的 Visual Studio 2010 将改进对它的支持.

I know Installshield 2009 can do this, but since this is just a hobby, I don't have the money to buy that. Also I'd like to do it in WiX, since the upcoming Visual Studio 2010 will improve support for it.

推荐答案

使用 WiX v3 创建多个实例非常容易.您只需使用 InstanceTransform 和 Instance 元素来创建所有内容.现在,引导程序问题需要 WiX 工具集之外的东西,因为我们还没有刻录.我不确定我们会在 WiX v3.5(带有刻录)中获得此功能,但它在我们的刻录发布 v3.5 列表中.

Creating multiple instances is pretty easy with WiX v3. You just use the InstanceTransform and Instance elements to create everything. Now, the bootstrapper problem requires something outside of the WiX toolset since we don't have burn, yet. I'm not sure we'll get this functionality in WiX v3.5 (with burn) but it is on our list for burn post v3.5.

这篇关于如何为多个实例创建/从何处获取 Wix Bootstrapper的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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