Bug #87902 MySql for Visual Studio Installation fails
Submitted: 28 Sep 2017 14:18 Modified: 13 Mar 2018 22:47
Reporter: L V Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Visual Studio Integration Severity:S2 (Serious)
Version: OS:Windows
Assigned to: CPU Architecture:Any
Tags: Error 1603, Visual Studio

[28 Sep 2017 14:18] L V
Description:
I am trying to install MySQL for Visual Studio on my PC (Windows 7 SP1 x64, Visual Studio Community 2017) but it fails and the log shows 'error status: 1603'

I can't identify that error code and don't know how to solve it without unistalling VS2017 (I have to use that version).

Thank you in advance.

 

Log fragment:
........................
Action 15:45:52: VS15Setup_Custom. 
MSI (s) (C4:64) [15:45:52:867]: Executing op: CustomActionSchedule(Action=VS15Setup_Custom,ActionType=3073,Source=BinaryData,Target=WixQuietExec,CustomActionData="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv" /updateconfiguration /log)
MSI (s) (C4:64) [15:45:52:887]: Creating MSIHANDLE (84) of type 790536 for thread 7780
MSI (s) (C4:24) [15:45:52:887]: Invoking remote custom action. DLL: C:\Windows\Installer\MSICC6C.tmp, Entrypoint: WixQuietExec
MSI (s) (C4!A0) [15:45:52:975]: Creating MSIHANDLE (85) of type 790531 for thread 4512
WixQuietExec:  Entering WixQuietExec in C:\Windows\Installer\MSICC6C.tmp, version 3.10.3007.0
MSI (s) (C4!A0) [15:45:52:976]: Closing MSIHANDLE (85) of type 790531 for thread 4512
MSI (s) (C4!A0) [15:45:52:976]: Creating MSIHANDLE (86) of type 790531 for thread 4512
WixQuietExec:  "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv" /updateconfiguration /log
MSI (s) (C4!A0) [15:45:52:976]: Closing MSIHANDLE (86) of type 790531 for thread 4512
MSI (s) (C4!A0) [15:45:53:547]: Creating MSIHANDLE (87) of type 790531 for thread 4512
WixQuietExec:  Error 0xffffffff: Command line returned an error.
MSI (s) (C4!A0) [15:45:53:547]: Closing MSIHANDLE (87) of type 790531 for thread 4512
MSI (s) (C4!A0) [15:45:53:547]: Creating MSIHANDLE (88) of type 790531 for thread 4512
WixQuietExec:  Error 0xffffffff: QuietExec Failed
MSI (s) (C4!A0) [15:45:53:547]: Closing MSIHANDLE (88) of type 790531 for thread 4512
MSI (s) (C4!A0) [15:45:53:547]: Creating MSIHANDLE (89) of type 790531 for thread 4512
WixQuietExec:  Error 0xffffffff: Failed in ExecCommon method
MSI (s) (C4!A0) [15:45:53:548]: Closing MSIHANDLE (89) of type 790531 for thread 4512
CustomAction VS15Setup_Custom returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (C4:24) [15:45:53:548]: Closing MSIHANDLE (84) of type 790536 for thread 7780
Action ended 15:45:53: InstallFinalize. Return value 3.
MSI (s) (C4:64) [15:45:53:550]: User policy value 'DisableRollback' is 0
MSI (s) (C4:64) [15:45:53:550]: Machine policy value 'DisableRollback' is 0
MSI (s) (C4:64) [15:45:53:552]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1262255546,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (C4:64) [15:45:53:552]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (C4:64) [15:45:53:552]: Executing op: DialogInfo(Type=1,Argument=MySQL for Visual Studio 1.2.7)
MSI (s) (C4:64) [15:45:53:552]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 15:45:53: Rollback. Rolling back action:
Rollback: VS15Setup_Custom
.....................................

How to repeat:
Install MySQL for Visual Studio 1.2.7 on Windows 7 SP1 x64 (with Visual Studio Community 2017).

Suggested fix:
Uninstall Visual Studio 2017 and install VS 2015, but this isn't a valid solution for me (https://stackoverflow.com/questions/46158752/mysql-for-visual-studio-installation-fails-er...).
[29 Sep 2017 9:21] Chiranjeevi Battula
Hello LV,

Thank you for the bug report.
This is most likely duplicate of Bug #85908, please see Bug #85908

Thanks,
Chiranjeevi.
[13 Mar 2018 22:47] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Installer 1.4.24 release, and here's the changelog entry:

When Microsoft Visual Studio receives a request to register (or
unregister) MySQL for Visual Studio with the IDE during the installation,
Visual Studio might not execute the command properly if the host is
running Windows 7. This fix identifies when Visual Studio does not
register MySQL for Visual Studio as requested and then provides an alert
to perform the registration manually from the Developer Command Prompt for
Visual Studio using the following command: 

devenv /updateconfiguration/log

Thank you for the bug report.