What are the benefits of a MSI installer over a st

2019-04-04 18:04发布

If you need to install a 100% .NET product, should you prefer MSI installers? Why?

4条回答
We Are One
2楼-- · 2019-04-04 18:24

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

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

查看更多
在下西门庆
3楼-- · 2019-04-04 18:35

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.
查看更多
一夜七次
4楼-- · 2019-04-04 18:36

If the application will be installed by admins pushing your app out to lots of computers or if it'll be included as part of a bigger installation, then a MSI might be better.

查看更多
等我变得足够好
5楼-- · 2019-04-04 18:37

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.

查看更多
登录 后发表回答