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?