VS 2017 Pro - Installation fails

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

VS 2017 Pro - Installation fails

Postby blairnichols » April 4th, 2017, 3:55 pm

Unable to install on VS 2017 Pro running on Win 10 pro.

From the log:
04/04/2017 16:54:32 -
04/04/2017 16:54:32 - Searching for applicable products...
04/04/2017 16:54:33 - Found installed product - Microsoft Visual Studio Professional 2015
04/04/2017 16:54:33 - Found installed product - Microsoft Visual Studio Community 2015
04/04/2017 16:54:33 - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
04/04/2017 16:54:33 - Found installed product - Global Location
04/04/2017 16:54:33 - Found installed product - ssms
04/04/2017 16:54:33 - Found installed product - ssms
04/04/2017 16:54:33 - 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()
blairnichols
 
Posts: 3
Joined: April 4th, 2017, 3:53 pm

Re: VS 2017 Pro - Installation fails

Postby Miloslav Beno » April 6th, 2017, 2:17 pm

Hello,

Thanks for the post.

According to VSIX Installer log there are just 3 installable products:

04/04/2017 16:54:33 - Found installed product - Microsoft Visual Studio Professional 2015
04/04/2017 16:54:33 - Found installed product - Microsoft Visual Studio Community 2015
04/04/2017 16:54:33 - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)

And there isn't any VS2017. I'm sure you have VS2017, but maybe the installation is just screwed up somehow, so VSIX Installer cannot find it. This might happen e.g. updating from RC.

We've already seen VS2017 in many strange states :-)
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1016
Joined: January 7th, 2012, 8:36 pm

Re: VS 2017 Pro - Installation fails

Postby blairnichols » April 10th, 2017, 10:19 pm

Fresh and up to date version of 2017:

Microsoft Visual Studio Professional 2017
Version 15.1 (26403.3) Release
VisualStudio.15.Release/15.1.0+26403.3
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Professional

Visual Basic 2017
Microsoft Visual Basic 2017

Visual C# 2017
Microsoft Visual C# 2017

Visual C++ 2017
Microsoft Visual C++ 2017

Application Insights Tools for Visual Studio Package 8.6.00209.10
Application Insights Tools for Visual Studio

Arduino for Visual Studio 1.0
Arduino extension for Visual Studio. For more information please see docs, faq and forum at http://www.visualmicro.com

ASP.NET and Web Tools 2017 15.0.30320.0
ASP.NET and Web Tools 2017

ASP.NET Web Frameworks and Tools 2017 5.2.50303.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0 15.0.30209.0
Azure App Service Tools v3.0.0

Common Azure Tools 1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GitHub.VisualStudio 2.2.0.8
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JavaScript Language Service 2.0
JavaScript Language Service

JavaScript Project System 2.0
JavaScript Project System

JavaScript UWP Project System 2.0
JavaScript UWP Project System

KofePackagePackage Extension 1.0
KofePackagePackage Visual Studio Extension Detailed Info

Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1

Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package

NuGet Package Manager 4.1.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SQL Server Data Tools 15.1.61702.140
Microsoft SQL Server Data Tools

TypeScript 2.1.5.0
TypeScript tools for Visual Studio

Visual C++ for Linux Development 1.0.6
Visual C++ for Linux Development

Visual Studio tools for CMake 1.0
Visual Studio tools for CMake

Visual Studio Tools for Universal Windows Apps 15.0.26403.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Even ran a repair, it just wont install it.
blairnichols
 
Posts: 3
Joined: April 4th, 2017, 3:53 pm

Re: VS 2017 Pro - Installation fails

Postby Miloslav Beno » April 11th, 2017, 11:42 am

May I ask for complete VSIX log from the installation?

Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1016
Joined: January 7th, 2012, 8:36 pm

Re: VS 2017 Pro - Installation fails

Postby sonovkong » April 13th, 2017, 1:06 am

I'm unable to install PHP Tools for VS 2017. I've tried to do so at least 2-3 times with failures.

Just tried again.

Here's the message: Installation failed.
The installation was unable to install the extension to all the selected products.
For more information, click on the install log link at the bottom of the dialog.

This extension is not installable on any currently installed products.

****************************** CONTENTS OF THE LOG FILE ****************

