SetUp.exe 文件对于部署包来说是唯一的吗?
今天有人在文件移动失败后问我这个问题,我不知道该告诉他们什么。
当您构建 .NET 部署包时,您将获得 setup.exe 和 .msi 文件。 我知道需要 .msi 文件...但是对于 setup.exe,这是唯一的吗? 意思是,我们可以只移动 .msi 文件就可以了吗,还是需要将两者放在一起?
Someone asked me this today after a failed file move, and I was not sure what to tell them.
When you build a .NET deployment package you get the setup.exe and the .msi files. I know that the .msi file is needed... but for the setup.exe, is that unique? Meaning, can we just move the .msi file and be fine, or do we need to keep the two together?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Setup.exe 包含 .NET 引导程序,它将检查目标计算机上是否存在 .NET 框架。 Windows Vista/7 也使用它在安装过程中强制执行管理员权限。
如果您所处的环境已经具备 .NET 框架,或者您不需要自动 UAC 利用,那么您可能可以跳过 .exe。
The Setup.exe contains the .NET bootstrapper that will check for the presence of the .NET framework on your target machine. It also is used by Windows Vista/7 to enforce admin right during the install.
If you are in an environment that you'll know already have the .NET framework in place, or you don't need the automatic UAC leveraging, you could probably skip the .exe.