Page 1 of 1

Install error

PostPosted: December 9th, 2016, 6:40 pm
by JohnBergman
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)

Re: Install error

PostPosted: December 13th, 2016, 9:01 am
by Miloslav Beno
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,

Re: Install error

PostPosted: December 16th, 2016, 1:05 pm
by drakeblood
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()

Re: Install error

PostPosted: December 16th, 2016, 4:12 pm
by Miloslav Beno
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,

Re: Install error

PostPosted: December 19th, 2016, 3:25 pm
by Miloslav Beno
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,

Re: Install error

PostPosted: December 20th, 2016, 12:46 am
by drakeblood
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.

Re: Install error

PostPosted: December 20th, 2016, 10:27 am
by Miloslav Beno
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.