简体   繁体   中英

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? Why?

The most important thing to understand is that MSI is meant to be a benefit to customers not vendors. 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. 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.

Below are a few MSI benefits (taken from this link ):

  • 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.
  • Ability to rollback if an installation fails.

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

An MSI installer will typically accompanied by a setup.exe bootstrapper:

What are the specific differences between .msi and setup.exe file?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM