VS Arduino
Visual Micro >> Installation & Troubleshooting >> VSIX Installer: Installation failed
https://www.visualmicro.com/forums/YaBB.pl?num=1565262740

Message started by KulaGGin on Aug 8th, 2019 at 11:12am

Title: VSIX Installer: Installation failed
Post by KulaGGin on Aug 8th, 2019 at 11:12am
When I open Visual.Micro.Arduino.Studio_1908_5_0.vsix file, it shows this window:


Here's the log from View Install Log button:

Code (]08.08.2019 14:08:58 - Microsoft VSIX Installer
08.08.2019 14:08:58 - -------------------------------------------
08.08.2019 14:08:58 - Initializing Install...
08.08.2019 14:08:58 - Extension Details...
08.08.2019 14:08:58 -      Identifier      : c2b94433-1774-4242-8062-987a4484f1ed
08.08.2019 14:08:58 -      Name            : Arduino IDE and GDB for Visual Studio
08.08.2019 14:08:58 -      Author          : Visual Micro
08.08.2019 14:08:58 -      Version         : 1908.5.0
08.08.2019 14:08:58 -      Description     : A fully compatible Arduino Edit, Build , Deploy and Debug tool. All Arduino IDE versions are supported. This is an admin install for all users. (optional Arduino debugger and more!). Supports Arduino and all clones (AVR, SAMD, ESP, STM32, Intel, Ti etc.). Supports Hadrware/GDB and Serial debugging of mulitple .ino, cpp files, libraries and core. Teams can split code into shared projects.

Free to download and evaluate. The software will continue to work after 90 days of evaluation but please buy if you continue to use it. Thanks!

NOTE: This free Arduino plugin is upated frequently, please switch off auto-update via 'tools>extensions and updates' if the update prompt annoys you.

Latest release provides a number of fixes and additions. Please see the 'Release Notes' at www.visualmicro.com

Visual Micro supports many different types of hardware and code libraries. These can be installed manually or using the automated installation tools provided by this extension.
08.08.2019 14:08:58 -      Locale          : en-US
08.08.2019 14:08:58 -      MoreInfoURL     : https://www.visualmicro.com/
08.08.2019 14:08:58 -      InstalledByMSI  : False
08.08.2019 14:08:58 -      SupportedFrameworkVersionRange : [0.0,2147483647.2147483647):


08.08.2019 14:08:58 -
08.08.2019 14:08:58 -      Supported Products :
08.08.2019 14:08:58 -            Microsoft.VisualStudio.Pro
08.08.2019 14:08:58 -                  Version : [15.0.27220,16.99)
08.08.2019 14:08:58 -            Microsoft.VisualStudio.Community
08.08.2019 14:08:58 -                  Version : [15.0.27220,16.99)
08.08.2019 14:08:58 -            Microsoft.VisualStudio.Enterprise
08.08.2019 14:08:58 -                  Version : [15.0.27220,16.99)
08.08.2019 14:08:58 -
08.08.2019 14:08:58 -      References      :
08.08.2019 14:08:58 -
08.08.2019 14:08:58 - Searching for applicable products...
08.08.2019 14:08:58 - Found installed product - Global Location
08.08.2019 14:08:58 - Found installed product - AtmelStudio
08.08.2019 14:08:58 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
   at VSIXInstaller.App.InitializeInstall()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()


I have Visual Studio installed 100% and I installed other extensions:


I'm on Windows 10 x64. Let me know if you need more info about my system.

Is there any way to fix this?

Title: Re: VSIX Installer: Installation failed
Post by Visual Micro on Aug 8th, 2019 at 11:15am
I think your vsixinstaller.exe is pointing to an old version of vsiaul studio.

Please install from inside the IDE using tools>extensions and updates>online in vs2017 or extensions>extension manager>online in vs2019

When you install from inside the IDE microsoft use the vsixinstaller.exe that is installed with the IDE. They have made a mess of the installer alongside other things :)

