Prev Previous Post   Next Post Next
Old 24th May 2009, 16:55   #1
nsnb
Senior Member
 
Join Date: Jul 2008
Posts: 157
Read FileVersion of Windows EXE on Linux

This is not really an NSIS question but knowing the great minds here and given that my Windows EXE is generated by NSIS, I am hoping to find a hint or tip here (I combed the web but found no answer, yet):

I would like to be able to extract, using a bash script running on Linux, the FileVersion information embedded in my NSIS installers. The idea is that the bas script will call an external program that actually extract thatFileVersion info.

So far, I only managed to use 'strings':
code:
strings -e l mywindowsexename.exe

Which results in two separate lines for FileVersion and its information. Thus a simple line manipulation program such as grep or sed won't suffice.

Any tip or pointer to how to accomplish this?

Thanks.
nsnb is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump