473,320 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Deployment Launch Condition

In the setup project I am trying to create, I am wanting to search to see if
DirectX 8 is installed on the local machine. I figured the best way to
determine would be a registry key search, so I add one. The problem comes
in with the properties for the registry key search. The properties are
RegKey and Value. In viewing the registry editor, the registry key is
Software\Microsoft\DirectX. Within that, you have a value name and a value
data. How would I go about setting the search condition to the version
number????? I have tried using the value data, but it does not work. It
only seems to work using the value name which is "Version". But every
version of DirectX has a value name of "Version".......it is the data that
is different. Any Suggestions???????????????

Thanks,
Kendal
Jul 19 '05 #1
2 8244
You need to make sure you both a Registry Search and a Registry Launch
Condition. The easies way to do that is to right-click on the "Requirements
on Target Machine" Node and select "Add Registry Launch Condition."

Then set the Properties on both the Search and Condition making sure that
the Property Name is the same (This is where the "data" for the value you
are looking for is put)

*** Search for RegistryEntry1***
Property: REGISTRYVALUE1
RegKey: Software\Microsoft\DirectX
Root: vsdrrHKLM
Value: Version

*** Condition1 ***
Condition: REGISTRYVALUE1 >= "8.0.0.0" <-Enter the version here
InstallUrl: URL to the DirectX website (Optional)
Message: The message you want displayed if DX8 is not installed (i.e. The
value of REGISTRYVALUE1 from the Registry Search is less than the version
you are looking for)

Patrick Baker - Visual Basic/Deployment Quality Assurance Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Kendal Goodrich" <kg*******@jeffersonmedical.net>
Subject: Deployment Launch Condition
Date: Tue, 29 Jul 2003 10:31:17 -0500
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <uI**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 65.83.91.34
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:102712
X-Tomcat-NG: microsoft.public.dotnet.general

In the setup project I am trying to create, I am wanting to search to see ifDirectX 8 is installed on the local machine. I figured the best way to
determine would be a registry key search, so I add one. The problem comes
in with the properties for the registry key search. The properties are
RegKey and Value. In viewing the registry editor, the registry key is
Software\Microsoft\DirectX. Within that, you have a value name and a value
data. How would I go about setting the search condition to the version
number????? I have tried using the value data, but it does not work. It
only seems to work using the value name which is "Version". But every
version of DirectX has a value name of "Version".......it is the data that
is different. Any Suggestions???????????????

Thanks,
Kendal


Jul 19 '05 #2
Thanks a million,

Kendal
Jul 19 '05 #3

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: 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: 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...
2
by: Scanner2001 | last post by:
This may not be the best group to post to, so if there are any suggestions as to a different group, please let me know. Here is what we are doing, we have a couple of dlls that are shared (i.e....
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...
1
by: evan | last post by:
Hi anyone, I have to distribute a VB.NET project that requires the installation of Jet 4.0. As the installation files of Jet are operating system specific, during deployment I need to run the...
2
by: Kendal Goodrich | last post by:
In the setup project I am trying to create, I am wanting to search to see if DirectX 8 is installed on the local machine. I figured the best way to determine would be a registry key search, so I...
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...
3
by: Don | last post by:
I've added a Setup and Deployment project to my Visual Studio 2005 Windows Application solution and have several OCX and DLL files that will be installed. But I can't seem to find any examples in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.