I've got ExecDos::exec working correctly for me but it is running extremely slow. The .bat file runs quickly through a command prompt (~1sec) but via ExecDos it takes ~1min or more.
The .bat file uses JScript to run an .exe which has DLLs installed in the INSTDIR. I'm using Win7. Appreciate any hints on how to troubleshoot this.
ExpandEnvStrings $0 %COMSPEC%
ExecDos::exec /NOUNLOAD /TOSTACK '"$0" /C "$\"$INSTDIR\bin\mybat.bat$\" ${SERVER}"' "" ""
PS: I've also created a dummy .bat file that does a simple echo and it too takes a very long time.
Thanks.