Search code examples
asp.netdynamicnsis

Execute a specific vbs cript in NSIS with custom parameter / argument input configuration


I am trying to get coorrect sytax to call these two commands using nsExec::ExecuteToStack, but still got no successful execution. Proboably I have wrong input formatting.

1st command:

nsExec::ExecToStack `"$SYSDIR\CScript.exe" $0 //$SYSDIR\iisext.vbs //EnApp //"ASP.NET 4.0.30319"`

2nd command:

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true”

, which, imho, should be something similar to:

nsExec::ExecToStack /NOUNLOAD `"$SYSDIR\CScript.exe" $0 //C:\Inetpub\Adminscripts\adsutil.vbs //set "W3SVC/AppPools/Enable32BitAppOnWin64" “true”`

Could you please help me making correct execution string for ExecuteToStack function?

Thank you very much!!!


Solution

  • Seems like I have found a correct sytax for this one :)

    Link:

    http://forums.winamp.com/showthread.php?t=290922

    Thank you that I found it because I simply do not uderstand why it works :D