Solved

how to launch msi from setup msi

Posted on 2006-06-20
7
591 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

757 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

21 Experts available now in Live!

Get 1:1 Help Now