473,698 Members | 2,923 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

best way to do a concurrent installation

i've got an app that needs to install a named instance of SQL Express. VS
2005 allows me to specify required components for my setup project, but
named instances of SQL Express isn't supported. so, my main setup MSI needs
to execute the SQL Express MSI (a concurrent installation). technically,
this is possible, but this is frowned upon by MS for various reasons. so,
how do i go about pulling this off? i'd be okay if my first setup MSI exits,
but then i need something to call the SQL Express MSI. as far as i can see,
there's nothing like an "onExit" event i can use from my setup MSI to call
and execute the SQL MSI.

what's the best way to pull this off? does installShield offer better
solutions for situations like this?

tks for any advice.
Aug 16 '07 #1
8 1934
"Dica" <ge*****@hotmai l.comwrote in message
news:YjYwi.8012 7$Io4.41618@edt nps89...
there's nothing like an "onExit" event i can use from my setup MSI to call
and execute the SQL MSI.
Go into Custom Actions, Commit and add a pointer to the SQL Server Express
MSI - custom actions in this section run at the end of the main installation
routine...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 16 '07 #2

"Mark Rae [MVP]" <ma**@markNOSPA Mrae.netwrote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
"Dica" <ge*****@hotmai l.comwrote in message
news:YjYwi.8012 7$Io4.41618@edt nps89...
>there's nothing like an "onExit" event i can use from my setup MSI to
call and execute the SQL MSI.

Go into Custom Actions, Commit and add a pointer to the SQL Server Express
MSI - custom actions in this section run at the end of the main
installation routine...
i tried that, but it doesn't work. my main setup MSI is calls the SQL MSI
from the commit action, but the SQL MSI gives me an error message about
"Another installation is already in progress". any other ideas?
>
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 16 '07 #3
"Dica" <ge*****@hotmai l.comwrote in message
news:9Y_wi.9805 2$tB5.56079@edt nps90...
>Go into Custom Actions, Commit and add a pointer to the SQL Server
Express MSI - custom actions in this section run at the end of the main
installation routine...

i tried that, but it doesn't work. my main setup MSI is calls the SQL MSI
from the commit action, but the SQL MSI gives me an error message about
"Another installation is already in progress". any other ideas?
Hmm - apologies, but I think you may be out of luck, as discussed here:
http://community.installshield.com/a...?t-155357.html
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 16 '07 #4

"Mark Rae [MVP]" <ma**@markNOSPA Mrae.netwrote in message
news:e5******** ******@TK2MSFTN GP06.phx.gbl...
"Dica" <ge*****@hotmai l.comwrote in message
news:9Y_wi.9805 2$tB5.56079@edt nps90...
>>Go into Custom Actions, Commit and add a pointer to the SQL Server
Express MSI - custom actions in this section run at the end of the main
installatio n routine...

i tried that, but it doesn't work. my main setup MSI is calls the SQL MSI
from the commit action, but the SQL MSI gives me an error message about
"Another installation is already in progress". any other ideas?

Hmm - apologies, but I think you may be out of luck, as discussed here:
http://community.installshield.com/a...?t-155357.html
yes, i was afraid of that. i think i've got 2 options here:

1. write a parent installer that calls first the setup MSI, waits for
completion, and then calls the SQL MSI. the main issue with this is that
ideally i'd want to write the parent installer in C++, which i don't know.
if i write it in C# and the user doesn't have the required framework
installed, there's no elegant way to offer the user the option of
downloading .Net. the C# parent installer will simply fail whereas a C++
version would call the setup MSI which could gracefully check for the
required framwork and offer to download.

2. add the SQL MSI as a job for execution to a windows job queue. does such
a thing exist? i know i've seen some setup projects force a reboot of the
system and then complete phase 2 of an installation. is there a way to do
this but without the reboot requirement?

tks for the help.
>
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 16 '07 #5
"Dica" <ge*****@hotmai l.comwrote in message
news:F_%wi.9805 6$tB5.27219@edt nps90...
tks for the help.

