Howdy all,

I'm working on an installer that needs to detect whether a specific version of 
DirectX 9.0 is installed (9.0c). Unfortunately a standard registry check using 
this:

  <Property Id="DIRECTXVERSION">
    <RegistrySearch Id="DirectXVersion" Root="HKLM" Type="raw" 
Key="SOFTWARE\Microsoft\DirectX" Name="Version"/>
  </Property>

doesn't work since the Version value is the same for all flavours of DirectX 
9.0. I do know a specific file that is installed in c:\windows\system32 that 
identifies the version of DirectX installed, and also know what version number 
I need to see on it to be happy.

How do I look up this file's version, so I can put that value into a property 
and the use it as a condition? Alternatively, does anyone know of a better way 
to detect the specific version of DirectX 9.0 that is installed on a machine?

Thanks!

Neil
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to