Archive: ExecWait... cannot wait for MySQL setup


ExecWait... cannot wait for MySQL setup
Hi all,

WHen I run

ExecWait mysqlv5.0_setup.exe
IfErrors label_install_failed label_install_ok


The returned error seems to be the one of the files decompression since the DB is not installed yet but my installer goes to label_install_failed.

I thought about encapsulating the MySQL setup inside a .bat, to read the returned error after the complete install. But I prefer to ask you before since you ever had good advice...

And there is a drawback to that trick: upgrading the MySQL version would mean modifying the .bat too.

Gal'

The FAQ has your answer:

http://nsis.sourceforge.net/When_I_u...doesn%27t_wait


Thanks ;)

Anyone did it yet for MySQLv5.0 installer ? It is using WIX and MSI, but I read the unattended page, and I know that I should launch the MySQL setup like that:

msiexec /qb /l* perl-log.txt /i ActivePerl.msi PERL_PATH=Yes PERL_EXT=Yes

But how can I do that with the .exe ? No idea about getting the package name to setup...

Gal'


It can't be WiX if it's an executable, unless they've used a wrapper around the MSI file in which case the MSI can probably be found in the temporary directory.

In any case, I'm sure MySQL documentation provides some insight on this topic.


Yep, but what I can read in official doc is very short.

I have found two msi files decompressed by the executable, mysql_server.msi, plus another one sharing the same size, with a generated name (looks like '[0-9]{6}.msi'). This .msi seems to be a clone of mysql_server.msi, and is destroyed after any install cancellation, but mysql_server.ini.

I think I have to spend more time with .msi documentation and handle the mysql_server.msi directly through msiexec.

Thanks for your help, kichik.

Gal'