EXE 在 Visual Studio 安装项目输出中做什么 [英] What does the EXE do in the Visual Studio setup project output

查看:21
本文介绍了EXE 在 Visual Studio 安装项目输出中做什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在 Visual Studio 2005 中开发一个 winforms 应用程序,我们创建的安装项目同时输出 MSI 和 EXE.我们不确定 EXE 文件的用途,因为我们可以在没有 EXE 的情况下进行安装.

We are working on a winforms app in Visual Studio 2005 and the setup project we created output both an MSI and an EXE. We aren't sure what the EXE file is used for because we are able to install without the EXE.

推荐答案

这是一个引导程序,用于在启动 MSI 之前检查以确保 .NET Framework 已安装.挺好用的.

It's a bootstrapper that checks to make sure that the .NET Framework is installed, before launching the MSI. It's pretty handy.

我建议使用 SFX Compiler 之类的东西将两者打包成一个自解压 .exe,然后启动解压的 setup.exe.这样您就可以保留引导程序的优势,但您的用户只下载一个东西.

I suggest using something like SFX Compiler to package the two together into one self-extracting .exe and then launch the extracted setup.exe. This way you retain the benefits of the bootstrapper, but your users only download a single thing.

编辑:另见

这篇关于EXE 在 Visual Studio 安装项目输出中做什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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