Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Version Info (http://forums.winamp.com/showthread.php?t=286748)

bbfree 12th February 2008 15:54

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 12th February 2008 20:39

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

bbfree 13th February 2008 05:53

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 13th February 2008 07:53

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 13th February 2008 08:19

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

- 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 13th February 2008 09:15

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

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

Duncan

Wizou 13th February 2008 09:22

good article !!

bbfree 13th February 2008 09:57

Oh!!!! Thank you very much!

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


All times are GMT. The time now is 17:55.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.