Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Install exe in NSIS (http://forums.winamp.com/showthread.php?t=282098)

MSnet 25th November 2007 22:57

Install exe in NSIS
 
Hello,
How can I make it so that if the end user selects .net framework in the files to install part of the installation it will launch the .net framework exe I included in the installation instead of installing the exe into the install path making the user have to do it manually?


Thanks

Afrow UK 25th November 2007 23:38

Something like this:
code:
SetOutPath $PLUGINSDIR
File dotnetfx.exe
ExecWait `"$PLUGINSDIR\dotnetfx.exe" /q:a /c:"install.exe /noaspupgrade /q"` $R0



That will perform a silent installation. You can check the value of $R0 with StrCmp or ${If} to determine if the installation was successful. $R0 will be 0 on success.

Stu


All times are GMT. The time now is 04:09.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.