Page 1 of 1

Installation Error

PostPosted: August 4th, 2017, 11:49 pm
by 070221090
When installing appears an error. Why?

Attatched is the log file.

Thanks!!!

Re: Installation Error

PostPosted: August 7th, 2017, 9:39 pm
by bgraves
I also get an installation error for VS 2017 Install over previous version. The lod ends with the following:
8/7/2017 2:38:28 PM - Beginning to install extension to Visual Studio Community 2017...
8/7/2017 2:38:28 PM - VSIX TaskScheduler: VSIX Auto Updatetask already exists.
8/7/2017 2:38:34 PM - Package Microsoft.Windows.UniversalCRT.Msu.8 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.2,6.3)'.
8/7/2017 2:38:34 PM - Package Microsoft.Windows.UniversalCRT.Msu.81 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.3,6.4)'.
8/7/2017 2:38:34 PM - Package Microsoft.Net.4.6.FullRedist is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1.1,6.4)'.
8/7/2017 2:38:34 PM - Package Microsoft.Windows.UniversalCRT.Msu.7 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.2)'.
8/7/2017 2:38:34 PM - Package Microsoft.DiagnosticsHub.KB2882822.Win7 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.2)'.
8/7/2017 2:38:34 PM - Package WebSocket4NetV2 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.2)'.
8/7/2017 2:38:34 PM - Package Microsoft.Net.4.6.1.FullRedist is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1.1,10.0.10241)'.
8/7/2017 2:38:34 PM - Package Microsoft.Windows.81SDK.Store.DirectX.Msi is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.3]'.
8/7/2017 2:38:34 PM - Package Microsoft.Windows.81SDK.Store.DirectX.Msi is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.3]'.
8/7/2017 2:38:34 PM - Package Microsoft.Windows.81SDK.Desktop.DirectX.Msi is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.3]'.
8/7/2017 2:38:34 PM - Package Microsoft.Windows.81SDK.Desktop.DirectX.Msi is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.3]'.
8/7/2017 2:38:34 PM - Package Microsoft.VisualStudio.OfficeDeveloperTools.WindowsIdentityFoundation.Msu is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '(,6.2)'.
8/7/2017 2:38:39 PM - Package '8069B697-77E0-411D-9CE2-6E8FC83D1DFA,version=1.24.10015' failed to install. System.IO.IOException: The file 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\DEVSENSE\PHP Tools\VS15.0\Devsense.PHP.BuildTasks.dll' already exists.
at Microsoft.VisualStudio.Setup.Installer.VsixInstaller.InstallCore(String localPath, String installDir, InstallablePackage pkg)
at Microsoft.VisualStudio.Setup.Installer.InstallerBase.InstallHelper(InstallData installData)
8/7/2017 2:38:40 PM - Skipping cache of package 'Component.8069B697-77E0-411D-9CE2-6E8FC83D1DFA,version=1.24.10015' since the package or a parent package had a vital failure.
8/7/2017 2:38:50 PM - Install Error : Microsoft.VisualStudio.Setup.PackageFailureException: Package '8069B697-77E0-411D-9CE2-6E8FC83D1DFA' failed to install
at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action, ITelemetryOperation telemetryOperation)
at Microsoft.VisualStudio.Setup.Engine.RunCoreOperation(InstallOperation coreOperation, ExecuteAction action, ITelemetryOperation telemetryOperation, CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress`1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Version targetVsVersion, IInstalledExtension& newExtension)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress, Version targetVsVersion)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetVsVersion)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)

Re: Installation Error

PostPosted: August 10th, 2017, 8:44 am
by Miloslav Beno
Hello,

Thanks for the feedback. From the log it seems there are multiple issue as many of the VS components are failing to load.

I would try to repair Visual Studio installation.

Re: Installation Error

PostPosted: August 16th, 2017, 10:30 am
by JREwing
I have exactly the same problem. Updating VS 2017 did not solve the problem. I found no 'repair' option from Visual Studio installer or elsewhere.

Re: Installation Error

PostPosted: August 22nd, 2017, 8:08 am
by Miloslav Beno
Hi guys,

Please take a look into Extensions and Updates, make sure PHP Tools is not installed twice there. If it is, uninstall both and then try to install the latest again.

Please let me know how it goes.

Thank you

Re: Installation Error

PostPosted: August 22nd, 2017, 9:11 pm
by balage
I also had installation failures with similar log messages. Instead of updating, I just ended up removing PHP Tools 1.23.9750, then installed the latest 1.24.x from inside VS2017 and that worked.

Re: Installation Error

PostPosted: August 28th, 2017, 10:55 am
by Miloslav Beno
Yes, that's the way to go. Unfortunatelly VSIX for VS2017 is not able to update from 1.23 to 1.24 automatically. Currently the only way is to uninstall 1.23(or previous) and then install 1.24.

Thanks!