none
Visual Studio 2017 installation: "Sorry, the product definitions failed to load"

    Question

  • Hi everyone,

    Got stuck at the beginning of the VS2017 CE installation (official release, both online and offline installers) ending with the mentioned message right after pressing Continue. Numerous retries applying all possible workarounds I could find on web didn't help.

    The dd_client... .log contains

    ...
    2017-04-14T09:04:18 : Error : Failed to start the installer service. error: Request locate failed with message: Hub host 'desktopClr', PID: 5568 exited. code: '3221225477'. at undefined
    2017-04-14T09:04:18 : Error : Failed to start the products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 5568 exited. code: '3221225477'. at undefined
    2017-04-14T09:04:18 : Error : Failed to start the installed products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 5568 exited. code: '3221225477'. at undefined
    2017-04-14T09:04:18 : Error : Failed to get product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-14T09:04:18 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    ...

    Also posted a detailed report at Microsoft Connect including actual vslog.zip prepared with VSCollect utility (connect.microsoft.com/VisualStudio/feedback/details/3132463/vs2017-community-edition-installation-sorry-the-product-definitions-failed-to-load)

    Any help is really appreciated - very reluctant to re-image the system from scratch.

    Thanks in advance,

    Best regards,

    Vlad

    Wednesday, April 19, 2017 11:01 AM

Answers

  • Hi Joyce,

    After holidays I was finally able to resolve the issue. I started getting 'Elevation Required' for most of the tries, in conjunction with 'access denied' code mentioned in logs and Process Explorer view of installer processes this brought me to an idea that a child process (vs_installershell.exe) is not getting enough priviledges, unlike its parent vs_installer.exe. Thus I copied child process cmd line w/ parameters, killed the process tree and ran it manually from an elevated shell:

    vs_installershell.exe /finalizeInstall install --layoutPath "C:\Distributives\Visual Studio\VS2017CE" --in "C:\Distributives\Visual Studio\VS2017CE\Response.json" --locale en-US --activityId "3672817a-cecd-44d6-bc9b-4a0a577cafd1"

    The rest went fine.

    Best,

    Vladimir

    PS: besides, had to do the same for consequent VS update popped up from within VS (it was raising the same 'Elevation Required')

    • Marked as answer by Budenniy Tuesday, May 02, 2017 4:51 PM
    Tuesday, May 02, 2017 4:51 PM

