Archive: Version Info


Version Info
Hello All.
Please tell me.
Can I make a install file which will has a version info from another any exe file?


Use VIProductVersion and VIAddVersionKey. See Examples\VersionInfo.nsi for a usage example.


Yes, of course.But.
How to make a nsi file to read and insert the information from other file during compilation?
I wish to change the version of a file automatically.


I made myself a program that does just that:
- It fetches the versioninfo of an EXE file
- Generates an *.NSH include file

I call the program through NSIS !execute preprocessor command, followed by an !include of the newly created NSH file

(I might release the program publicly but not right now)


Okay. release the program publicly another time.
I need this script.
I don't understand how

- Generates an *.NSH include file
I think that necessaryly to create the special program for generate an include file with version info.
Or
may NSIS make it, do it?

There is an example of how to do exactly this here:

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

Duncan


good article !!


Oh!!!! Thank you very much!

Спасибо тебе чувак. Ты реальный перец, респект и уважуха!