在一个安装程序中合并exe和msi文件 [英] Combine exe and msi file in one installer

查看:347
本文介绍了在一个安装程序中合并exe和msi文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个安装文件:

  • Spyder.exe
  • Seupt.msi

我希望将这两个安装文件合并到一个安装文件中,以便可以在目标计算机中同时一个接一个地安装它.我尝试了NSIS,但它只是从安装文件中提取文件,但没有安装软件包. Inno Setup也做同样的事情.

I want these two setup file to be combined in one setup file so that it can be installed simultaneously one by one in target machine. I tried NSIS but it just extracts file from the setup file but didn't install the package. Same thing done by Inno Setup.

我的问题是如何制作一个可以将上述两个软件包提取并安装到另一台计算机上的安装程序?

推荐答案

分发范围? :不确定总体目标是什么: worldwide distribution corporate deployment ,或者究竟是什么 你在做什么.这对有意义的事情有重大影响 在解决方案方面.对于企业部署,甚至是批处理文件 可能很好.在大多数情况下,我会推荐 WiX Burn ( free capable maintained -

Distribution Scope?: Not sure what the overall goal is: worldwide distribution or corporate deployment, or what exactly it is that you are doing. This has major implications for what makes sense in terms of solutions. For corporate deployment even a batch file might be fine. In most cases I would recommend WiX Burn (free, capable, maintained - i.e security fixes).


批处理 (或PowerShell,ActiveScripting等):对于公司部署,可以使用简单的批处理文件,只是要指出一点.它甚至可以与SCCM之类的部署工具结合使用(当然,它还有许多其他方式可以部署事物).您也可以将批处理文件与下面的自解压存档工具结合使用.出于安全原因,我不喜欢使用某些东西. 静默安装MSI文件(命令行示例).

7-Zip-等 :此工具(以及类似的工具,例如 WinRAR )可以使运行的自解压存档提取命令.我已经看到很多人在使用这些工具时遇到问题,并且通常是安全的相关-或运行时相关性打h .

7-Zip - et al: This tool (and similar tools, such as WinRAR) can make self-extracting archives that run a command on extract. I have seen many people get problems with these tools, and often security related - or runtime dependency hiccups.

dotnetinstaller引导程序 :不我很了解的一些东西.这只是一个引导者.为您依次运行事物. 此处位于github.com(开源).当我尝试-简短-我发现它有点怪异.只想提一下.

dotnetinstaller bootstrapper: Not something I know much about. It is just a bootstrapper. Runs things in sequence for you. Here it is on github.com (open source). When I tried it - briefly - I found it a bit weird. Just want to mention it.

NSIS :如上面的Zett42所建议的.请注意,我已经看到带有恶意软件扫描程序的NSIS二进制文件存在问题(我报告时工具作者迅速采取了措施).通过 virustotal.com 运行最终产品以检查误报.这同样适用于所有其他工具.

NSIS: As suggested by Zett42 above. Note that I have seen problems with NSIS binaries with malware scanners (tool author took measures quickly when I reported it). Run the finished product by virustotal.com to check for false positives. This goes for all other tools as well though.

Inno :再次:不是我使用的工具,但应该能够执行您需要的操作.

Inno: Again: not a tool I use, but should be capable of doing what you need.

WiX Burn :这可能是最灵活,功能最强大的免费选项.商业工具将具有更多的易用性,但该框架应涵盖我认为的大多数用例.有点古怪-它很复杂而且功能强大. 在此处查看顶部彩色部分以获取WiX Burn的操作方法"链接 .

商业选项 :还有几种商业选项: 高级安装程序 (非常高级:有条件地安装前提条件), Installshield (

Commercial Options: And there are several commercial options: Advanced Installer (very advanced: conditional install of prerequisites), Installshield (screen shot of main view suite projects), etc...

某些链接 :

Some Links:

  • Error Creating a 7-zip installer package
  • How to create windows installer
  • Commonly Used Deployment Tools (MSI)

这篇关于在一个安装程序中合并exe和msi文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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