Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Version 1706.25.5 fails to install in Visual Studio 2017 (Read 1066 times)
Noël D.
Junior Member
**
Offline



Posts: 8
France
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #13 - Jul 18th, 2017 at 6:57pm
 
Thanks for your clarifications about the different version numbers.
Back to top
 

-Noël
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8074
United Kingdom
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #12 - Jul 18th, 2017 at 2:15pm
 
Excellent well done and thanks for the post.

Yes there is an internal api version in tools>options and an external gallery version. They can be different and the ones you have are correct.

Back to top
 
WWW  
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 8
France
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #11 - Jul 18th, 2017 at 10:44am
 
I first attempted to uninstall Visual Micro but I received the same error again and the vMicro menu was still there in IDE.

I installed a Visual Studio update that I had in the notifications and closed.

In File Explorer, I found two Visual Micro extension folders:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\ebyfft1h.qcd
(created July 17, 2017 and same path as Version > Assembly)

I also found:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\bjgs31r1.33a

(Created on 4/4/2017) I temporarily moved that folder to the Desktop

I then deleted the VSIX .cache files in
%localappdata%\Microsoft\VisualStudio\15.0_1f0da7c7\Extensions

In Tools > Options... > Visual Micro:
System > Available version 1.1706.25
Version > Version 1.1706.25

I attempted to uninstall the extension again and this time the uninstall was successful! The vMicro menu was gone in the IDE.

I downloaded Arduino IDE for Visual Studio from https://marketplace.visualstudio.com/items?itemName=VisualMicro.ArduinoIDEforVis
ualStudio

The installation was successful this time. The vMicro menu is back in the IDE.

Tools > Options... > Visual Micro
System > Available version 1.1706.25
Version > Version 1.1706.25

Extensions and Updates... > Installed
Arduino IDE for Visual Studio Version 1.1707.14.9

I don't know if it is expected that two different version numbers appears in Version > Version and Installed tabs?

Thanks for your support.
Back to top
 

-Noël
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8074
United Kingdom
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #10 - Jul 17th, 2017 at 7:27pm
 
Thanks. It sounds like vs has broken it's knowledge of what is installed or the vsix installer needs repair.

1)
You can find where visual micro is installed in tools>options>visual micro>version>assembly.

2)
Then could try uninstall again.  Restart the ide after uninstall to be sure visual micro is not loaded (no vMicro menu)

3)

After uninstall use windows explorer to go to the location where your vs extensions are located. That will be a parent of the location you found in the previous step

3)
Visual studio tends to leave older copies of extensions in the extensions location. You could move or delete any folders that contain visual micro files. You will see that quite a few dll files start with Visual.Micro. so you will know it is a visual micro extension folder.

4)
After try installing the visual micro extension. If that still raises an error then the issue is that the vsix temp build system is picking up some old cached installer info that it should have deleted/removed and requires repair or vs requires reset/repair.

Very annoying, sorry.
Back to top
 
WWW  
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 8
France
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #9 - Jul 17th, 2017 at 6:50pm
 
I seems like I was able to uninstall V1.1706.25 then I downloaded the latest version from the Visual Micro website. I got the same error message but V1707.14.9 does show in Update > Visual Studio Marketplace. In Options > Visual Micro > General > Version > Version is 1.1706.25. And when I try to uninstall it, I get the same error but the log file says V1703.31.0 !

Quote:
17/07/2017 19:39:59 -      Identifier         : c2b94433-1774-4242-8062-987a4484f1ed
17/07/2017 19:39:59 -      Name               : Arduino IDE for Visual Studio
17/07/2017 19:39:59 -      Author             : Visual Micro
17/07/2017 19:39:59 -      Version            : 1703.31.0
17/07/2017 19:39:59 -      Description        : Supports Arduino and all clones (ESP82xx, Intel etc.). Extension


