Generating an executable using wix

試著忘記壹切 提交于 2019-11-29 09:02:39

问题


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

Is that possible?


回答1:


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.

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.

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.

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)


来源:https://stackoverflow.com/questions/2046320/generating-an-executable-using-wix

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!