Are these supposed to be hard coded into my NSIS script? For example:
!define VER_MAJOR "1"
!define VER_MINOR "4"
!define VER_REVISION "3"
!define VER_BUILD "4" Or, should these be programmatically extracted from the software installed?If the latter, is there an API/plugin in NSIS that extracts version info from Windows programs?
Also, I noticed that the makensis.nsi example saves VER_MAJOR, VER_MINOR, VER_REVISION, VER_BUILD to the registry. What is the purpose of that?
Thanks.