Prev Previous Post   Next Post Next
Old 1st October 2008, 21:09   #1
patelb
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
patelb is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump