Archive: ExecWait error code -9


ExecWait error code -9
this is my code

SetCompressor zlib
OutFile "dxinstall_41.exe"
RequestExecutionLevel admin
Icon "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
AutoCloseWindow false
XPStyle on
ShowInstDetails show


Section "MainSection" SEC01
InitPluginsDir
SetOutPath $PLUGINSDIR
File "dsetup32.dll"
File "DSETUP.dll"
File "dxdllreg_x86.cab"
File "DXSETUP.exe"
File "dxupdate.cab"
File "Mar2009_d3dx9_41_x86.cab"
File "APR2007_xinput_x86.cab"
ExecWait '"$PLUGINSDIR\DXSETUP.exe" /silent' $0
DetailPrint "error code $0"

SectionEnd


I am running a NSIS installer from a webpatcher. it is supposed to extract a bunch of files which it does and than run DXSETUP.exe

execwait should run and take about 2-3 minutes to complete, this works perfectly locally, but fails with error code -9 when run from the webpatcher

ExecWait '"$PLUGINSDIR\DXSETUP.exe" /silent' $0

this is the line that returns -9 (i have no idea what this error code means)

i am running on windows vista ultimate.
I have tried changing the install directory and it does not help.

if i remove the /silent i get an internal error in that line and same error code.

any help or at least letting me know what -9 means would be very great


only DXSETUP.exe would know what the -9 exit code means

Maybe http://www.appdeploy.com/packages/detail_pf.asp?id=169 or http://web.archive.org/web/200308050...xp/directx.htm can help you


MSDN says -9 is an internal error.


ok thnx,
that does not actually help me any more.
any ideas why this does not work?