Deployment Launch Condition

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kendal Goodrich

    #1

    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\Micros oft\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


  • Patrick Baker [MSFT]

    #2
    RE: Deployment Launch Condition

    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 "Requiremen ts
    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\Micros oft\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.

    --------------------[color=blue]
    >From: "Kendal Goodrich" <kgoodrich@jeff ersonmedical.ne t>
    >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: <uIj2yZeVDHA.23 16@TK2MSFTNGP09 .phx.gbl>
    >Newsgroups: microsoft.publi c.dotnet.genera l
    >NNTP-Posting-Host: 65.83.91.34
    >Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
    >Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:102712
    >X-Tomcat-NG: microsoft.publi c.dotnet.genera l
    >
    >In the setup project I am trying to create, I am wanting to search to see[/color]
    if[color=blue]
    >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\Micro soft\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
    >
    >
    >[/color]

    Comment

    • Kendal Goodrich

      #3
      Re: Deployment Launch Condition

      Thanks a million,

      Kendal


      Comment

      Working...