Solved

how to launch msi from setup msi

Posted on 2006-06-20
7
601 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

726 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