Archive: Bug in VersionCompare and VersionCompareV5


Bug in VersionCompare and VersionCompareV5
Hi,

i compare this two versions '2.53.6200.1' and '2.6'. Both functions says that 2.53.6200.1 is newer than 2.6.

Maybe its a help ;)

Regards

Rainer


2.53 is indeed newer than 2.6. 53 is bigger than 6.


The Kichik Smackdown!


This one may work better:
http://nsis.sourceforge.net/Comparin...ersion_Numbers

I wrote this one while I was just learning NSIS and haven't looked at the code for nearly a year, but it 'should' work.

It basically steps through each version number one digit at a time, so it should return the result you are looking for.