473,472 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

BUG : Deployment Launch Conditions - Help

Jo
I am having a real problem with the Launch conditions in VS .NET and can
only come to the conclusion that it is a bug.

It states quite emphatically in the MSDN that Launch Conditions WILL be
executed in the order added. This statement holds true if every Condition
has a InstallURL value set. but not if there is no InstallURL value.

For Example :
I want to check that W2K exists on the target machine before installing SP4.
So, I add a Launch condition to check if versionNT=500.
I leave the InstallURL Blank as you are supposed to if you do not want the
user to continue and just display the OK button to terminate.
This works fine by itself

I add another Launch condition which check for SP4 viz. ServicePackLevel >=4
which has a InstallURL to enable me to install SP4 if it does not exist (ie
sp1, 2, 3 is installed)
As soon as I add it it jumps the queue and trie to install SP4 before even
checking in W2k is installed. ???

Add a MDAC Check with option to install and it executes after the SP4 check
(good)
remove the SP4 Checks InstallUrl (ie quit if SP4 or greater not found)
and MDAC jumps the queue.

This is a problem as I do not want to put a installURL in for W2K Check as I
don't want to install W2K (or the app) if the user is running W9x or NT or
XP and I definately don't want to install the SP if W2k does not exist
(granted that the SP install will moan, but too late!)

Things I have tried :
Launch condition addition in sequence of supposed execution ( no good)
Alphabetical Naming sequence, any addition order (no good)
Alphabetical Naming sequence with the correct addition order (no good)
Physically Editing and Swopping (in notepad) the entries n the .vdproj file
(no good)
Adding the W2K check into the default Framework Check section (which happens
before anything anyway) (no good)

Not that it makes a difference but the application I am building a package
for is written in C#...

Any Help on the matter would be greatly appreciated.

My Systems (tried it on all of them) :

All have the following Software : (and one JUST have this software, nothing
else so its nice and fresh)
~~~~~~~~~~~~~~~~~~~~~~
W2k SP4
VS.NET Architect edition
..Net Framework 1.1 (version : 1.1.4322)
Microsoft Development Environment (version : 7.1.3088)
Microsoft Visual C# .NET 69586-335-0000007-18303
Microsoft Visual Basic .NET 69586-335-0000007-18303
Microsoft Visual J# .NET 69586-335-0000007-18303
Crystal Reports for Visual Studio .NET AAP50-GS00000-U7000RN
IE6 sp1 (required by the VS.NET install)

All the VS.NET stuff is the latest that came with the 2003 MSDN
subscription.

Different Hardware
~~~~~~~~~~~~~~
Compaq P4 2.1GHz
512Mb DDR Ram
40GB HD

Dell Laptop P4 2.4GHz
512MB DDR Ram
40gb HD

Celeron 2.3GH
512MB DDR Ram
80GB HD

Nov 15 '05 #1
1 4460
This does appear to be a bug. I will make sure one is logged with the
appropriate team.

You might try combining different conditions and boolean operators, but I
don't think that will work very well for you.
Another work-around you might try is to only do the W2K check as a Launch
Condition and do the SP4 check as a Custom Action at the Install Phase.
This will mean that the install will partially happen and a rollback will
be triggered however.
Patrick Baker - Visual Basic/Deployment Quality Assurance Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Jo" <jl**********@uskotec.com>
Newsgroups: microsoft.public.dotnet.languages.csharp
Subject: BUG : Deployment Launch Conditions - Help
Date: Wed, 27 Aug 2003 23:17:54 +0200
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Lines: 80
Message-ID: <3f**************@hades.is.co.za>
NNTP-Posting-Host: 196.26.134.32
X-Trace: hades.is.co.za 1062019140 64724 196.26.134.32
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!skynet.be!skynet.be!infeed.is.co.za!feeder.is .co.za!hades.is.co.za!not-
for-mailXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:180072
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

I am having a real problem with the Launch conditions in VS .NET and can
only come to the conclusion that it is a bug.

It states quite emphatically in the MSDN that Launch Conditions WILL be
executed in the order added. This statement holds true if every Condition
has a InstallURL value set. but not if there is no InstallURL value.

