Bug #55311 .net connector 6.2.3 Installer fails
Submitted: 16 Jul 2010 8:10 Modified: 21 Jul 2010 16:34
Reporter: Mario Karagiorgas Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:6.2.3 OS:Windows (XP x64)
Assigned to: Reggie Burnett CPU Architecture:Any
Tags: .net Connector, 6.2.3, installer fails

[16 Jul 2010 8:10] Mario Karagiorgas
Description:
Description:
When trying to install the 6.2.3 .net connector it will progress normally through the install process until toward the end when it rolls back and says 

"MySQL Connector Net 6.2.3 Setup Wizard ended prematurely

MySQL Connector Net 6.2.3 Setup Wizard ended prematurely because of an error..."

Detailed Setup Log attached to private comments.

Environment:
Windows XP x64 with visual studio 2008, .net framework 2.0, 3.5

How to repeat:
Run mysql.data.msi and install using typical --or-- custom settings.
[16 Jul 2010 8:12] Mario Karagiorgas
msiexec /lvx* mysqlcn.log /i mysql.data.msi

Attachment: mysqlcn.log (application/octet-stream, text), 468.04 KiB.

[19 Jul 2010 22:05] MySQL Verification Team
I couldn't repeat on Vista Home Premium X64.
[20 Jul 2010 7:58] Mario Karagiorgas
Neither did I on windows 7. The point is about on Windows XP 64 which is a much different OS than vista or 7.
[20 Jul 2010 19:59] Reggie Burnett
I believe this is a duplicate of bug #53975 which has been fixed.  If it continues after 6.3.3 is release then please re-post
[21 Jul 2010 11:17] Vladislav Vaintroub
I reopen it since I can reproduce it with the latest installer that contains mentioned fixes, on XP x64 VM with only .NET 4.0 installed.

The reason why it fails is that installer is using executable custom actions
and calls  "[WindowsFolder]\Microsoft.NET\Framework\v2.0.50727\installUtil.exe" . Without .NET 2.0 installed, there is not installUtil.exe in this location, but there is one under 
[WindowsFolder]\Microsoft.NET\Framework\v4.0.30319\installUtil.exe
[21 Jul 2010 11:23] Vladislav Vaintroub
install.log

Attachment: install.log (application/octet-stream, text), 274.73 KiB.

[21 Jul 2010 11:26] Vladislav Vaintroub
On a second thought, this is probably different from what Mario had, his log shows installutil.exe logo text (so .NET 2.0 is likely installed) etc, my log says only CAQuietExec:  Error 0x80070002: Command failed to execute

Excerpt:

Action 13:21:54: ManagedDataInstall. Registering data provider in machine.config
MSI (s) (E8:2C) [13:21:54:512]: Executing op: CustomActionSchedule(Action=ManagedDataInstall,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="C:\WINDOWS\\Microsoft.NET\Framework\v2.0.50727\installUtil.exe" /LogToConsole=false /LogFile=  "C:\Program Files (x86)\MySQL\MySQL Connector Net 6.3.2\Assemblies\v2.0\MySql.Data.dll")
MSI (s) (E8:5C) [13:21:54:512]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI6.tmp, Entrypoint: CAQuietExec
CAQuietExec:  Error 0x80070002: Command failed to execute.
CAQuietExec:  Error 0x80070002: CAQuietExec Failed
[21 Jul 2010 16:34] Reggie Burnett
Reclosing this bug report as it is not the same problem and I have fixed the installer bug Vlad is reporting.