Skip to content
⌘ NSIS Forum Archive

Version Info

8 posts

bbfree#edited

Version Info

Hello All.
Please tell me.
Can I make a install file which will has a version info from another any exe file?
kichik#
Use VIProductVersion and VIAddVersionKey. See Examples\VersionInfo.nsi for a usage example.
bbfree#
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.
Wizou#
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)
bbfree#
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?
Mr Inches#
There is an example of how to do exactly this here:



Duncan
bbfree#
Oh!!!! Thank you very much!

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