使用 wix 生成可执行文件 [英] Generating an executable using wix

查看:42
本文介绍了使用 wix 生成可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习 Wix,我想生成一个 setup.exe 文件而不是 setup.msi.

I am learning Wix and I want to generate a setup.exe file instead of a setup.msi.

这可能吗?

推荐答案

安装 EXE 通常被称为 bootstrapperchainer.WiX 3.5 将附带一个名为 burn.exe 的可执行文件,不幸的是,它仍在大量开发中.

A setup EXE is usually referred to as a bootstrapper or chainer. WiX 3.5 will ship with an executable called burn.exe, unfortunately this is still under heavy development.

如果您只是在使用没有附加逻辑的基本自解压 EXE,您可以将包含的 setupbld.exe 与 WiX 结合使用.然而,它非常有限,只包含最基本的功能.

If you're just after a basic self-extracting EXE with no additional logic you can use the included setupbld.exe with WiX. However it's pretty limited and only includes the most basic functionality.

或者,7-zip 包括从现有 MSI 创建 setup.exe 的基本功能.您需要先安装 SFXs for installers 插件.

Alternatively, 7-zip includes basic functionality for creating a setup.exe from an existing MSI. You will need to install the SFXs for installers addon first.

如果您需要额外的逻辑、依赖项检查等,那么有很多替代方案.我个人使用 IRMakeBootstrap,但在 wix-users 邮件列表中听说过关于 dotNetInstaller 的好消息.

If you're after additional logic, dependency checking, etc. there are loads of alternatives. Personally I use IRMakeBootstrap, but have heard very good things about dotNetInstaller on the wix-users mailing list.

  • dotNetInstaller
  • IRMakeBootstrap (Commercial product, licensed as part of MSI Factory)
  • Visual Studio Bootstrapper (Supports dependencies, not sure about self-extracting exe though)

这篇关于使用 wix 生成可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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