MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: can't install mysql form visual studio 1.2.7
Date: October 18, 2017 04:36PM

Hello Marco,
after reviewing the log provided as part of your bug I've identified that the installation is rolling back whenever it tries to execute the command "devenv /updateconfiguration /log", which is the last step of the installation. This command signals Visual Studio to reload the extensions, including the MySQL for Visual Studio plugin, however for some strange reason (probably due to one of the recent VS updates) execution of said command is failing.

The current workaround is to remove the execution of the failing command from the MSI and after installation of the plugin proceed to execute the command manually. Steps to achieve that are as follows(I'll try to be as detailed as possible but feel free to ask any questions if something isn't clear enough):

1. Download and install Orca. Orca is a light Windows Installer Development tool that allows to edit MSIs.
2. In Windows explorer, right click the MySQL for Visual Studio MSI file and select "Edit with Orca".
3. Click the "InstallExecuteSequence" item located under the "Tables" section on the left side of the window.
4. If you're trying to install in VS Community right click the "SetVS15Setup_Custom" action and select "Drop Row" option. Do the same for "VS15Setup_Custom". Similar elements exist for VS Professional/Enterprise.
5. Save changes and retry installation of MySQL for Visual Studio.
6. Once installation completes, open the "Developer Command Prompt for VS 2017". It can be found in VS 2017's start menu folder.
7. In the command prompt execute the command "devenv /updateconfiguration /log" and wait for it to complete.

I hope that the steps provided are of help. I'll also post again if I'm able to find a more straight-forward workaround.


Jose Maria Ramirez
MySQL Windows Experience Team

Options: ReplyQuote

Written By
Re: can't install mysql form visual studio 1.2.7
October 18, 2017 04:36PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.