为什么这么多程序都有一个setup.exe和一个setup.msi? [英] Why do so many programs have both a setup.exe and a setup.msi?

查看:127
本文介绍了为什么这么多程序都有一个setup.exe和一个setup.msi?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在想这个。许多应用程序设置都有一个压缩文件,您可以解压缩,并且它是一堆文件,其中包括一个exe和一个msi。有什么不同?它们通常甚至大致相同。我从来不会确定哪一个执行,有时候我执行exe,有​​时是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屋!

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