Archive: Setting version info based on exe file


Setting version info based on exe file
I have an installer which installs a exe file. (wow)

The exe file contains a version information.

So I would like the installer to use that information in the PRODUCT_VERSION field.

I search high and low and havn't been able to find something that I can use. I found a lot of stuff closly relation but not the complete answer to my question.

Can some one here help?

Something like:

!define FILEVER GetDLLVersionLocal "myapp.exe" $R1
!define PRODUCT_VERSION "4.0.${FILEVER}"


http://nsis.sourceforge.net/Invoking...n_compile-time

Stu