|
|
#1 |
|
Junior Member
Join Date: Jun 2011
Posts: 2
|
Argument Passing to nsi file
Hi
I am new in nsis scripting . I want to do argument logic with nsis script . Like i want to putt the outputfile name as a argument of nsis . ./makensis.exe installer.nsi <OUTPUT_FILE_NAME> If its possible then how to use this value with in script . Many thanks |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
http://nsis.sourceforge.net/Docs/Chapter3.html
I see no mention of an outfile parameter. So what you can do is write your desired outfile command to an outfile.nsh and then !include that at the top of your nsi script. |
|
|
|
|
|
#3 |
|
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
put something like this in your script
OutFile ${OUTFILE} then you can use makensis.exe /DOUTFILE="My Great Installer.exe" |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|