|
|
#1 |
|
Junior Member
|
Hello All.
Please tell me. Can I make a install file which will has a version info from another any exe file? Last edited by bbfree; 12th February 2008 at 16:19. |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Use VIProductVersion and VIAddVersionKey. See Examples\VersionInfo.nsi for a usage example.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
|
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. |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Aug 2007
Location: Paris, France
Posts: 304
|
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) My NSIS plug-ins: http://wiz0u.free.fr/prog/nsis.php |
|
|
|
|
|
#5 | |
|
Junior Member
|
Okay. release the program publicly another time.
I need this script. I don't understand how Quote:
Or may NSIS make it, do it? |
|
|
|
|
|
|
#6 |
|
Member
Join Date: Jan 2006
Location: Canberra, Australia
Posts: 76
|
There is an example of how to do exactly this here:
http://nsis.sourceforge.net/Invoking...n_compile-time Duncan |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Aug 2007
Location: Paris, France
Posts: 304
|
good article !!
My NSIS plug-ins: http://wiz0u.free.fr/prog/nsis.php |
|
|
|
|
|
#8 |
|
Junior Member
|
Oh!!!! Thank you very much!
СпаÑибо тебе чувак. Ты реальный перец, реÑпект и уважуха! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|