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
Normal Topic Cannot upgrade or uninstall (Read 1787 times)
NiH
Newbies
*
Offline


Posts: 2
Joined: Mar 27th, 2017
Cannot upgrade or uninstall
Feb 11th, 2018 at 11:27am
Print Post  
I am running Visual Studio 2017 Community with the Visual Micro extension, version 1709.6.0. I get notifications from VS about an update of Visual Micro. When I try to install this update, I get this error message:

Code
Select All
A value for 'Component' needs to be specified in the catalog. 



I decided to try to uninstall and re-install the extension, but uninstalling gives the same error. This is the (I think) relevant portioin of the uninstallation log:

Code
Select All
11/02/2018 12:15:50 - Uninstalling 'Arduino IDE for Visual Studio', version 1709.6.0.
11/02/2018 12:15:50 - pkgCatalogPath is 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\53GGN0BH.0I3\catalog.json'.
11/02/2018 12:15:55 - vsPkg.Version is '1709.6.0'.  extension.Header.Version is '1709.6.0'
11/02/2018 12:15:55 - Unable to find component in product catalog with this ID: Component.c2b94433-1774-4242-8062-987a4484f1ed,version=1709.6.0
11/02/2018 12:15:55 - System.InvalidOperationException: A value for 'Component' needs to be specified in the catalog.
   at Install(IInstalledExtension extension, Boolean downgrade)
   at nstalledExtension extension, Boolean forceDelete, Version targetedVSVersion, Boolean downgrade)
   at Extension extension, Version targetedVSVersion)
   at VSIXInstaller.InstallProgressPage.UninstallVsix(String vsixId, SupportedVSSKU targetSku, IProgress`1 progress) 



Any guidance on how to proceed? Thanks in advance.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot upgrade or uninstall
Reply #1 - Feb 11th, 2018 at 6:34pm
Print Post  
Microsoft are pretty bad with their installers. The .vsix extensions are zip files and Microsoft create them and run them.

I think this means the temp folder the installer uses has issues. It might be resolved by running a visual studio repair via control panel>add or remove programs>visual studio 2017

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint