cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yann_bertaud
Level 4

detecting what version of direct x is installed?

Hello,

I need to have our installer detect which version of direct x is installed on the system. I am using a basic msi project.

is there some built in way of doing this in installshield. Or do we need to write a dll/exe to do this and call it as a custom action?

thanks

yann
Labels (1)
0 Kudos
(1) Reply
Holger_G
Level 10

You can make use of the DirectXSetupGetVersion API to retrieve the version number of the DirectX core runtime components that are currently installed:
http://msdn2.microsoft.com/en-us/library/Bb219716.aspx

Or you could check a registry key string value (not very reliable but simple method, and works too):
HKLM\SOFTWARE\Microsoft\DirectX
'Version' REG_SZ


-Nick
0 Kudos