Page 1 of 1

Problem with install or uninstall

PostPosted: February 21st, 2018, 12:59 pm
by Inferius
Hi,
i updated to new version, but if i unistall or manually remove and install then every end with error and i dont install php tools (VS 2017 Enterprise, 15.5.7)

Error from log:
21.02.2018 13:48:20 - Unable to find component in product catalog with this ID: Component.8069B697-77E0-411D-9CE2-6E8FC83D1DFA,version=1.25.10474
21.02.2018 13:48:20 - Chyba instalace : System.InvalidOperationException: V katalogu je nutné určit hodnotu pro objekt Component.
v Microsoft.VisualStudio.ExtensionManager.PackageInstaller.PrepareEngineInstall(IDependencyGraph dGraph, IDependencyComparisonSeed seed, Component vsCompPkg, Boolean isProductComponent, Int32& totalInstallationSteps)
v 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 targetedVsVersion, IInstalledExtension& newExtension)
v Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress, Version targetedVsVersion)
v Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion)
v Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)

Re: Problem with install or uninstall

PostPosted: February 22nd, 2018, 12:28 pm
by maros.beno
Dobrý den,
takže máte nainstalovanou Visual Studio 15.5.7 Enterprise a při instalaci PHP Tools vám to nahlásí error a nic se nenainstaluje, chápu to dobře?

Re: Problem with install or uninstall

PostPosted: February 22nd, 2018, 2:59 pm
by Miloslav Beno
Hello,

Thanks for the report. Could you please send whole vsix log that would help.

Also please make sure to manually uninstall previous version if the current one it's an older one. Not sure what version was that, but just to make sure.

Thanks,

Re: Problem with install or uninstall

PostPosted: February 22nd, 2018, 5:56 pm
by Inferius
Ano chapete to spravne.

Predchozi verze nesla odinstalovat, protoze to hlasilo tuhle chybu i pri odinstalaci. Tak sem to "odinstaloval" na tvrdo tim, ze sem smazal cache extension a soubory, ale hlasi to chybu i pri instalaci.

Log posilam v priloze

Re: Problem with install or uninstall

PostPosted: February 23rd, 2018, 9:35 am
by Miloslav Beno
Dobry den,

Diky za odpoved a log. Neco tam jeste bude hnit. Bohuzel je VSIX installer plne v rukou Microsoftu a meni se to s kazdym updatem, takze nemame takovy insight jako by to bylo nase msi (VS2010-VS2015). Co jsem koukal, meli s tim problemy uz i jine extensiony a dokonce i Microsoft to zafilovat jako bug a pry fixnul v nejaky pozdejsi vs2017 verzi

Co jsem koukal Microsoft radi napriklad (coz vime ze ted nepomuze):
- Shutdown VS 2017
- Open a Developer Command Prompt for VS 2017 in administrator mode by right-clicking on the Start menu shortcut and selecting Run as administrator
- run vsixinstaller /uninstall:8069B697-77E0-411D-9CE2-6E8FC83D1DFA to uninstall the currently installed extension
- run vsixinstaller /uninstall:0C02AB6A-71E7-40FA-ACCF-8186F80E3F82 (guid for older PHP Tools for VS2017 releases)

Pro jistotu se i mrknete na %localappdata%\Microsoft\VisualStudio\15.0\Extensions\ jestli tam jeste nekde nehnijeme.

Dekuji

Re: Problem with install or uninstall

PostPosted: February 23rd, 2018, 10:01 am
by Inferius
Prosel jsem to a cachi to tam nikde neni. Jako muzu jeset zkusit reinstalovat VS, ale do toho se mi moc nechce. Problem s instalaci mam akorat u tohoto doplnku, takze si nejsem jist jestli by mi to pomohlo.

Re: Problem with install or uninstall

PostPosted: February 23rd, 2018, 4:53 pm
by Inferius
Tak jsem provedl kompletni reinstalaci VS a zda se, ze to problem vyresilo. Ovsem nejde mi do hlavy proc problem delalo jen toto rozsireni.

Re: Problem with install or uninstall

PostPosted: February 28th, 2018, 10:03 am
by Miloslav Beno
Dobry den,

Tezko rict. Za instalaci je od VS2017 kompletne zodpovedny Microsoft jelikoz vsichni musi pouzivat jejich VSIX installer, kde nemame moznost do cehokoliv zasahovat.

Kazdopadne jsem rad, ze se Vam problem podarilo vyresit. Dejte vedet pokudbyste narazil na cokoliv dalsiho.

Diky