Skip to content
⌘ NSIS Forum Archive

Get version of some {EXECUTABLE}

3 posts

donini#

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#
You might try a search for it...

For example:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


You can also use the ${GetFileVersion} macro from the FileFunc header which uses GetDLLVersion(chapter E.1.8 in the NSIS manual)
Afrow UK#
jpderuiter, he needs to do it at compile time.



Stu