PC Review


Reply
Thread Tools Rate Thread

Deployment Launch Condition

 
 
Kendal Goodrich
Guest
Posts: n/a
 
      29th Jul 2003
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


 
Reply With Quote
 
 
 
 
Patrick Baker [MSFT]
Guest
Posts: n/a
 
      31st Jul 2003
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" <(E-Mail Removed)>
>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: <(E-Mail Removed)>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: 65.83.91.34
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.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

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


 
Reply With Quote
 
Kendal Goodrich
Guest
Posts: n/a
 
      4th Aug 2003
Thanks a million,

Kendal


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET 3.0 Launch Condition - what version to specify? =?Utf-8?B?RGF2aWQ=?= Microsoft Dot NET Framework 0 15th Aug 2007 08:44 PM
Deployment Condition Statement for checking File Version? Don Microsoft Dot NET 3 5th Oct 2006 04:16 AM
Deployment condition - UTF8 BobAchgill Microsoft VB .NET 1 11th Nov 2004 06:39 PM
Launch condition in VS setup project =?Utf-8?B?c2VyZ2UgY2FsZGVyYXJh?= Microsoft Dot NET 0 1st Jun 2004 01:46 PM
RE: CheckBox With Launch Condition =?Utf-8?B?UWluZ2RvbmcgWi4=?= Microsoft Dot NET 0 26th Apr 2004 07:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:33 AM.