For Example :
I want to check that W2K exists on the target machine before installing SP4.So, I add a Launch condition to check if versionNT=500.
I leave the InstallURL Blank as you are supposed to if you do not want the
user to continue and just display the OK button to terminate.
This works fine by itself

I add another Launch condition which check for SP4 viz. ServicePackLevel
=4
which has a InstallURL to enable me to install SP4 if it does not exist (ie
sp1, 2, 3 is installed)
As soon as I add it it jumps the queue and trie to install SP4 before even
checking in W2k is installed. ???

Add a MDAC Check with option to install and it executes after the SP4 check
(good)
remove the SP4 Checks InstallUrl (ie quit if SP4 or greater not found)
and MDAC jumps the queue.

This is a problem as I do not want to put a installURL in for W2K Check as Idon't want to install W2K (or the app) if the user is running W9x or NT or
XP and I definately don't want to install the SP if W2k does not exist
(granted that the SP install will moan, but too late!)

Things I have tried :
Launch condition addition in sequence of supposed execution ( no good)
Alphabetical Naming sequence, any addition order (no good)
Alphabetical Naming sequence with the correct addition order (no good)
Physically Editing and Swopping (in notepad) the entries n the .vdproj file
(no good)
Adding the W2K check into the default Framework Check section (which happensbefore anything anyway) (no good)

Not that it makes a difference but the application I am building a package
for is written in C#...

Any Help on the matter would be greatly appreciated.

My Systems (tried it on all of them) :

All have the following Software : (and one JUST have this software, nothing
else so its nice and fresh)
~~~~~~~~~~~~~~~~~~~~~~
W2k SP4
VS.NET Architect edition
.Net Framework 1.1 (version : 1.1.4322)
Microsoft Development Environment (version : 7.1.3088)
Microsoft Visual C# .NET 69586-335-0000007-18303
Microsoft Visual Basic .NET 69586-335-0000007-18303
Microsoft Visual J# .NET 69586-335-0000007-18303
Crystal Reports for Visual Studio .NET AAP50-GS00000-U7000RN
IE6 sp1 (required by the VS.NET install)

All the VS.NET stuff is the latest that came with the 2003 MSDN
subscription.

Different Hardware
~~~~~~~~~~~~~~
Compaq P4 2.1GHz
512Mb DDR Ram
40GB HD

Dell Laptop P4 2.4GHz
512MB DDR Ram
40gb HD

Celeron 2.3GH
512MB DDR Ram
80GB HD



Nov 15 '05 #2

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

Similar topics

1
by: Jim Rolfe | last post by:
I have an ASP .Net project that contains some crystal reports. I am unable to run the setup and deployment program on a Windows 2000 Server machine. I get the following error message: This...
0
by: Jo | last post by:
I am having a real problem with the Launch conditions in VS .NET and can only come to the conclusion that it is a bug. It states quite emphatically in the MSDN that Launch Conditions WILL be...
5
by: Sue | last post by:
How do I launch an executable at the end of an installation created by Microsoft Visual Studio setup and deployment project?
0
by: tommcd24 | last post by:
I've setup a launch condition that checks for MDAC 2.7 or greater. If not found I use the InstallUrl property to provide a means to install MDAC2.8 off of the install CD. This works fine, except...
1
by: Bryan | last post by:
Hello, Can anyone point me to a good link on MSDN that has all the information on how to create Setup and Deployment projects in VS.Net? I've got the basics down and have created custom...
2
by: Ricky | last post by:
I am doing setup and deployment for the first time in .NET. I have developed an application in VB.NET which uses a third party component. But in order for the component to work I need to register...
3
by: Jeff G | last post by:
When I build the deployment project for an application everything works. However, the two files instmsia.exe and instmsiw.exe do not appear with the setup files. I may be installing this on...
7
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
0
by: raulbolanos | last post by:
Hello, I am creating a deployment project for a Windows application. The program is finish but I need to make the Setup file. As far as I know I need several deployment editors, for example: ...
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...
0
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...
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,...
1
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: 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 ...

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.