Solved

how to launch msi from setup msi

Posted on 2006-06-20
7
593 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

862 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now