Archive: Exe Version


Exe Version
HiGuys?

I am Struggling to get the file version of an EXE file.

i have tried $GetFileVersion Function and nothing Happens.

Could You Guys give me a Hint or anything that might Help me.

Thank you.

Yours Faithful
Eduardo vwc


${GetFileVersion} "[Executable]" $var
and $var should contain the version information.

But are you sure there is any version information stored on that EXE? Maybe that's why you are not getting anything out ...
CF

CancerFace has a good point. Try viewing the properties of the EXE in Windows Explorer and see if you even have a 'version' tab.


Try the "moreinfo" plugin and look at examples.
TIP: Search the NSIS Wiki


... Or use the old good (NSIS manual 4.9.3.5) GetDLLVersion :-)