Visual Studio 安装项目:将先决条件捆绑到一个安装程序中
创建 Visual Studio 安装项目时,是否可以将 MSI 文件和 setup.exe 捆绑到一个可执行文件中?我知道 setup.exe 会检查先决条件,然后运行 MSI 文件。主要目标是简化安装过程,以便用户只需下载并运行一个可执行文件。
关于如何去做这件事有什么想法吗?
When creating a Visual Studio setup project, is it possible to bundle the MSI file and setup.exe into one executable? I know the setup.exe checks for prerequisites and then runs the MSI file afterwards. The main goal is to simplify the installation process so the user only has to download and run one executable.
Any idea on how to go about doing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一些开发人员为此使用 zip 类型的程序。基本上,您将 setup.exe、先决条件和 MSI 添加到自解压 exe 中,该 exe 将在解压所有内容后运行 setup.exe。我认为 IExpress 以及 WinZip 等 3rd 方工具都会做到这一点。
其他安装创作工具有自己的引导程序,可以包含所有安装文件。
Some developers use a zip-type program for this. Basically you add the setup.exe, prerequisites and MSI into a self-extracting exe that will run setup.exe after it unpackes everything. I think IExpress will do this, as well as 3rd party tools like WinZip.
Other setup authoring tools have their own bootstrappers which can include all the installation files.