473,382 Members | 1,387 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,382 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 8247
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...
1
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: 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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.