Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Multiple installers with single msi
 

Multiple installers with single msi

Hi,

We have 5 different installers for 3 web services and 2 web setups. We have to combine all to create a single msi.

What is the best wayto do so? I tried creating msm for each and then adding them to a msi but I want the option of conditionally selecting which msi to install also ( as in if i want only one web service and 2 windows services).

Plus the installer should be able to install both web and application setups.

Thanks in advance,

Apn85

Apn85  Friday, November 28, 2008 11:29 AM

Hi Apn85,

When you deploy a Windows Forms application, you can add more than one primary output to your setup project, this allow you to install multi-application from one MSI package. But even in this way, you can decide only one destination folder and the setup will install two or more application into it. This is the Windows Forms application deployment feature in Visual Studio.

Since there is some difference between Windows Forms application deployment and Web application deployment, you can contact Web application deployment on ASP.NET forums.

http://forums.asp.net/26.aspx

Sincerely,

Kira Qian

Kira Qian  Tuesday, December 02, 2008 1:56 AM

Hi Apn85,

I am sorry to say MSI doesn’t support to start another process during or after installation. In your situation, it is complicated to install more than application and services. Visual Studio is not suitable for that situation. So you may need to code by yourself to do these installation. Than you can design the installation interface whatever you want. When the user selected the module to be installed. You can do the files copy, register key in your code.

Sincerely,

Kira Qian

Kira Qian  Monday, December 01, 2008 8:17 AM

Hi Kira,

Thanks for the response.

I got a custom action which enables me to install the services along with the web application but my problem now is how i can use a single web setup to install more than one web application. Of course i want to be able to set each ones VirtualDirectory, Web Siteand Application pool as given by user during the installation.

Regards,

Apn85

Apn85  Monday, December 01, 2008 12:45 PM

Hi Apn85,

When you deploy a Windows Forms application, you can add more than one primary output to your setup project, this allow you to install multi-application from one MSI package. But even in this way, you can decide only one destination folder and the setup will install two or more application into it. This is the Windows Forms application deployment feature in Visual Studio.

Since there is some difference between Windows Forms application deployment and Web application deployment, you can contact Web application deployment on ASP.NET forums.

http://forums.asp.net/26.aspx

Sincerely,

Kira Qian

Kira Qian  Tuesday, December 02, 2008 1:56 AM
Hi Apn85

In your response I came to know you have the code to install the services from the custom action(Custom action which enables me to install the services along with the web application)
can you send me that sample.

mailid : surya-25@hotmail.com

Thanks & Regards
satish
surya25  Thursday, September 24, 2009 6:24 AM

You can use google to search for other answers

Custom Search

More Threads

• Deployed app cannot find .deploy files that do not exist
• How do I deploy an application?
• How to rollback based on user's input
• Using MS Build With ClickOnce - MS Build Error
• Secure public delpoyment website that uses ClickOnce
• NGen With Custom Actions
• serialization exception
• Need help with Click Once Deployment settings
• How do I pass and retreive command line arguments
• Restore to Previous State and Updates