4/12/2017 7:02:08 PM - Microsoft VSIX Installer
4/12/2017 7:02:08 PM - -------------------------------------------
4/12/2017 7:02:08 PM - Initializing Install...
4/12/2017 7:02:08 PM - Extension Details...
4/12/2017 7:02:08 PM - Identifier : 0C02AB6A-71E7-40FA-ACCF-8186F80E3F82
4/12/2017 7:02:08 PM - Name : PHP Tools for Visual Studio 2017
4/12/2017 7:02:08 PM - Author : DEVSENSE
4/12/2017 7:02:08 PM - Version : 1.23.9750
4/12/2017 7:02:08 PM - Description : Provides full featured support for editting and debugging PHP programs.
4/12/2017 7:02:08 PM - Locale : en-US
4/12/2017 7:02:08 PM - MoreInfoURL : http://www.devsense.com/products/php-tools
4/12/2017 7:02:08 PM - InstalledByMSI : False
4/12/2017 7:02:08 PM - SupportedFrameworkVersionRange : [4.6]
4/12/2017 7:02:08 PM -
4/12/2017 7:02:09 PM - SignatureState : ValidSignature
4/12/2017 7:02:09 PM - SignedBy : DEVSENSE s.r.o.
4/12/2017 7:02:09 PM - Certificate Info :
4/12/2017 7:02:09 PM - -------------------------------------------------------
4/12/2017 7:02:09 PM - [Subject] : CN=DEVSENSE s.r.o., O=DEVSENSE s.r.o., L=Prague, S=Prague, C=CZ
4/12/2017 7:02:09 PM - [Issuer] : CN=Symantec Class 3 SHA256 Code Signing CA, OU=Symantec Trust Network, O=Symantec Corporation, C=US
4/12/2017 7:02:09 PM - [Serial Number] : 6E536CBD6EBE6FA712FB0197405D0DF0
4/12/2017 7:02:09 PM - [Not Before] : 1/12/2015 5:00:00 PM
4/12/2017 7:02:09 PM - [Not After] : 4/13/2017 5:59:59 PM
4/12/2017 7:02:09 PM - [Thumbprint] : 97B5AE09D41156C5FEC7C41B463F0151C3A7B8E3
4/12/2017 7:02:09 PM -
4/12/2017 7:02:09 PM - Supported Products :
4/12/2017 7:02:09 PM - Microsoft.VisualStudio.Community
4/12/2017 7:02:09 PM - Version : [15.0,16.0)
4/12/2017 7:02:09 PM -
4/12/2017 7:02:09 PM - References :
4/12/2017 7:02:09 PM - -------------------------------------------------------
4/12/2017 7:02:09 PM - Identifier : TestWindow.Microsoft.0771d463-d74d-4e95-aac2-39d3c7ec1f97
4/12/2017 7:02:09 PM - Name : Test Explorer
4/12/2017 7:02:09 PM - Version : [15.0,16.0)
4/12/2017 7:02:09 PM - MoreInfoURL :
4/12/2017 7:02:09 PM - Nested : No
4/12/2017 7:02:09 PM -
4/12/2017 7:02:09 PM - Signature Details...
4/12/2017 7:02:09 PM - Extension is signed with a valid signature.
4/12/2017 7:02:09 PM -
4/12/2017 7:02:09 PM - Searching for applicable products...
4/12/2017 7:02:09 PM - Found installed product - Microsoft Visual Studio Community 2015
4/12/2017 7:02:09 PM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
4/12/2017 7:02:09 PM - Found installed product - Global Location
4/12/2017 7:02:09 PM - Found installed product - ssms
4/12/2017 7:02:09 PM - Found installed product - ssms
4/12/2017 7:02:09 PM - 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 VS 2017 community edition installed and have not had the release candidate installed.

Harlan Brewer
sonovkong
 
Posts: 2
Joined: April 13th, 2017, 12:55 am

Re: VS 2017 Pro - Installation fails

Postby Miloslav Beno » April 13th, 2017, 8:49 am

Hello,

Thanks for the log. I guess this might happen only in case when vsix is mapped to VS2015 VSIXInstaller. Try to run VSIXInstaller 2017 directly, e.g. for Community edition you can find it here:

Code: Select all
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller


So just drag and drop our vsix file to to this installer, or run it from command line.

Please let me know if that helped.

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1016
Joined: January 7th, 2012, 8:36 pm

Re: VS 2017 Pro - Installation fails

Postby sonovkong » April 14th, 2017, 6:37 pm

Excellent reply. It worked as you said. Thank you very much for an accurate and prompt reply.

All the best,

Harlan
sonovkong
 
Posts: 2
Joined: April 13th, 2017, 12:55 am

Re: VS 2017 Pro - Installation fails

Postby blairnichols » April 27th, 2017, 5:21 pm

worked for me too :)
blairnichols
 
Posts: 3
Joined: April 4th, 2017, 3:53 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 4 guests

cron

User Control Panel

Login

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 4 guests
Phalanger