473,466 Members | 1,413 Online
Bytes | Software Development & Data Engineering Community
Create 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 1921
"Dica" <ge*****@hotmail.comwrote in message
news:YjYwi.80127$Io4.41618@edtnps89...
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**@markNOSPAMrae.netwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
"Dica" <ge*****@hotmail.comwrote in message
news:YjYwi.80127$Io4.41618@edtnps89...
>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*****@hotmail.comwrote in message
news:9Y_wi.98052$tB5.56079@edtnps90...
>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**@markNOSPAMrae.netwrote in message
news:e5**************@TK2MSFTNGP06.phx.gbl...
"Dica" <ge*****@hotmail.comwrote in message
news:9Y_wi.98052$tB5.56079@edtnps90...
>>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

Aug 16 '07 #5
"Dica" <ge*****@hotmail.comwrote in message
news:F_%wi.98056$tB5.27219@edtnps90...
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.public.vsnet.setup...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 16 '07 #6
On 16 Aug, 18:40, "Dica" <genp...@hotmail.comwrote:
"Mark Rae [MVP]" <m...@markNOSPAMrae.netwrote in messagenews:e5**************@TK2MSFTNGP06.phx.gbl. ..
"Dica" <genp...@hotmail.comwrote in message
news:9Y_wi.98052$tB5.56079@edtnps90...
>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*****@operamail.comwrote in message
news:11*********************@g4g2000hsf.googlegrou ps.com...
On 16 Aug, 18:40, "Dica" <genp...@hotmail.comwrote:
>"Mark Rae [MVP]" <m...@markNOSPAMrae.netwrote in
messagenews:e5**************@TK2MSFTNGP06.phx.gbl ...
"Dica" <genp...@hotmail.comwrote in message
news:9Y_wi.98052$tB5.56079@edtnps90...
>>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.
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
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...
0
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...
11
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...
14
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)...
2
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. ...
0
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: #!...
0
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...
0
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...
0
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.