Solved

how to launch msi from setup msi

Posted on 2006-06-20
7
599 Views
Last Modified: 2013-12-03
currently working on visual studio 2003 setup and deployment project, building an installer. My question is, when the installer(msi) is running, how can i launch another proxy application (msi)? The sequence is:
Launch installer-> installer call a few other msi -> installation continue -> finish installation.
Some says its not possible in VS 03, is there any solution? I heard VS 05 have something call "bootstrapper", will that solve my problem? I need solution in DETAIL, i'm a newbie. Thank you.
0
Comment
Question by:chpchew
7 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 16943408
The easiest solution would IMHO be to

ShellExecute(NULL,"open","c:\\path\\anotherinstaller.msi",NULL,NULL,SW_SHOW);
0
 

Author Comment

by:chpchew
ID: 16947630
Sir,
   Thank you for your effort, but your solution did not solve my problem. Please kindly review my question carefully. My problem is, i cant run another msi while there is a msi is running. The solution i need is on how to run "multiple" msi in a time. As far as i know, this features is not supported.
  Your solution can only launch the msi once after the previous msi is done. I need to launch the proxy app(msi) before the installer(msi) finished.

Thank you.
0
 
LVL 19

Expert Comment

by:mrwad99
ID: 16979578
I actually thought that was possible, until I read the following link:

http://www.eggheadcafe.com/aspnet_answers/NETFrameworksetup/Jan2006/post25817266.asp

0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:chpchew
ID: 16980619
thx mrwad99, i've seen this post before. However, i still believe there is someway to do what i'm trying to do right now. Hopefully i can get someone help me solve my problem soon enough.
0
 
LVL 19

Expert Comment

by:mrwad99
ID: 16982710
You cannot have two instances of msiexec running at the same time.  The OS will just not allow it.  It is as simple as that.

You may find http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/concurrent_installations.asp interesting also.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 17047170
Closed, 400 points refunded.

GhostMod
Community Support Moderator
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question