Archive: Version Checking


Version Checking
Hi Everyone

Actually I am presently working on dummy installer where its takes the database name upon selection and based on that the config will change and the selected db_name will be replaced.It was done with help of senior members of the forum.
Now what i require is i would like to check the versions and make patch fixing also.I started working on that and even tried some examples using the VPatch but it was little bit messey.I request you any one to help me out regarding the version checking from the previous one to the existing one when installing.

Even explain me how to write an patch file with some examples

As I am new to NSIS installer and working since last one month

Thanking You in Advance

R.S.Srikanth


There is a VersionCompare function included in the WordFunc.nsh header. Look at your NSIS help file, appendix E. (There's also some examples there as well.)


Actually i haven't checked the forums reagarding the topic that is posted by many members and by mistake i posted it.I am sorry for that..

Thank you Comperio..for giving reply
I tried that example its working..