|
|
#1 |
|
Junior Member
Join Date: Feb 2010
Posts: 4
|
remove command line parameters
Hi,
Is it possible to remove specific command line arguments from within nsi script which are passed into the executable. I am currently retrieving paramters specified to the executable using GetParameters. These parameters are then passed into a Java class which the nsi script executes. However, I want to pass in additional parameters into the executable which can be read from the nsi script, but then removed before they are passed into the Java application Thanks |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
GetOptions is probably the macro you need. It's in FileFunc.nsh.
Or just use StrCmp and StrCpy a couple of times. There's a 'findsubstring' macro or something as well, in textfunc.nsh I think. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2010
Posts: 4
|
Thanks MSG very much appreciated. I will give it a go.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|