Executable files to MSI installer

跟風遠走 提交于 2019-12-04 06:53:12

问题


I have a folder that includes two EXE files and a lot of other files. How do I turn that into an MSI installer or some kind of self extracting installer so that it installs Main.exe to Programs in Windows. The second EXE file is because of communication between the two EXE files.

And I would prefer if it could include the "Shortcut to desktop" feature and doesn't require a license.

The EXE files aren't setup files already I think. They are Python scripts changed to EXE files.
This is the folder I want to turn into an MSI / Installer of some kind:


回答1:


So I got what I was looking for and it was right in front of me the whole time. You an create a self-extracting (sfx) executable file in WinRAR which has ALL of the features I need.




回答2:


This is a very common question. I'll just link to some existing answers:

  • How to create windows installer - new and "short version" of deployment tools overview. I would recommend this one as a "quick read".
  • What installation product to use? InstallShield, WiX, Wise, Advanced Installer, etc - older, more comprehensive summary of deployment tools and their different strengths and snags - no claim to be "right", but "best effort" to help people get their software to end users.

Advanced Installer (further info) and Installshield (further info) are commercial options with nice GUIs for MSI creation - both with some free features / editions as well. And there is PACE Suite - another commercial product. WiX is free and XML-based, with a learning curve. Integration available in Visual Studio for all (most?) products.

And there are further tools as linked to by Phil above and also linked to in my answers above - some of which are not MSI-based, but create legacy setup.exe style setups (Inno, NSIS, etc...).


Some Further Links:

  • Wrap C# application in .msi installer (brief section on VS Installer Projects - a Visual Studio feature that can't really be recommended - but it is free)
  • Windows service NOT shown in add remove programs under control panel
  • How do Installation Software Programs Extract Files?
  • how to create a wix bootstrapper application that runs self extracting exe as an exepackage


来源:https://stackoverflow.com/questions/50881613/executable-files-to-msi-installer

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