By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,925 Members | 732 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,925 IT Pros & Developers. It's quick & easy.

Deployment Launch Condition

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
Thanks a million,

Kendal
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.