Archive: Help with ExecWait


Help with ExecWait
I do not understand why this batch file would not execute, I'm successfully executing other batch files but not this one?? Why??

I'm including the Code as well.

Thanks for any advice.

;--------------------------------
; The name of the installer
Name "Test2"

; The file to write
OutFile "Test2.exe"

;Default installation folder
InstallDir "$PROGRAMFILES\Test"

;--------------------------------
; Pages
Page directory
Page instfiles


Section ""

SetOutPath "$INSTDIR"

ExecWait "$INSTDIR\Tomcat5\bin\service.bat install LocalAlert"

SectionEnd


You forgot to quote the batch path. Use:

ExecWait '"$INSTDIR\batch.bat" parms'

Yes, I did, thank you for help.