Visual Studio 2022, 2019 Community Edition: can not be installed
Matthew Martinez
I am trying to install Visual Studio 2022 Community Edition on my Windows10 notebook.
Unfortunately it always run into an error during the install phase.
I have tried the usual things:
- reboot
- shutdown the power on
- repair
- clean reinstall
Nothing helped so far, it always fail at the same exact point:
Details from the log:
Package 'Microsoft.VisualStudio.Community.Shared.Msi,version=17.1.32113.165' failed to install. Search URL Details MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Community.Shared.Msi,version=17.1.32113.165\Microsoft.VisualStudio.Community.Shared.Msi.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL="7" VSEXTUI="1" PIDKEY="NGKBDRWKQFTT82MTRMPKRM6XM" VS7.3643236F_FC70_11D3_A536_0090278A1BB8="C:\Program Files\Microsoft Visual Studio\2022\Community" FEEDBACKOPTIN="1" Return code: 1603 Return code details: Fatal error during installation. Message Id: 1310 Message Details: Error writing to file: stdole.dll. Verify that you have access to that directory.To that directory: which exactly?
My system is brand new Windows10, just have installed a few weeks ago.
I've administrator rights on my computer and I granted Installer to modify the system.
I have selected .NET Desktop development and clicked on install button. Haven't changed any preferences or install destination.
I also tried to install an earlier version with 2019 Community Edition, but it fails at the exact same point with same error.
I found someone with the same error but no solution has been provided:
Indeed, when manually starting this particular msi:
But I don't have "Run as administrator" if I right-click on that:
6 Reset to default