Ahhhhhrg! Just realised I have forgotten to include the 'readme.txt' file in the ZIP! It was a long day for me too
. I will upload it later as its on my machine at home.
Thanks for the comments tiresius, I will add that feature soon. And thanks Ian T for testing in Vista. The autorun feature so the window doesn't popup can be set in the INI file. I should have put more about the configuration really in my first post but didn't want to cause 'information overload'.
Anyway, here is an example of the INI file supplied with the program for those who cannot wait for the 'readme':
[Settings]
Version=Dec 2006
Autorun=0
Program=mygame.exe
Name=MyGame
Load it up in your favourite text editor (e.g. Notepad).
The 'Version' setting should be the date of the release required by your game. As far as I know, these are all the possible revisions of DirectX 9.0c:
Feb 2005, Apr 2005, Jun 2005, Aug 2005, Dec 2005, Feb 2006, Apr 2006, Oct 2006, Dec 2006, Apr 2007, Jun 2007, Aug 2007.
The 'Autorun' value can be 0 or 1. If its a 0 then you will get the popup window with diagnostic info and the user has to click the button to run the game. If its set to 1 then if the user had the required DirectX 9.0c revision installed (and the versionnumber or productnumber in that version is not wrong) then it will run the game instantly without popping up with the DXcheck window. If its set to 1 but the required DirectX is not installed then they get the popup window with a warning message but can still choose to run the game if desired.
The 'Program' value is the filename of your game exe to run.
The 'Name' value is the name of your game which will appear on the button the user presses to run it (if the DXcheck window is displayed). I recommend keeping to a maximum of 8 characters due to space limitations, so if your game has a long title you should either shorten it or just call it 'Game' or something.
I hope thats enough to keep you going until I can upload the full readme file. Have fun.
EDIT: Here is the
ReadMe file. Right click the link to save it.