Skip to content
⌘ NSIS Forum Archive

Bug in VersionCompare and VersionCompareV5

4 posts

rainer78#

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
Comperio#
This one may work better:


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.