Apologies again, but I don't really think I know enough about this to be of
much help - hopefully, somebody else will - Juan, Peter, Jon, Eliyahu et
al...?

Alternatively, you might try posting at microsoft.publi c.vsnet.setup.. .
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 16 '07 #6
On 16 Aug, 18:40, "Dica" <genp...@hotmai l.comwrote:
"Mark Rae [MVP]" <m...@markNOSPA Mrae.netwrote in messagenews:e5* *************@T K2MSFTNGP06.phx .gbl...
"Dica" <genp...@hotmai l.comwrote in message
news:9Y_wi.9805 2$tB5.56079@edt nps90...
>Go into Custom Actions, Commit and add a pointer to the SQL Server
Express MSI - custom actions in this section run at the end of the main
installation routine...
i tried that, but it doesn't work. my main setup MSI is calls the SQL MSI
from the commit action, but the SQL MSI gives me an error message about
"Another installation is already in progress". any other ideas?
Hmm - apologies, but I think you may be out of luck, as discussed here:
http://community.installshield.com/a...?t-155357.html

yes, i was afraid of that. i think i've got 2 options here:

1. write a parent installer that calls first the setup MSI, waits for
completion, and then calls the SQL MSI. the main issue with this is that
ideally i'd want to write the parent installer in C++, which i don't know.
if i write it in C# and the user doesn't have the required framework
installed, there's no elegant way to offer the user the option of
downloading .Net. the C# parent installer will simply fail whereas a C++
version would call the setup MSI which could gracefully check for the
required framwork and offer to download.

2. add the SQL MSI as a job for execution to a windows job queue. does such
a thing exist? i know i've seen some setup projects force a reboot of the
system and then complete phase 2 of an installation. is there a way to do
this but without the reboot requirement?

tks for the help.


--
Mark Rae
ASP.NET MVP
http://www.markrae.net- Hide quoted text -

- Show quoted text -
I'm not sure if this will be of use, but if you don't know C++, you
could always use VB6 to write a parent installer. That would get
around the framework dependency and it would only take a couple of
lines of code to shell each of the msi's.

Aug 17 '07 #7

"DeveloperX " <nn*****@operam ail.comwrote in message
news:11******** *************@g 4g2000hsf.googl egroups.com...
On 16 Aug, 18:40, "Dica" <genp...@hotmai l.comwrote:
>"Mark Rae [MVP]" <m...@markNOSPA Mrae.netwrote in
messagenews:e5 **************@ TK2MSFTNGP06.ph x.gbl...
"Dica" <genp...@hotmai l.comwrote in message
news:9Y_wi.980 52$tB5.56079@ed tnps90...
>>Go into Custom Actions, Commit and add a pointer to the SQL Server
Express MSI - custom actions in this section run at the end of the
main
installatio n routine...
>i tried that, but it doesn't work. my main setup MSI is calls the SQL
MSI
from the commit action, but the SQL MSI gives me an error message
about
"Another installation is already in progress". any other ideas?
Hmm - apologies, but I think you may be out of luck, as discussed here:
http://community.installshield.com/a...?t-155357.html

yes, i was afraid of that. i think i've got 2 options here:

1. write a parent installer that calls first the setup MSI, waits for
completion, and then calls the SQL MSI. the main issue with this is that
ideally i'd want to write the parent installer in C++, which i don't
know.
if i write it in C# and the user doesn't have the required framework
installed, there's no elegant way to offer the user the option of
downloading .Net. the C# parent installer will simply fail whereas a C++
version would call the setup MSI which could gracefully check for the
required framwork and offer to download.

2. add the SQL MSI as a job for execution to a windows job queue. does
such
a thing exist? i know i've seen some setup projects force a reboot of the
system and then complete phase 2 of an installation. is there a way to do
this but without the reboot requirement?

tks for the help.


--
Mark Rae
ASP.NET MVP
http://www.markrae.net- Hide quoted text -

- Show quoted text -

I'm not sure if this will be of use, but if you don't know C++, you
could always use VB6 to write a parent installer.
yeah, i do know VB6 pretty well. i should have thought of that.

