?
Solved

how to launch msi from setup msi

Posted on 2006-06-20
7
Medium Priority
?
604 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

764 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