This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- detecting what version of direct x is installed?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 27, 2007
04:55 PM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 28, 2007
01:05 AM
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
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
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)