Install error

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

Install error

Postby JohnBergman » December 9th, 2016, 6:40 pm

While installing the version that is compatible with VS2017 RC (php.vs.1.21.9350.2017.vsix), I received an install error.

Below is the install log
---

Code: Select all
12/9/2016 12:34:35 PM - Microsoft VSIX Installer
12/9/2016 12:34:35 PM - -------------------------------------------
12/9/2016 12:34:35 PM - vsixinstaller.exe version:
12/9/2016 12:34:35 PM - 15.0.25909.2 built by: D15REL
12/9/2016 12:34:35 PM - -------------------------------------------
12/9/2016 12:34:35 PM - Command line parameters:
12/9/2016 12:34:35 PM - C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VSIXInstaller.exe,C:\Users\john.bergman\Desktop\php.vs.1.21.9350.2017.vsix
12/9/2016 12:34:35 PM - -------------------------------------------
12/9/2016 12:34:35 PM - Microsoft VSIX Installer
12/9/2016 12:34:35 PM - -------------------------------------------
12/9/2016 12:34:35 PM - Initializing Install...
12/9/2016 12:34:35 PM - Extension Details...
12/9/2016 12:34:35 PM -    Identifier         : 0C02AB6A-71E7-40FA-ACCF-8186F80E3F82
12/9/2016 12:34:35 PM -    Name               : PHP Tools for Visual Studio 2017
12/9/2016 12:34:35 PM -    Author             : DEVSENSE
12/9/2016 12:34:35 PM -    Version            : 1.21.9350
12/9/2016 12:34:35 PM -    Description        : Provides full featured support for editting and debugging PHP programs.
12/9/2016 12:34:35 PM -    Locale             : en-US
12/9/2016 12:34:35 PM -    MoreInfoURL        : http://www.devsense.com/products/php-tools
12/9/2016 12:34:35 PM -    InstalledByMSI     : False
12/9/2016 12:34:35 PM -    SupportedFrameworkVersionRange : [4.5]
12/9/2016 12:34:35 PM -
12/9/2016 12:34:36 PM -    SignatureState     : ValidSignature
12/9/2016 12:34:36 PM -    SignedBy           : DEVSENSE s.r.o.
12/9/2016 12:34:36 PM -    Certificate Info   :
12/9/2016 12:34:36 PM -       -------------------------------------------------------
12/9/2016 12:34:36 PM -       [Subject]       : CN=DEVSENSE s.r.o., O=DEVSENSE s.r.o., L=Prague, S=Prague, C=CZ
12/9/2016 12:34:36 PM -       [Issuer]        : CN=Symantec Class 3 SHA256 Code Signing CA, OU=Symantec Trust Network, O=Symantec Corporation, C=US
12/9/2016 12:34:36 PM -       [Serial Number] : 6E536CBD6EBE6FA712FB0197405D0DF0
12/9/2016 12:34:36 PM -       [Not Before]    : 1/12/2015 6:00:00 PM
12/9/2016 12:34:36 PM -       [Not After]     : 4/13/2017 6:59:59 PM
12/9/2016 12:34:36 PM -       [Thumbprint]    : 97B5AE09D41156C5FEC7C41B463F0151C3A7B8E3
12/9/2016 12:34:36 PM -
12/9/2016 12:34:36 PM -    Supported Products :
12/9/2016 12:34:36 PM -       Microsoft.VisualStudio.Community
12/9/2016 12:34:36 PM -          Version : [15.0,16.0)
12/9/2016 12:34:36 PM -
12/9/2016 12:34:36 PM -    References         :
12/9/2016 12:34:36 PM -    Prerequisites      :
12/9/2016 12:34:36 PM -       -------------------------------------------------------
12/9/2016 12:34:36 PM -       Identifier   : Microsoft.VisualStudio.Component.CoreEditor
12/9/2016 12:34:36 PM -       Name         : Visual Studio core editor
12/9/2016 12:34:36 PM -       Version      : [15.0,16.0)
12/9/2016 12:34:36 PM -
12/9/2016 12:34:36 PM - Signature Details...
12/9/2016 12:34:36 PM -    Extension is signed with a valid signature.
12/9/2016 12:34:36 PM -
12/9/2016 12:34:36 PM - Searching for applicable products...
12/9/2016 12:34:36 PM - Found installed product - Microsoft Visual Studio Ultimate 2013
12/9/2016 12:34:36 PM - Found installed product - Microsoft Visual Studio Premium 2013
12/9/2016 12:34:36 PM - Found installed product - Microsoft Visual Studio Professional 2013
12/9/2016 12:34:36 PM - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated)
12/9/2016 12:34:36 PM - Found installed product - Microsoft Visual Studio Enterprise 2015
12/9/2016 12:34:36 PM - Found installed product - Microsoft Visual Studio Professional 2015
12/9/2016 12:34:36 PM - Found installed product - Microsoft Visual Studio Community 2015
12/9/2016 12:34:36 PM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
12/9/2016 12:34:36 PM - Found installed product - Global Location
12/9/2016 12:34:36 PM - Found installed product - ssms
12/9/2016 12:34:36 PM - Found installed product - Visual Studio Enterprise 2017 RC
12/9/2016 12:34:38 PM - The extension with ID '0C02AB6A-71E7-40FA-ACCF-8186F80E3F82' is not installed to Visual Studio Enterprise 2017 RC.
12/9/2016 12:34:50 PM - The following target products have been selected...
12/9/2016 12:34:50 PM -    Visual Studio Enterprise 2017 RC
12/9/2016 12:34:50 PM -
12/9/2016 12:34:52 PM - Beginning to install extension to Visual Studio Enterprise 2017 RC...
12/9/2016 12:35:10 PM - Install Error : Microsoft.VisualStudio.Setup.PackageFailureException: Package 'Win10SDK_10.0.14393.33' failed to install
   at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token)
   at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action)
   at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, UInt64 totalBytesToWrite, UInt64& totalBytesWritten)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)
