Suggestion for Version info
What I'd like to do is set the version of the installer created by NSIS to be the same version as one of the files I'm adding to the installer (namely the main EXE file).
In other words, the main file being installed is APP.EXE and I'm creating an NSIS installer file called APPINSTALL.EXE. I'd like the Version Info resource in APPINSTALL.EXE to have the same version number as the resource in APP.EXE.
Right now I can only specify a constant x.x.x.x value with VIProductVersion. The function to grab a version from a DLL/EXE called GetDllVersionLocal can only be used in a function, and functions cannot be used at compile time.
So, either I'd like to see compile-time scripting and functions, or someway to specify the name of a DLL/EXE to copy the version info from.
Thanks for listening and keep up the good work.