tks for the suggestion.

That would get
around the framework dependency and it would only take a couple of
lines of code to shell each of the msi's.

Aug 17 '07 #8
Hi,
I am also facing the same type of problem in my installation.
I have created a window service installer which has some other exe too
and this way i have created the shortcut( in program files and desktop)
for this exe.
Now i require to uninstall the previous version and install the new
version of this installer,but this time the installation path should be
different.
the problem is as below

1- i tried to install but the installation suceeed but now when i click
the sortcut to launch the application , its how again installation
progress that make me crazy and in last say the specified service
already exist
( this indicate the previous service not removed properly)

2- i am trying to add an exe(which will remove the previous version
exclusively ) in custom action editor install action. My aim is first
uninstall previous and then new installation
but as soon as this ready to remove previous version i found the error
as "another version of installtion is progress " .. i have to cance the
uninstall this faild my job

if some one has face this kind of situation and got some trick plz
suggest

Lalit N dubey

*** Sent via Developersdex http://www.developersdex.com ***
Aug 20 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
9252
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
0
1555
by: Kostas | last post by:
I just bought InstallAWARE Developer version and I am already thinking to move to the Studio version (and imagine that it wasn't on my plans to buy an installation tool...)! Although it is extremely "easy to use" and has a very nice user interface, it is powerful, with many capabilities that you can't find in any other installation tool with such a low price and a great flexibility. You can create patches, customize the setup with the
11
5444
by: Durai | last post by:
Hi All, I tested "concurrent testing" in MySQL. It works fine. But I couldn't do in PostgreSQL 7.3.4 on HPUX IPF. I got deadlock problem. I used the PHP script to update table( one script increment the column & another one decrement the column). Is the postgres support the concurrent access to update database? I got the following errors: test=# ERROR: deadlock detected ERROR: deadlock detected ERROR: deadlock detected .....
14
5730
by: Keith | last post by:
I have an MDE application used by several hundred people in different parts of the world. The majority of users are of lesser experience computer experience. The app consists of a frontend (MDE) and backend (MDB), a help file and a key file. To this point, I have provided users with an installation package which installed both files into their program files folder with no problems. A few users are getting new computers with vista...
2
19333
by: mktselvan | last post by:
Hi, Existing running oracle application 11i (11.5.8) Database version is 8.1.7.4 There is any command / way to know the number of concurrent users for this application. select SESSIONS_MAX, SESSIONS_WARNING,
0
1482
by: Gerardo Herzig | last post by:
Hi all. Im having some "problems" with a small concurrent plpython function. Based on a small example about concurrent programming, there is some code which works fine under python: #! /usr/bin/python import threading, random import time def myPrint(str):
0
1669
by: Now You Know | last post by:
Best Christmas Lights Decoration Sale Installation in Los Angeles 818-386-1022 (These types of Innovative lights will definetly add to your Christmas decor) Here are the tips to use: The most common color combinations appropriate for the Christmas season include red, green and copper lights that denote festivity; blue and green lights for more subdued arrangements; novelty combinations such as blue and red lights; and mauve, blue and...
0
2348
by: Now You Know | last post by:
Best Christmas Lights Decoration Sale Installation in Los Angeles 818-386-1022 (These types of Innovative lights will definetly add to your Christmas decor) Here are the tips to use: The most common color combinations appropriate for the Christmas season include red, green and copper lights that denote festivity; blue and green lights for more subdued arrangements; novelty combinations such as blue and red lights; and mauve, blue and...
0
13348
amitpatel66
by: amitpatel66 | last post by:
There is always a requirement that in Oracle Applications, the Concurrent Program need to be execute programatically based on certain conditions/validations: Concurrent programs can be executed programatically either from UNIX or Oracle PLSQL. In this Section, I will be explaining about calling a Concurrent program from UNIX using the CONCSUB Command. Pre-requisite: 1. Concurrent Program should be registered in oracle Applications...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7740
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4623
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2339
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.