3F / vsSolutionBuildEvent

🎛 Event-Catcher with variety of advanced Actions to service projects, libraries, build processes, runtime environment of the Visual Studio, MSBuild Tools, and …
Other
79 stars 22 forks source link

installer fails if Atmel studio is installed on computer #60

Closed rezodlub closed 4 years ago

rezodlub commented 4 years ago

I have both Visual studio 2017 and Atmel Studio 7 installed. When I try to update vsSolutionBuildEvent I get an error that 'This extension is not installable on any currently installed products.' You can download Atmel studio from https://www.microchip.com/mplab/avr-support/atmel-studio-7 Installation log follows:

    1. 2019 13:58:48 - Microsoft VSIX Installer
    1. 2019 13:58:48 - -------------------------------------------
    1. 2019 13:58:49 - Initializing Install...
    1. 2019 13:58:49 - Extension Details...
    1. 2019 13:58:49 - Identifier : 94ecd13f-15f3-4f51-9afd-17f0275c6266
    1. 2019 13:58:49 - Name : vsSolutionBuildEvent
    1. 2019 13:58:49 - Author : GitHub3F
    1. 2019 13:58:49 - Version : 1.14.0
    1. 2019 13:58:49 - Description : Event-Catcher with variety of advanced Actions to service projects, libraries, the build processes and processes at runtime from VisualStudio and MSBuild Tools.
    1. 2019 13:58:49 - Locale : en-US
    1. 2019 13:58:49 - MoreInfoURL : https://github.com/3F/vsSolutionBuildEvent
    1. 2019 13:58:49 - InstalledByMSI : False
    1. 2019 13:58:49 - SupportedFrameworkVersionRange : [4.0,)
    1. 2019 13:58:49 -
    1. 2019 13:58:49 - Supported Products :
    1. 2019 13:58:49 - Microsoft.VisualStudio.Ultimate
    1. 2019 13:58:49 - Version : [10.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Ultimate
    1. 2019 13:58:49 - Version : [11.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Ultimate
    1. 2019 13:58:49 - Version : [12.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Ultimate
    1. 2019 13:58:49 - Version : [14.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Ultimate
    1. 2019 13:58:49 - Version : [15.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Premium
    1. 2019 13:58:49 - Version : [10.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Premium
    1. 2019 13:58:49 - Version : [11.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Premium
    1. 2019 13:58:49 - Version : [12.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Premium
    1. 2019 13:58:49 - Version : [14.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Premium
    1. 2019 13:58:49 - Version : [15.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Pro
    1. 2019 13:58:49 - Version : [10.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Pro
    1. 2019 13:58:49 - Version : [11.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Pro
    1. 2019 13:58:49 - Version : [12.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Pro
    1. 2019 13:58:49 - Version : [14.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Pro
    1. 2019 13:58:49 - Version : [15.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.IntegratedShell
    1. 2019 13:58:49 - Version : [10.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.IntegratedShell
    1. 2019 13:58:49 - Version : [11.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.IntegratedShell
    1. 2019 13:58:49 - Version : [12.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.IntegratedShell
    1. 2019 13:58:49 - Version : [14.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.IntegratedShell
    1. 2019 13:58:49 - Version : [15.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Community
    1. 2019 13:58:49 - Version : [12.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Community
    1. 2019 13:58:49 - Version : [14.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Community
    1. 2019 13:58:49 - Version : [15.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Enterprise
    1. 2019 13:58:49 - Version : [12.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Enterprise
    1. 2019 13:58:49 - Version : [14.0]
    1. 2019 13:58:49 - Microsoft.VisualStudio.Enterprise
    1. 2019 13:58:49 - Version : [15.0]
    1. 2019 13:58:49 -
    1. 2019 13:58:49 - References :
    1. 2019 13:58:49 - -------------------------------------------------------
    1. 2019 13:58:49 - Identifier : Microsoft.VisualStudio.MPF
    1. 2019 13:58:49 - Name : Visual Studio MPF
    1. 2019 13:58:49 - Version : [10.0,)
    1. 2019 13:58:49 - MoreInfoURL :
    1. 2019 13:58:49 - Nested : No
    1. 2019 13:58:49 -
    1. 2019 13:58:49 -
    1. 2019 13:58:49 - Searching for applicable products...
    1. 2019 13:58:49 - Found installed product - Global Location
    1. 2019 13:58:49 - Found installed product - AtmelStudio
    1. 2019 13:58:49 - 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()
3F commented 4 years ago

@rezodlub, Did you try with SDK 15 packages? This is more like SDK 10 package from your log above.

https://vssbe.r-eg.net/doc/Usage/#sdk10--sdk15-versions

Starting from VS2019 you need use only SDK15 packages.
VS2017: SDK10 or SDK15 (recommended)

Although SDK10 is available for VS2017, it will not provide full support as for the modern SDK15. Please check this out.

rezodlub commented 4 years ago

SDK15 doesn't help at all. Installer fails just the same. Logs below:

    1. 2019 09:55:49 - Microsoft VSIX Installer
    1. 2019 09:55:49 - -------------------------------------------
    1. 2019 09:55:50 - Initializing Install...
    1. 2019 09:55:50 - Extension Details...
    1. 2019 09:55:50 - Identifier : 94ecd13f-15f3-4f51-9afd-17f0275c6266
    1. 2019 09:55:50 - Name : vsSolutionBuildEvent
    1. 2019 09:55:50 - Author : GitHub3F
    1. 2019 09:55:50 - Version : 1.14.0
    1. 2019 09:55:50 - Description : Event-Catcher with variety of advanced Actions to service projects, libraries, the build processes and processes at runtime from VisualStudio and MSBuild Tools.
    1. 2019 09:55:50 - Locale : en-US
    1. 2019 09:55:50 - MoreInfoURL : https://github.com/3F/vsSolutionBuildEvent
    1. 2019 09:55:50 - InstalledByMSI : False
    1. 2019 09:55:50 - SupportedFrameworkVersionRange : [0.0,2147483647.2147483647]
    1. 2019 09:55:50 -
    1. 2019 09:55:50 - Supported Products :
    1. 2019 09:55:50 - Microsoft.VisualStudio.Pro
    1. 2019 09:55:50 - Version : [15.0,)
    1. 2019 09:55:50 - Microsoft.VisualStudio.Enterprise
    1. 2019 09:55:50 - Version : [15.0,)
    1. 2019 09:55:50 - Microsoft.VisualStudio.Community
    1. 2019 09:55:50 - Version : [15.0,)
    1. 2019 09:55:50 - Microsoft.VisualStudio.IntegratedShell
    1. 2019 09:55:50 - Version : [15.0,)
    1. 2019 09:55:50 - Microsoft.VisualStudio.VSWinExpress
    1. 2019 09:55:50 - Version : [15.0,)
    1. 2019 09:55:50 - Microsoft.VisualStudio.VWDExpress
    1. 2019 09:55:50 - Version : [15.0,)
    1. 2019 09:55:50 - Microsoft.VisualStudio.VSWinDesktopExpress
    1. 2019 09:55:50 - Version : [15.0,)
    1. 2019 09:55:50 -
    1. 2019 09:55:50 - References :
    1. 2019 09:55:50 -
    1. 2019 09:55:50 - Searching for applicable products...
    1. 2019 09:55:50 - Found installed product - Global Location
    1. 2019 09:55:50 - Found installed product - AtmelStudio
    1. 2019 09:55:50 - 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()
3F commented 4 years ago

@rezodlub, I've just checked this problem via VM and clean installed VS2017 + Atmel Studio (as-installer-7.0.2389).

I confirm the problem. However, this is not relevant to our project at all.

Moreover, you can check it through other extensions, for example, the most popular:

All this will have the same issue:

Searching for applicable products...
Found installed product - Global Location
Found installed product - AtmelStudio
VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.

But, for example, the following will work:

Because:

<Installation AllUsers="true" Experimental="false">

That triggers UAC.

That is, you need to contact with Atmel Studio support or with Microsoft support.

Solution for this case

Try installing with administrator privileges, or even just like this:

VSIXInstaller vsSolutionBuildEvent.1.14.0.16ee135.SDK15.vsix

This is more like issue with paths to some dependencies after Atmel Studio installation that finally breaks VSIXInstaller.

Or try VSIXInstaller /admin if not.

The first command above (no admin) solved at least my problem in VM.

Let me know if you have any other questions. Thanks for using!

rezodlub commented 4 years ago

VSIXInstaller vsSolutionBuildEvent.1.14.0.16ee135.SDK15.vsix did the trick for me. Thank you.