|
|
#1 |
|
Junior Member
Join Date: Jul 2008
Posts: 26
|
ExecWait with parameters?
My program requires .Net framework so I do a check for it and if its not installed, I install it like so:
File /oname=$PLUGINSDIR\dotnetfx3.exe "..\..\Support\dotnetfx3.exe" ExecWait '$PLUGINSDIR\dotnetfx3.exe /q /norestart' $R0 Doing it this way requires packing the .net installer into my installer which makes the size of my installer pretty big. What I want to be able to do is just call the .net installer directly from the "..\..\Support\dotnetfx.exe" directory. So I tried doing this: ExecWait '$PLUGINSDIR\dotnetfx3.exe /q /norestart' $R0 The reason the directory structure is different for this call is because the NSIS Script and the Executable it produces are in two different directories. When I call the .net installer this way it wont recognize the parameters and it just launches the regular installer. But I need the .net installer to run in silent mode. What am I doing wrong? Note: Eventually I want to be able to pack all this onto a CD, if that changes anything |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|