comparing 2 versions
Hi! im trying to compare 2 versions of my software with 2 different INI files. one ini file(the one in $INSTDIR) is set up like this :
[Rapigator]and the one in the $temp folder like this:
Version=3.3
[Rapigator]heres the section of the installer :
Version=3.4
ReadINIStr $0 $INSTDIR\rapigator.ini Rapigator Versionim trying to make it goto "update" when the $instdir version is less. i put the MessageBox after the ReadINIStr to see if it is reading the files and it is. it just goes to "done". what am i doing wrong?
ReadINIStr $1 $TEMP\rapigator.ini Rapigator Version
MessageBox MB_OK|MB_ICONEXCLAMATION "$0 $1"
IntCmp $0 $1 0 update 0
goto done
update:
MessageBox MB_OK|MB_ICONEXCLAMATION "Updating..."
done: