Archive: ExecWait to wait on MySQL installation


ExecWait to wait on MySQL installation
I'm trying to install and start MySQL within my script, but it seems like ExecWait doesn't wait for the "whole thningy" to end, just until the process that starts the MySQL installation to end. The problem is that after I run

ExecWait "$INSTDIR\mysql\setup.exe"

I also want to do

Exec "C:\mysql\bin\mysqld-nt.exe --install".

Since the installation and install process wants to use the same space the MySQL installer fails to install. In other word, is there any other way to force the script to wait for the installer to really finish? Any suggestions?


If it's an InstallShield installer use this:
http://forums.winamp.com/showthread....ghlight=%2Fsms

The page linked from there also talks about other installers so you should be able to find MySQL's installer there.

If anything else fails you can always tell the user to click OK on a message box when the installation is over.