为什么这么多程序都有一个setup.exe和一个setup.msi? [英] Why do so many programs have both a setup.exe and a setup.msi?
问题描述
不知道这应该是在这里还是在ServerFault,或者也可能没有,但是我认为,因为开发人员通常是创建安装文件的那些,那么开发人员可能会知道为什么这样就像is = =
你有两个exe和msi的情况,exe只是一个装载器的msi。如果您有一个支持多种语言的安装,那么在安装之前,exe会在msi上应用语言转换(mst)。
您可以将exe视为围绕msi的包装。 msi文件可能单独提供也可能不会。人们给msi文件的原因是为了方便安装组策略(在Windows Active Directory基础架构中),因为您只能按下msi文件而不是exes的安装。
I have always wondered about this. So many application setups have a zip file that you unzip, and in it are a bunch of files, among other things an exe and an msi. What is the difference? They are often even about the same size. I am never really sure which one to execute, sometimes I do the exe and sometimes the msi, and it usually works with either one. But does one of them do anything that the other doesn't do? And if not, isn't it kind of a waste having two files that does the same thing? Especially when thinking about download size, etc...
Not sure if this should be here or on ServerFault, or maybe neither, but I figured since developers usually are the ones creating setup files, then developers might know why this is like it is =)
In the case where you have both exe and the msi the exe is just a loader for the msi. If you have an installation supporting multiple languages then the exe applies a language transform (mst) on the msi before installing.
You can consider the exe as a wrapper around the msi. The msi file may or may not be given separately. The reason why people give the msi file too is to facilitate a group policy installation (in a Windows Active Directory infrastructure) as you can only push down installations of msi files and not exes.
这篇关于为什么这么多程序都有一个setup.exe和一个setup.msi?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!