Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) Version 1706.25.5 fails to install in Visual Studio 2017 (Read 9046 times)
Noël D.
Junior Member
**
Offline


Posts: 19
Location: France
Joined: Jul 12th, 2017
Version 1706.25.5 fails to install in Visual Studio 2017
Jul 12th, 2017 at 4:12pm
Print Post  
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
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #1 - Jul 12th, 2017 at 5:27pm
Print Post  
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: 19
Location: France
Joined: Jul 12th, 2017
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #2 - Jul 12th, 2017 at 5:39pm
Print Post  
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
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #3 - Jul 12th, 2017 at 6:06pm
Print Post  
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: 19
Location: France
Joined: Jul 12th, 2017
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #4 - Jul 13th, 2017 at 9:31am
Print Post  
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
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


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


Posts: 19
Location: France
Joined: Jul 12th, 2017
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #6 - Jul 15th, 2017 at 9:34am
Print Post  
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
 
IP Logged
 
Noël D.
Junior Member
**
Offline


Posts: 19
Location: France
Joined: Jul 12th, 2017
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #7 - Jul 17th, 2017 at 4:12pm
Print Post  
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
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #8 - Jul 17th, 2017 at 4:47pm
Print Post  
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
Select All
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 Install(IInstalledExtension extension)
   at nstalledExtension extension, Boolean forceDelete, Version targetedVSVersion)
   at installedExtensions(IEnumerable`1 installedExtensions, IEnumerable`1 uninstalledExtensions, IEnumerable`1 packComponentChanges, Version targetedVSVersion)
   at lableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetVsVersion)
   at llableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp) 

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


Posts: 19
Location: France
Joined: Jul 12th, 2017
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #9 - Jul 17th, 2017 at 5:50pm
Print Post  
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 Install(IInstalledExtension extension)
   at nstalledExtension extension, Boolean forceDelete, Version targetedVSVersion)
   at 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
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #10 - Jul 17th, 2017 at 6:27pm
Print Post  
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: 19
Location: France
Joined: Jul 12th, 2017
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #11 - Jul 18th, 2017 at 9:44am
Print Post  
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...

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
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #12 - Jul 18th, 2017 at 1:15pm
Print Post  
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: 19
Location: France
Joined: Jul 12th, 2017
Re: Version 1706.25.5 fails to install in Visual Studio 2017
Reply #13 - Jul 18th, 2017 at 5:57pm
Print Post  
Thanks for your clarifications about the different version numbers.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint