简体   繁体   English

MSI安装程序相对于标准setup.exe有什么好处?

[英]What are the benefits of a MSI installer over a standard setup.exe?

If you need to install a 100% .NET product, should you prefer MSI installers? 如果您需要安装100%.NET产品,您是否应该更喜欢MSI安装程序? Why? 为什么?

The most important thing to understand is that MSI is meant to be a benefit to customers not vendors. 最重要的是要了解MSI对客户而不是供应商的好处。 The ability of a SysAdmin to be able to examine the MSI to know what it will do to their machine and the ability to transform/tailor said behavior to their unique needs is priceless. SysAdmin能够检查MSI以了解它将对其机器做什么以及将所述行为转换/定制为其独特需求的能力是无价的。 Add in the standardized logging, command line behavior, transactional nature and so on and you can begin to understand why (despite it's various limitations ) MSI is so valuable. 添加标准化日志记录,命令行行为,事务性质等等,您可以开始理解为什么(尽管有各种限制)MSI非常有价值。

Below are a few MSI benefits (taken from this link ): 以下是一些MSI的好处(取自此链接 ):

  • Can be advertised. 可以做广告。 So that on demand installation could take place. 因此可以按需安装。
  • Like advertisement, features can be installed as soon as the user tries to them. 与广告一样,只要用户尝试使用功能,就可以安装功能。
  • State management is maintained so Windows Installer provides an a way to let administrators see if an application is installed on a machine. 维护状态管理,以便Windows Installer提供一种方法,让管理员可以查看计算机上是否安装了应用程序。
  • Ability to rollback if an installation fails. 如果安装失败,则能够回滚。

如果应用程序将由管理员安装,将您的应用程序推送到许多计算机,或者如果它将作为更大安装的一部分包含在内,那么MSI可能会更好。

An MSI installer will typically accompanied by a setup.exe bootstrapper: MSI安装程序通常附带一个setup.exe引导程序:

What are the specific differences between .msi and setup.exe file? .msi和setup.exe文件有哪些具体区别?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 运行setup.exe时出现奇怪的MSI错误 - Strange MSI error when setup.exe is run Setup.exe根据区域设置调用msi - Setup.exe calling msi based on Regional setting .NET setup.exe项目并提示重新启动MSI标志 - .NET setup.exe project and promptrestart msi flag 在另一个安装程序中启动安装程序 (setup.exe),程序不会出现在已安装程序列表中 - Launching an installer (setup.exe) within another installer, program will not appear on installed programs list 在installscript MSI项目中启动setup.exe时如何自动进行安装.Net 4.5.2 - How to make install .Net 4.5.2 automatically when setup.exe starts in installscript msi project 从Setup.exe引导程序调用时如何确定MSI的返回码 - How to determine return code of MSI when it's called from Setup.exe bootstrapper 即使已预先安装Setup.exe,也需要安装先决条件 - Setup.exe installing prerequisites even if they are preinstalled clickonce中指向setup.exe的动态URL - Dynamic url to setup.exe in clickonce Visual Studio 2010是否可以通过客户端设置和部署MSI安装程序以用于.NET 4.0完整应用程序? - Can Visual Studio 2010 setup and deploy the MSI installer to work for .NET 4.0 full applications over client? 如何更改安装和部署项目中的setup.exe详细信息 - How to change the setup.exe details in setup & deployment project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM