Bug #22216 GUI Tools install /i ADDLOCAL=MysqlQueryBrowser
Submitted: 9 Sep 2006 23:37 Modified: 17 Nov 2006 14:49
Reporter: Jared S (Silver Quality Contributor) Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:GUI-TOOLS.MSI 21a OS:Windows (WinXP)
Assigned to: Michael G. Zinner CPU Architecture:Any
Tags: install, msi, querybrowser

[9 Sep 2006 23:37] Jared S
Description:
Hi,

I am trying to perform command line install of QB from gui-tools bundle.

But I get libmysqlqb.dll error.  And msgbox asks for re-install of product.

How to repeat:
1 .Unistall QB.
2. Run following commands

msiexec /i F:\mysql-gui-tools-5.0-r1a-win32.msi ADDLOCAL=MysqlGuiToolsCommon /qn
msiexec /i F:\mysql-gui-tools-5.0-r1a-win32.msi ADDLOCAL=MysqlAdministrator /qn

Suggested fix:
Correct issues with the way MySQL QueryBrowser is packed into the HUI tools bundle to allow for 'feature' install from command line.
[9 Sep 2006 23:49] Jared S
Appears package will repair from commandline quite niceley..

msiexec /f F:\mysql-gui-tools-5.0-r1a-win32.msi /passive
[12 Sep 2006 7:35] Sveta Smirnova
Thank you for the report.

> Appears package will repair from commandline quite niceley..

Are you agree this is "Not a bug" then? If you are not, please, explain why and reopen bug.
[12 Sep 2006 22:54] Jared S
This is a bug with the MSI installer for GUI-TOOLS.

I should have power of installing any feature I want from GUI-TOOLS.MSI by specifing unnattended commond line parameters in my first post.

QB is only one that wont do this.  My previous post was a work around.

This is my second MSI installer bug.  Can you give me direct email of person who packs for windows?
[12 Sep 2006 22:56] Jared S
Not yet fixed.
[13 Sep 2006 6:50] Sveta Smirnova
I can install MySQL Query Browser from command line using current GUI Tools package:

C:\My Documents\_installers>msiexec /i mysql-gui-tools-5.0-r3-win32.msi ADDLOCAL=MysqlGuiToolsCommon /qn
C:\My Documents\_installers>msiexec /i mysql-gui-tools-5.0-r3-win32.msi ADDLOCAL=MysqlQueryBrowser /qn
C:\My Documents\_installers>msiexec /f mysql-gui-tools-5.0-r3-win32.msi

You can obtain current 5.0-r3 version of MySQL GUI Tools from http://dev.mysql.com/downloads/gui-tools/5.0.html.
[13 Sep 2006 22:41] Jared S
Sveta,  Looks like you went and run a 3rd command '/f' which fixes the error I was trying to get you to repeat.  Could you please unistall all Tools and only try the first 2 commands.

Thanks
[14 Sep 2006 6:37] Sveta Smirnova
jared, you are right. Thank you to correct me.

But if one issues commands in different they all install fine:

C:\My Documents\_installers>msiexec /i mysql-gui-tools-5.0-r3-win32.msi
ADDLOCAL=MysqlQueryBrowser /qn
C:\My Documents\_installers>msiexec /i mysql-gui-tools-5.0-r3-win32.msi
ADDLOCAL=MysqlGuiToolsCommon /qn
[14 Sep 2006 6:58] Jared S
Have found another problem with r3a bundle where when ever I try to install single component the whole package of components gets installed.

Have you experienced that one?

As long as I can get Admin + QB + ToolsCommon all installed silently without to much fuss, then I would consider the bug closed.
[14 Sep 2006 8:07] Sveta Smirnova
Yes, they install. But if issue commands in order you originally described, there is "not libmysqlqb.dll etc." error. So I will stay status of the bug report as "Verified" to give developers to decide it is bug or not.
[17 Nov 2006 14:49] Michael G. Zinner
Hi,

What you want has to be performed in a single command like this.

msiexec /i F:\mysql-gui-tools-5.0-r1a-win32.msi ADDLOCAL="MysqlGuiToolsCommon,MysqlAdministrator"
/qn

Please note that you must not use a space between the feature listing. The feature "MysqlGuiToolsCommon" is not designed to work as a stand alone installation and therefore you run into issues that lead into the need of repairing the installation.