从多个安装程序和我的代码项目创建单个MSI文件。 [英] Creating single MSI file from multiple installers and my code project.

查看:101
本文介绍了从多个安装程序和我的代码项目创建单个MSI文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All

I have multiple installers along with my application where in I want to bundle all of them to one single setup file. When user wants to install the software, I would like to make sure all installers install first before installing my application files. 

Using MS Visual studio Installer project, I have tried to do this but failed to create a single setup file.

Request you to guide me or provide some pointers on how I can do this.

Best Regards
Sudhakar





我尝试了什么:



我尝试使用默认的MS Visual Studio Installer项目。



认为通过批处理执行这些安装程序文件。但是对我来说不起作用。



我也想使用自定义动作(认为它可能是正确的选择),但不知道如何使用它。 br />


所以需要帮助。



What I have tried:

I was trying with default MS Visual Studio Installer project.

thought to execute these installers through batch file. But did not work for me.

Also I wanted to use custom actions (thought it could be right bet), but don't know how to use it.

So need help on this.

推荐答案

Visual Studio安装程序项目有点简单,不会做你想做的事。



实际上,每个安装人员都不会这样做。您可以获得的是第三方安装技术,如Wix,它可以将您的所有prereq应用程序安装程序捆绑到一个安装程序可执行文件中。启动时,该可执行文件会将所有安装程序解压缩到TEMP文件夹,启动每个安装程序以安装先决条件,然后安装应用程序。
The Visual Studio installer project is a bit simplistic and will not do what you want.

Actually, every installer won't do this. What you CAN get is a 3rd party installation technology, like Wix, that can bundle all of your prereq app installers together into a single setup executable. When launched, that executable will unpack all of the installers to a TEMP folder, launch each installer to install your prereq's, then install your application.


我使用wix bootstrapper项目捆绑多个msi包。非常好用 - 我可以推荐它。



只需下载wix - 它是免费的: WiX Toolset [ ^ ]



它带有VS Extensions,因此您可以选择一些新的Project类型。只需创建一个新的Bootstrapper项目并完成您在wix网站上找到的教程/文档。
I use wix bootstrapper Projects to bundle mutltiple msi-packages. Very easy to use - I can recommend it.

Just download wix - it's free: WiX Toolset[^]

It Comes with VS Extensions so you have some new Project-types to select. Just create a new Bootstrapper Project and work through the tutorial/documentation you find on wix Website.


这篇关于从多个安装程序和我的代码项目创建单个MSI文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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