Archive: Registry Problem


Registry Problem
Maybe this is a very simple problem :)
I'm having a problem with a regkey. I want to check the version of DirectX and compare it with the newest version. But the regkey HKLM\Software\Microsoft\DirectX "Version" has a string like 4.09.00.0902.
So 'IntCmp' Dosent work corectly. Any one have a idea to use a operator or something to remove the decimal places and convert it to 409000902 ?
Umm.. I wasnt good in maths at school anyway :D

Theirs another REG_BINARY key: HKLM\Software\Microsoft\DirectX "InstalledVersion"
Is their anyway to read this ? :)

- Wreckles


Always search the archive :)

http://nsis.sourceforge.net/archive/....php?pageid=57


Seek and ye shall find...

http://nsis.sourceforge.net/archive/....php?pageid=57