donini
21st July 2009 21:24 UTC
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!
jpderuiter
21st July 2009 21:57 UTC
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)
Afrow UK
21st July 2009 23:41 UTC
jpderuiter, he needs to do it at compile time.
http://nsis.sourceforge.net/Invoking...n_compile-time
Stu