Quote:
17/07/2017 19:40:14 - Uninstalling 'Arduino IDE for Visual Studio', version 1703.31.0.
17/07/2017 19:40:17 - System.InvalidOperationException: The VSIX's catalog does not include a 'Component' which is required for install/uninstall.
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineUn
Install(IInstalledExtension extension)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.UninstallInternal(II
nstalledExtension extension, Boolean forceDelete, Version targetedVSVersion)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.Uninstall(IInstalled
Extension extension, Version targetedVSVersion)
   at VSIXInstaller.InstallProgressPage.UninstallVsix(String vsixId, SupportedVSSKU targetSku, IProgress`1 progress)


I did try with and without admin rights.
Back to top
 

-Noël
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8074
United Kingdom
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #8 - Jul 17th, 2017 at 5:47pm
 
Yeah that's funny and typically useless of Microsoft. There is little point in asking them anything. All the support person has done is quote back to you the error that is shown in the report you attached to your first post in this thread.

Visual micro has the same simple vsix xml manifest that other extensions also use. After that it is entirely up to Microsoft to build the vsix file and entirely up to them to run it and do whatever they do during install.

The error looks to be an issue installing the previous version.

Similar thread here

https://social.msdn.microsoft.com/Forums/vstudio/en-US/8467c05b-d2b1-4908-8149-5...

I would try to uninstall the version of visual micro you have installed if that works then you will find the install works okay.

If not try running vs 2017 as administrator then try the uninstall

The whole installer system is a Microsoft black box and for each major new release they just screw it up even more. Sorry you are hit with this and I wish I had more control over it.

This is the error you have hit

Code:
12/07/2017 17:55:05 - Install Error : System.InvalidOperationException: The VSIX's catalog does not include a 'Component' which is required for install/uninstall.
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineUnInstall(IInstalledExtension extension)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.UninstallInternal(IInstalledExtension extension, Boolean forceDelete, Version targetedVSVersion)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.CommitInstalledAndUninstalledExtensions(IEnumerable`1 installedExtensions, IEnumerable`1 uninstalledExtensions, IEnumerable`1 packComponentChanges, Version targetedVSVersion)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetVsVersion)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp) 

Back to top
« Last Edit: Jul 17th, 2017 at 5:49pm by Visual Micro »  
WWW  
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 8
France
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #7 - Jul 17th, 2017 at 5:12pm
 
For what it is worth, here is the reply I received from a MS engineer in the Visual Studio Community:

-----
The error "The VSIX's catalog does not include a 'Component' which is required for install/uninstall." is an indication of an authoring error made by the extension author. I would suggest contacting Visual Micro so they can fix this issue in their extension.
-----

This is just for information since version 1706.25 that is currently installed on my system does work for me.

Thanks,
Back to top
 

-Noël
 
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 8
France
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #6 - Jul 15th, 2017 at 10:34am
 
I just tried with version 1707.14.9 and get an error as well but the difference is that both Version and Available version show 1.1706.25.

I also noticed that some extensions by Microsoft (Align Assignments, Editor Guidelines, ...) won't install either so it seems like the latest VS2017 Update 3 is broken.

Thanks,
Back to top
 

-Noël
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8074
United Kingdom
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #5 - Jul 14th, 2017 at 10:06pm
 
Thanks
Back to top
 
WWW  
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 8
France
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #4 - Jul 13th, 2017 at 10:31am
 
I just checked and it does show version 1.1706.25 so it is installed. System > Available version also shows 1.1706.25. I'll dismiss the notification for now.

Thanks,
Back to top
 

-Noël
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8074
United Kingdom
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #3 - Jul 12th, 2017 at 7:06pm
 
Thanks.

What version number is shown in tools>options.visual micro>version>version?
Back to top
 
WWW  
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 8
France
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #2 - Jul 12th, 2017 at 6:39pm
 
Hi,

Yes Visual Micro works and compiles some code, it is just that the version remains at 1703.31.0 after the update attempt.

Thanks for your information.

Noël
Back to top
 

-Noël
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8074
United Kingdom
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #1 - Jul 12th, 2017 at 6:27pm
 
Hi,

I got a similar message but the extension had installed correctly. Did you open vs to see if Visual Micro is working?

more info

I just tried to update to the source code to the latest microsoft vs2017 installer extension and it "failed" with a similar error. Microsoft have produced a new install system for vs2017 and do far it's a dog!

I will look into some more during the next few days

Thanks
Back to top
 
WWW  
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 8
France
Version 1706.25.5 fails to install in Visual Studio 2017
Jul 12th, 2017 at 5:12pm
 
Hello,

When I attempt to install the latest version of Visual Micro, I get the following message:

---------------------------
VSIX Installer
---------------------------
The VSIX's catalog does not include a 'Component' which is required for install/uninstall.
---------------------------
OK   
---------------------------

The current version is 1703.31.0

I both tried from Visual Studio 2017 Tools > Extensions and Updates... and using the download from the visualmicro.com website to no avail.

I've attached the log file.

Thanks

Noël
Back to top
 

-Noël
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print