Deployment Launch Condition

  • Thread starter Thread starter Kendal Goodrich
  • Start date Start date
K

Kendal Goodrich

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
 
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.

--------------------
 
Back
Top