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

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

问题描述

我一直想知道这个问题.许多应用程序设置都有一个 zip 文件供您解压缩,其中包含一堆文件,其中包括 exe 和 msi.有什么区别?它们甚至通常大小相同.我从来不确定要执行哪一个,有时我执行 exe,有​​时执行 msi,它通常适用于任何一个.但是他们中的一个会做其他人没有做的事情吗?如果没有,有两个文件做同样的事情是不是有点浪费?尤其是在考虑下载大小等时...

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...

不确定这应该在此处还是在 ServerFault 上,或者两者都不应该,但我想既然开发人员通常是创建安装文件的人,那么开发人员可能知道为什么会这样 =)

推荐答案

如果您同时拥有 exe 和 msi,则 exe 只是 msi 的加载程序.如果您的安装支持多种语言,则 exe 会在安装前在 msi 上应用语言转换 (mst).

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.

您可以将 exe 视为 msi 的包装器.msi 文件可能会也可能不会单独提供.人们也提供 msi 文件的原因是为了促进组策略安装(在 Windows Active Directory 基础结构中),因为您只能下推 msi 文件的安装,而不能下推 exe.

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天全站免登陆