Found setup instance but not in launchable state

moo 0 Reputation points
2024-03-05T20:12:40.57+00:00

I'm trying to install extensions inside a container (mcr.microsoft.com/windows:ltsc2019) as part of Intel OneAPI HPCKit installation, but it's failing.
The same setup succeeds on a windows machine.

OS: Windows container (mcr.microsoft.com/windows:ltsc2019)
Visual Studio Enterprise 22 version: 17.6.33815.320

VS was installed with the following command:
.\vs_Enterprise.exe --quiet --wait --norestart --noUpdateInstaller --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended

I'm getting the errors:

Install to Visual Studio Enterprise 2022 completed successfully. The extension has been installed to C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\hd12tfsq.xj0
Beginning to install extension to Visual Studio Enterprise 2022...
Instantiate download manager silently: True
VSIX TaskScheduler: Skipping scheduling task in container.
Found setup instance 3d3e95d6 but not in launchable state.
Install Error : System.InvalidOperationException: Cannot find setup engine instance.

Interestingly, only one extension was installed succesfully

Could anyone help me out?

Logs:

dd_VSIXInstaller_20240201122540_0aac.log

dd_VSIXInstaller_20240201124021_0a6c.log

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
227 questions
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.
1,050 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 31,246 Reputation points Microsoft Vendor
    2024-03-06T02:42:31.58+00:00

    Hello @moo,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    Found setup instance xxxxxxxx but not in launchable state.

    "not in launchable state", looks like the setup instance is not in launchable state, it might be blocked.

    Is there any previous installation process paused/stopped(not completed)? I may suggest trying to confirm this in VS Installer(complete the paused installation).

    It seems that there’s more than one extension to install, is it possible to try to install them one by one, I mean separately?

    I also suggest trying to restart your machine and reinstall the extensions.

    BTW, if it’s acceptable, perhaps reinstalling Visual Studio and then reinstalling the extensions works.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.