JohnBergman
 
Posts: 2
Joined: May 5th, 2015, 10:03 pm

Re: Install error

Postby Miloslav Beno » December 13th, 2016, 9:01 am

Hello,

This looks like a bug in Microsoft VSIX installer. Since vs20107 we can't have our own installer and we have to rely on Microsoft for the installation. Check the latest update of VS2017RC to see if it's fixed already.

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

Re: Install error

Postby drakeblood » December 16th, 2016, 1:05 pm

There is a new RC update since few days and the current VS2017 installer of PHP tools absolutely fails with it, unable to find a "installation target".
Could you please update the download to support latest RC? Thanks.


16/12/2016 14:03:36 - Searching for applicable products...
16/12/2016 14:03:36 - Found installed product - Global Location
16/12/2016 14:03:36 - Found installed product - ssms
16/12/2016 14:03:36 - 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()
drakeblood
 
Posts: 6
Joined: May 31st, 2016, 1:47 am

Re: Install error

Postby Miloslav Beno » December 16th, 2016, 4:12 pm

Hello,

Thanks for reporting this. I'll have to check this more closely, but so far this looks like bug in Microsoft VSIX Installer, which we were forced to use for a new VS2017. We will have to report this to Microsoft since this is their code.

We'll also evaluate possibility to install through our old msi so we can be responsible for the installation.

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

Re: Install error

Postby Miloslav Beno » December 19th, 2016, 3:25 pm

Hello,

It's possible the VS update has corrupted installation in some way. It's still just RC so it's likely. We've tried to update to install clean VS 2017RC and PHP Tools and other extensions install correctly now.

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

Re: Install error

Postby drakeblood » December 20th, 2016, 12:46 am

running this:
vsixinstaller /q /a /u:0C02AB6A-71E7-40FA-ACCF-8186F80E3F82

and then reinstalling php tools, solved the problem (without reinstall all)


EDIT:
No, still unfixed. The installation worked but I dont see PHP from the new projects, from options menu, and can't open old PHP projects.
drakeblood
 
Posts: 6
Joined: May 31st, 2016, 1:47 am

Re: Install error

Postby Miloslav Beno » December 20th, 2016, 10:27 am

Hi,

This is exactly what I've experienced when trying to replicate the issue. It just seems VS turned itself into some unexpected state during the update to the latest RC. Probably something with the registry (judging from the exception callstack from VSIXInstaller).

I was unable to install any extension, not even repair the instance. The only thing it helped was fresh reinstall of an updated version.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 45 guests

cron

User Control Panel

Login

Who is online

In total there are 45 users online :: 0 registered, 0 hidden and 45 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 45 guests