Package 'Microsoft.VisualStudio.Initializer,version=17.4.33006.217' failed to install.

John W 6 Reputation points
2022-12-12T15:46:43.643+00:00

Attempting to install VS 2022 Professional.. Getting the "Sorry, something went wrong" message.

Search URL  
    https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Initializer;PackageAction=Install;ReturnCode=-2147467259  
Details  
    Return code: -2147467259  
    Return code details: The supplied user buffer is not valid for the requested operation  
Log  
    C:\Users\{me}\AppData\Local\Temp\dd_setup_20221212150923_010_Microsoft.VisualStudio.Initializer.log  
Impacted workloads  
    .NET Multi-platform App UI development (Microsoft.VisualStudio.Workload.NetCrossPlat,version=17.4.33006.217)  
    ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=17.4.33006.217,productarch=x64)  
    Visual Studio core editor (Microsoft.VisualStudio.Workload.CoreEditor,version=17.4.33006.217)  

So that's pretty.. Attempted to google "The supplied user buffer is not valid for the requested operation" nothing relevant.. says memory issue (i have enough) or security setting (which isn't switched on)

I originally had 2019 on here and 2022. 17.3 but needed to update which failed with even less information.. removed them and rebooted.. tried to install from scratch.. get this..

dd_setup_xxx.log says
[33f0:0018][2022-12-12T15:28:10] Completed install

Be nice if that was the case

Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
{count} votes

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.