Title: Re: VSIX Installer: Installation failed
Post by KulaGGin on Aug 8th, 2019 at 11:22am

Tim@Visual Micro wrote on Aug 8th, 2019 at 11:15am:
I think your vsixinstaller.exe is pointing to an old version of vsiaul studio.


I don't have any old versions on this system. Only 2017 and 2019. Never had any older versions of VS than these on this system.


Tim@Visual Micro wrote on Aug 8th, 2019 at 11:15am:
Please install from inside the IDE using tools>extensions and updates>online in vs2017 or extensions>extension manager>online in vs2019
When you install from inside the IDE microsoft use the vsixinstaller.exe that is installed with the IDE. They have made a mess of the installer alongside other things :)

Ok. But isn't it going to be a problem with other extensions? How do I install vsix extensions using the vsix installer that goes with the IDE?
What vsix installer does it use when I double click on .vsix files?

Title: Re: VSIX Installer: Installation failed
Post by Visual Micro on Aug 8th, 2019 at 11:24am
The vsix files are just zip files. Microsoft is responsible for everything.

Please read my previous message more carefully. Here is it again


Quote:
from inside the IDE using tools>extensions and updates>online in vs2017 or extensions>extension manager>online in vs2019

Title: Re: VSIX Installer: Installation failed
Post by KulaGGin on Aug 8th, 2019 at 11:32am

Tim@Visual Micro wrote on Aug 8th, 2019 at 11:24am:
Please read my previous message more carefully. Here is it again


Quote:
from inside the IDE using tools>extensions and updates>online in vs2017 or extensions>extension manager>online in vs2019

Yes, thanks, I read it.

I tried it and it works in Visual Studio 2017. It looks like it installs vsix from inside the IDE just fine.


But I also have Atmel Studio and for whatever reason it doesn't want to connect to online extensions(In Extensions & Updates window) there. So I can't install it for Atmel Studio this way.

Do you know of a way to manually install this vsix using IDE's vsix installer? Something like to provide manually downloaded Visual.Micro.Arduino.Studio_1908_5_0.vsix as a command line argument to vsixinstaller.exe in Atmel Studio(And VS2017 and 2019 if you can't connect to Extensions & Updates)?

But I don't know how it all works, it's just an idea from what you told me about vsixinstaller.exe which gets installed with IDE. And it can take me hours to figure out how to install that vsix using vsixinstaller.exe from the installed IDE.

Title: Re: VSIX Installer: Installation failed
Post by Visual Micro on Aug 8th, 2019 at 11:39am
The atmel studio version is different. Atmel have their own gallery and project system. Again please install from inside atmel studio ide.

Atmel studio is VS2015, this is the complication with other visxinstaller.exe versions.

Title: Re: VSIX Installer: Installation failed
Post by KulaGGin on Aug 8th, 2019 at 12:01pm

Tim@Visual Micro wrote on Aug 8th, 2019 at 11:39am:
The atmel studio version is different. Atmel have their own gallery and project system. Again please install from inside atmel studio ide.

Atmel studio is VS2015, this is the complication with other visxinstaller.exe versions.

Thank you for quick answers. Well, I figured out how to solve the problem with vsix installations. It was so simple: just press RMB on .vsix file > open with > choose another app > Microsoft Visual Studio Version Selector.
Made a video for people that will find this thread in the future through google or forum search:
https://www.youtube.com/watch?v=dEPIvzBw6H4

1+ hour to solve a problem that can be fixed in 3 seconds.

> Microsoft

Title: Re: VSIX Installer: Installation failed
Post by Visual Micro on Aug 8th, 2019 at 1:04pm
That's great thanks. Doing a repair on vx2019 woud also have applied the latest vsixinstaller again. I suspect you will hit the same issue if you update or reinstall atmel studio after visual studio. I also suspect that all extensions for vs 2017 or above would have failed to install and that you installed your other vs extensions before you lates updated or installed atmel studio.

I have to say that atmel studio is a difficult IDE and that is why we don't plug it.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.