Unable to iNstall and uninstall visual studio professional

Tan, Yien Yien (GfK) 1 Reputation point
2021-01-22T14:42:06.41+00:00

Unable to uninstall and install visual studio professional

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
963 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Tan, Yien Yien (GfK) 1 Reputation point
    2021-01-22T14:43:18.127+00:00

    2021-01-22T21:50:31 : Verbose : Visual Studio Installer (1.18.1116.1211 : release) ["C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe","uninstall","--installPath","C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional"]
    2021-01-22T21:50:31 : Verbose : Received the application ready notification
    2021-01-22T21:50:31 : Verbose : ProgressBarService listening to ipc channel: progress-bar
    2021-01-22T21:50:31 : Verbose : LoggerIpcRpcService listening to ipc channel: LoggerService
    2021-01-22T21:50:31 : Verbose : LoggerIpcRpcService listening to ipc channel: LoggerService
    2021-01-22T21:50:31 : Verbose : Telemetry Session ID: 322a509d-d800-4d3d-a3ae-f62c80a79150
    2021-01-22T21:50:31 : Verbose : Starting ServiceHub Remote Settings client.
    2021-01-22T21:50:31 : Verbose : Creating VS Telemetry Survey
    2021-01-22T21:50:31 : Verbose : Creating commonError Service
    2021-01-22T21:50:31 : Verbose : starting rpc process for common error
    2021-01-22T21:50:31 : Verbose : RPC Factory: Get common error config provider
    2021-01-22T21:50:31 : Verbose : FeaturesIpcRpcService listening to ipc channel: FeaturesProxy
    2021-01-22T21:50:31 : Verbose : FeaturesIpcRpcService listening to ipc channel: FeaturesProxy
    2021-01-22T21:50:31 : Verbose : Service creation finished
    2021-01-22T21:50:31 : Verbose : FeedbackIpcRpcService listening to ipc channel: FeedbackProxy
    2021-01-22T21:50:32 : Verbose : Window ready
    2021-01-22T21:50:32 : Verbose : Getting installed product summaries. [installerId: SetupEngine]
    2021-01-22T21:50:32 : Verbose : Starting the installed products provider service.
    2021-01-22T21:50:32 : Verbose : Starting the products provider service.
    2021-01-22T21:50:32 : Verbose : Getting product summaries. [installerId: SetupEngine]
    2021-01-22T21:50:32 : Verbose : Starting the installer service.
    2021-01-22T21:50:33 : Error : Attempted connection to service 'ProductsProvider': location is null
    2021-01-22T21:50:33 : Error : Failed to start the products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'. at Error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'.
    at SetupEngineAdapter.handleServiceHubError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:377194)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    2021-01-22T21:50:33 : Error : Failed to start the installed products provider service. error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'. at Error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'.
    at SetupEngineAdapter.handleServiceHubError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:377194)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    2021-01-22T21:50:33 : Verbose : Window showing
    2021-01-22T21:50:33 : Error : Failed to get product summaries. [installerId: SetupEngine, error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'. at Error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'.
    at SetupEngineAdapter.handleServiceHubError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:377194)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)]
    2021-01-22T21:50:33 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'. at Error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'.
    at SetupEngineAdapter.handleServiceHubError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:377194)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)]
    2021-01-22T21:50:33 : Error : Attempted connection to service 'RemoteSettingsClient': location is null
    2021-01-22T21:50:33 : Error : Remote Settings Ipc Service creation failed.
    error: [HubClientError] Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'. at Error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'.
    at Function.HubClientError.createFromError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:22182)
    at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:531767
    at _rejected (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:844:24)
    at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:870:30
    at Promise.when (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:1122:31)
    at Promise.promise.promiseDispatch (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:788:41)
    at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:604:44
    at runSingle (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:137:13)
    at flush (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
    2021-01-22T21:50:33 : Error : Failed to create VS Telemetry Survey [error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'. at Error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'.
    at Function.HubClientError.createFromError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:22182)
    at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:531767
    at _rejected (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:844:24)
    at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:870:30
    at Promise.when (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:1122:31)
    at Promise.promise.promiseDispatch (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:788:41)
    at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:604:44
    at runSingle (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:137:13)
    at flush (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)]
    2021-01-22T21:50:33 : Error : Attempted connection to service 'Installer': location is null
    2021-01-22T21:50:33 : Error : Failed to start the installer service. error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'. at Error: Request locate failed with message: Hub host 'desktopClr', PID: 12736 exited. code: '3762504530'.
    at SetupEngineAdapter.handleServiceHubError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:377194)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

    0 comments No comments

  2. Michael Taylor 47,966 Reputation points
    2021-01-22T14:56:21.997+00:00

    Sounds like a network connection issue to me. Do you have a firewall that is potentially blocking the call? Can you download the offline installer and try again?

    0 comments No comments

  3. Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
    2021-01-25T06:25:39.287+00:00

    Hi @Tan, Yien Yien (GfK) ,

    Welcome to Microsoft Q&A!

    According to your description, we need to confirm something with you. Which version of Visual Studio is currently installed on your computer? Can you open your Visual Studio Installer normally? Is there a “Repair” button available in Visual Studio Installer?

    If you can’t click on “Repair”, please try to perform the following actions to reinstall the Visual Studio Installer files and reset the installation metadata.

    1. See if you have this file on your machine: "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe"
    2. If so, please launch it from an admin command prompt with a -full param:
      InstallCleanup.exe -full
    3. If not, please manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer” folder.
    4. Relaunch the newly downloaded vs_xxxx.exe from the Visual Studio download page.
    5. Reboot your computer and run the exe as administrator.
    6. Once the installer comes up and you can see workload choices (.net desktop and the like), close it.
    7. Check if it works for you.

    Sincerely,
    Anna

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.