|
|
#1 |
|
Junior Member
Join Date: Jul 2007
Posts: 8
|
Hi,
Anybody aware of the usage of GetParameters function in NSIS?? Which command line parameter does this function fetch?? I mean, where should the command line parameter be given?? If anybody knows, plz reply... Thanks, Ramya |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Mar 2006
Posts: 29
|
it gets all parameters, you can then use GetOptions to check for specific parameters.
how i do it: 1) includes: code: 2) oninit: code: 3) parseParameters function: code: |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2007
Posts: 8
|
Thanks theblazingangel for the reply. Could you please tell me where we give the command line parameters for a .nsi file? Is it like
abc.nsi /norun Also is it possible to give command-line parameters like in any other files.... like xyz.c "1" "abcd" Here "1" and "abcd" are cmd-line parameters. Is a similar thing possible in abc.nsi file?? Thanks, Ramya |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Mar 2006
Posts: 29
|
no no no, you don't pass the command line parameters to a .nsi file, you compile the .nsi file into a .exe and then you can pass the parameters to the .exe you've made.
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2009
Posts: 1
|
theblazingangel, this is possibly the best written post I've ever seen. Clear and effective.
Thank you |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Jun 2011
Posts: 2
|
Hi
Can it be possible to give argument to nsi script ? I want to make the script Generalize . |
|
|
|
|
|
#7 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
uahmed: You already asked this question in your own thread. In fact, I already *replied* there. Please don't ask the same question twice.
http://forums.winamp.com/showthread.php?t=331740 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|