Archive: Get version of some {EXECUTABLE}


Get version of some {EXECUTABLE}
Hello Guys!

I have created a new NSIS script and I would like get the version of some executable of my project to add in output file name, something like this:

OutFile "MYSYSTEM.${VERSION}.exe"

Anyone know how I can get this property in NSIS scripts?

thx for the help!


You might try a search for it...

For example:
http://forums.winamp.com/showthread....hreadid=210458

You can also use the ${GetFileVersion} macro from the FileFunc header which uses GetDLLVersion(chapter E.1.8 in the NSIS manual)


jpderuiter, he needs to do it at compile time.

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

Stu