Archive: ExecWait wont wait when burned to DVD


ExecWait wont wait when burned to DVD
Hi,

I made an installer for a mod that also installs a game, a patch and a game expansion during this mods installation. I use execWait to run each of these components (setup.exe) 1 by 1. This works fine until i try burning it to a DVD. When I do it tries to run the first to exes 1 right after the other. Anyone know why this might be happening. If i copy the installer to the HD from the dvd then run it, it works fine...


can you attach the script or paste the portion of the code with the execwait cmd?


Sorry,


IfFileExists "$INSTDIR\Content\System\Swat4.exe" CheckSwatExpansion
MessageBox MB_ICONINFORMATION|MB_OK "Swat 4 will now be installed. Please have your Swat 4 CD Key ready."
goto InstallSwat


CheckSwatExpansion:
IfFileExists "$INSTDIR\ContentExpansion\System\Swat4X.exe" InstallCFDA
MessageBox MB_ICONINFORMATION|MB_OK "Swat 4 update and Swat 4 Expansion will now be installed. Please have your Swat 4 Expansion CD Key ready."
goto InstallSwatExpansion

InstallSwat:
ClearErrors
DetailPrint "Installing Swat 4."
ExecWait "Swat 4\setup.exe"
IfErrors ErrorMessage

InstallSwatExpansion:
DetailPrint "Installing Swat Patch."
ExecWait "Swat 4 Expansion\swat4_update_en_10_11.exe"
IfErrors ErrorMessage
DetailPrint "Installing Swat Expansion."
ExecWait "Swat 4 Expansion\setup.exe"
IfErrors ErrorMessage
goto Check

try ExecWait "$EXEDIR\Swat 4 Expansion\setup.exe" or whatever the correct structure would then be


Try:

http://forums.winamp.com/showthread....&highlight=dvd