All replies

  • Hi Vlad,

    Welcome to MSDN forum.

    >>Failed to start the installer service. error: Request locate failed with message: Hub host 'desktopClr', PID: 5568 exited. code: '3221225477'. at undefined

    2017-04-14T09:04:18 : Error : Failed to start the products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 5568 exited. code: '3221225477'. at undefined

    2017-04-14T09:04:18 : Error : Failed to start the installed products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 5568 exited. code: '3221225477'. at undefined

    2017-04-14T09:04:18 : Error : Failed to get product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]

    code: '3221225477' usually means access violation, please check your environment network.

    Please delete folder under: %LocalAppData%\Microsoft\VisualStudio\Packages\Channels, the other who has the similar issue with you solved it by this. You could also download the Windows Fixit tool from here: https://support.microsoft.com/en-sg/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed, then run it to repair issues including corrupted registry keys or others.

    Meanwhile, disable any Anti-Virus or Anti-Spyware software on your computer and make sure you have a good network connection. Having a try with the following steps to Check if the Installer Service is running:

    1. Click Start, type Services.msc and press {ENTER}
    2. Double-click Windows Installer
    3. Set the Startup type of Windows Installer to Manual
    4. Click Start to start the service.
    5. Click OK.

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, April 20, 2017 5:55 AM
  • Hi Joyce,

    Thanks for you reply, unfortunately I already tried these workarounds. Just to be sure I rechecked - the mentioned folder was not present, the MSI was already set to manual and the a/v was stopped. Fix utility you provided (already tried it before) didn't show any VS2017-related installed items - was nothing to clear.

    Re-running offline and online installers resulted in the similar failure (according to dd_client...log files). Running online installer also brought additional 'elevation' required' box despite of running the process under administrative account.

    Besides the VS2017 CE was already installed once at this PC (and then uninstalled) - using this very offline installer. Problem is with installing it again.

    Logs:

    Run #1 (offline):

    2017-04-22T14:20:41 : Verbose : Visual Studio Installer (1.5.30308.1 : master) ["C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe","/finalizeInstall","install","--layoutPath","C:\\Distributives\\Visual Studio\\VS2017CE","--in","C:\\Distributives\\Visual Studio\\VS2017CE\\Response.json","--locale","en-US","--activityId","67f63af7-31b5-4dd8-91ae-ef60a4d2882b"]
    2017-04-22T14:20:44 : Verbose : Telemetry Session ID: 4e64e3b6-88cf-42d1-81cf-507245841754
    2017-04-22T14:20:46 : Verbose : Getting installed product summaries. [installerId: SetupEngine]
    2017-04-22T14:20:46 : Verbose : Starting the installed products provider service.
    2017-04-22T14:20:46 : Verbose : Starting the products provider service.
    2017-04-22T14:20:46 : Verbose : Getting product summaries. [installerId: SetupEngine]
    2017-04-22T14:20:46 : Verbose : Getting channel info. [installerId: SetupEngine]
    2017-04-22T14:20:51 : Error : Failed to start the products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 12960 exited. code: '3221225477'. at undefined
    2017-04-22T14:20:51 : Error : Failed to start the installed products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 12960 exited. code: '3221225477'. at undefined
    2017-04-22T14:20:51 : Error : Failed to get product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-22T14:20:51 : Error : Failed to get channel information. [installerId: SetupEngine], error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-22T14:20:51 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-22T14:20:58 : Verbose : Closing installer. Return code: 0.
    2017-04-22T14:21:03 : Verbose : Getting installed product summaries. [installerId: SetupEngine]
    2017-04-22T14:21:03 : Verbose : Starting the installed products provider service.
    2017-04-22T14:21:03 : Verbose : Starting the products provider service.
    2017-04-22T14:21:03 : Verbose : Getting product summaries. [installerId: SetupEngine]
    2017-04-22T14:21:03 : Verbose : Getting channel info. [installerId: SetupEngine]
    2017-04-22T14:21:05 : Error : Failed to start the products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 5148 exited. code: '3221225477'. at undefined
    2017-04-22T14:21:05 : Error : Failed to start the installed products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 5148 exited. code: '3221225477'. at undefined
    2017-04-22T14:21:05 : Error : Failed to get product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-22T14:21:05 : Error : Failed to get channel information. [installerId: SetupEngine], error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-22T14:21:05 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]


    Run #2 (offline):

    2017-04-22T14:29:40 : Verbose : Visual Studio Installer (1.5.30308.1 : master) ["C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe","/finalizeInstall","install","--layoutPath","C:\\Distributives\\Visual Studio\\VS2017CE","--in","C:\\Distributives\\Visual Studio\\VS2017CE\\Response.json","--locale","en-US","--activityId","93041604-5522-4c8b-8620-854517627f14"]
    2017-04-22T14:29:42 : Verbose : Telemetry Session ID: cd536a51-af61-42d3-b4ac-44b5807db00c
    2017-04-22T14:29:43 : Verbose : Getting installed product summaries. [installerId: SetupEngine]
    2017-04-22T14:29:43 : Verbose : Starting the installed products provider service.
    2017-04-22T14:29:43 : Verbose : Starting the products provider service.
    2017-04-22T14:29:43 : Verbose : Getting product summaries. [installerId: SetupEngine]
    2017-04-22T14:29:43 : Verbose : Getting channel info. [installerId: SetupEngine]
    2017-04-22T14:29:47 : Error : Failed to start the products provider service. error: Request locate failed with message: Cannot execute 'getHostId'. The underlying stream has closed. at undefined
    2017-04-22T14:29:47 : Error : Failed to start the installed products provider service. error: Request locate failed with message: Cannot execute 'getHostId'. The underlying stream has closed. at undefined
    2017-04-22T14:29:47 : Error : Failed to get product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-22T14:29:47 : Error : Failed to get channel information. [installerId: SetupEngine], error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-22T14:29:47 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:645:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-22T14:32:48 : Verbose : Closing installer. Return code: 0.


    Run #3 (online):

    2017-04-22T14:37:30 : Verbose : Visual Studio Installer (1.9.30413.1 : release) ["C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe","/finalizeInstall","install","--in","C:\\ProgramData\\Microsoft\\VisualStudio\\Packages\\_bootstrapper\\vs_setup_bootstrapper.json","--locale","en-US","--activityId","90f8a129-7175-441f-84d3-dba6491c9125"]
    2017-04-22T14:37:31 : Verbose : Received the application ready notification
    2017-04-22T14:37:32 : Verbose : Telemetry Session ID: aec2b5d6-b0cb-4b41-8f86-49305e9ee2f7
    2017-04-22T14:37:33 : Verbose : Getting installed product summaries. [installerId: SetupEngine]
    2017-04-22T14:37:33 : Verbose : Starting the installed products provider service.
    2017-04-22T14:37:33 : Verbose : Starting the products provider service.
    2017-04-22T14:37:33 : Verbose : Getting product summaries. [installerId: SetupEngine]
    2017-04-22T14:37:33 : Verbose : Starting the installer service.
    2017-04-22T14:37:35 : Error : Failed to start the installer service. error: Request locate failed with message: Hub host 'desktopClr', PID: 15880 exited. code: '3221225477'. at undefined
    2017-04-22T14:37:35 : Error : Failed to start the products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 15880 exited. code: '3221225477'. at undefined
    2017-04-22T14:37:35 : Error : Failed to start the installed products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 15880 exited. code: '3221225477'. at undefined
    2017-04-22T14:37:35 : Error : Failed to get product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:680:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-04-22T14:37:35 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:680:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]


    Best,

    Vlad
    Saturday, April 22, 2017 11:47 AM
  • Hi,

    Please have a look at this: https://developercommunity.visualstudio.com/content/problem/16954/product-definitions-failed-to-load.html

    You need to check if net is disabled by my domain's group policy; and the installer is calling net session to determine if the install process is running with elevated permissions or not.

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, April 25, 2017 7:27 AM
  • Hey Joyce,

    Nope, have already checked this one before, 'net' is fine and not bound by any policy/restrictions.

    >>

    C:\WINDOWS\system32>net session
    There are no entries in the list.

    Beyond the workarounds discussed earlier, I've also tried:

    - InstallCleanup -full (with manual removal of various leftovers, as suggested)

    - Checking for adverse GP entries

    - Reacquiring online/offline installers

    - Running from newly created local admin. acct

    - MS Support chat (result - advice to contact MS Support call center what I currently cannot do due to time zone shift)

    - Using VS cleanup utility which also removed VS 2015 which I had to reinstall

    - Few other things (can't recall everything already)

    I still hope any of MS engineers will take a look at the attached logs till end of the week.

    Unfortunately don't have much time anymore: to the great inconvenience early next week I'll be forced to backup data and reinstall the OS to fix this :(

    Thanks anyway,

    Best,

    Vlad


    • Edited by Budenniy Thursday, April 27, 2017 8:12 AM
    Thursday, April 27, 2017 8:09 AM
  • Hi Vlad,

    I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, April 28, 2017 3:11 AM
  • Hi Joyce,

    After holidays I was finally able to resolve the issue. I started getting 'Elevation Required' for most of the tries, in conjunction with 'access denied' code mentioned in logs and Process Explorer view of installer processes this brought me to an idea that a child process (vs_installershell.exe) is not getting enough priviledges, unlike its parent vs_installer.exe. Thus I copied child process cmd line w/ parameters, killed the process tree and ran it manually from an elevated shell:

    vs_installershell.exe /finalizeInstall install --layoutPath "C:\Distributives\Visual Studio\VS2017CE" --in "C:\Distributives\Visual Studio\VS2017CE\Response.json" --locale en-US --activityId "3672817a-cecd-44d6-bc9b-4a0a577cafd1"

    The rest went fine.

    Best,

    Vladimir

    PS: besides, had to do the same for consequent VS update popped up from within VS (it was raising the same 'Elevation Required')

    • Marked as answer by Budenniy Tuesday, May 02, 2017 4:51 PM
    Tuesday, May 02, 2017 4:51 PM
  • Hi,

    I have the exact same problem, on Windows 7. Same errors in the log.

    Tried most of the things exposed here, nothing works.

    Still have:

    2017-05-15T14:27:40 : Error : Failed to start the installer service. error: Request locate failed with message: Hub host 'desktopClr', PID: 10184 exited. code: '3221225477'. at undefined
    2017-05-15T14:27:40 : Error : Failed to start the products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 10184 exited. code: '3221225477'. at undefined
    2017-05-15T14:27:40 : Error : Failed to start the installed products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 10184 exited. code: '3221225477'. at undefined
    2017-05-15T14:27:40 : Error : Failed to get product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:709:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-05-15T14:27:40 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:709:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]

    And the workaround below doesn't work for me.

    -----------------------------------------------

    Hi Joyce,

    After holidays I was finally able to resolve the issue. I started getting 'Elevation Required' for most of the tries, in conjunction with 'access denied' code mentioned in logs and Process Explorer view of installer processes this brought me to an idea that a child process (vs_installershell.exe) is not getting enough priviledges, unlike its parent vs_installer.exe. Thus I copied child process cmd line w/ parameters, killed the process tree and ran it manually from an elevated shell:

    vs_installershell.exe /finalizeInstall install --layoutPath "C:\Distributives\Visual Studio\VS2017CE" --in "C:\Distributives\Visual Studio\VS2017CE\Response.json" --locale en-US --activityId "3672817a-cecd-44d6-bc9b-4a0a577cafd1"

    The rest went fine.

    Best,

    Vladimir

    PS: besides, had to do the same for consequent VS update popped up from within VS (it was raising the same 'Elevation Required')


    Monday, May 15, 2017 6:30 PM
  • Any update on this?

    I'm getting the same error.

    2017-08-01T12:24:15 : Verbose : Visual Studio Installer (1.10.30640.0 : update2) ["C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"]
    2017-08-01T12:24:15 : Verbose : Creating VS Telemetry Survey
    2017-08-01T12:24:16 : Verbose : Received the application ready notification
    2017-08-01T12:24:16 : Verbose : Starting ServiceHub Experimentation client.
    2017-08-01T12:24:17 : Error : Experiments Ipc Service creation failed.
     error: [undefined] Request locate failed with message: Hub host 'desktopClr', PID: 31416 exited. code: '3762504530'. at undefined
    2017-08-01T12:24:17 : Verbose : ExperimentsIpcRpcService listening to ipc channel: ExperimentsProxy
    2017-08-01T12:24:17 : Verbose : Experiments Ipc Service started.
    2017-08-01T12:24:17 : Verbose : Telemetry Session ID: 02742597-0e11-4a8f-8fe7-76dd266aa2c1
    2017-08-01T12:24:18 : Verbose : Getting installed product summaries. [installerId: SetupEngine]
    2017-08-01T12:24:18 : Verbose : Starting the installed products provider service.
    2017-08-01T12:24:18 : Verbose : Starting the products provider service.
    2017-08-01T12:24:18 : Verbose : Getting product summaries. [installerId: SetupEngine]
    2017-08-01T12:24:18 : Verbose : Starting the installer service.
    2017-08-01T12:24:18 : Error : Failed to start the products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 7100 exited. code: '3762504530'. at undefined
    2017-08-01T12:24:18 : Error : Failed to start the installed products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 7100 exited. code: '3762504530'. at undefined
    2017-08-01T12:24:18 : Error : Failed to get product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:709:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-08-01T12:24:18 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: [object Object] at Error: [object Object]
        at SetupEngineAdapter.handleServiceError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\Installer\Adapters\SetupEngineAdapter.js:709:19)
        at process._tickCallback (internal/process/next_tick.js:103:7)]
    2017-08-01T12:24:18 : Error : Failed to start the installer service. error: Request locate failed with message: Hub host 'desktopClr', PID: 7100 exited. code: '3762504530'. at undefined

    Tuesday, August 01, 2017 7:28 PM