1

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:

enter image description here

Details from the log:

Package 'Microsoft.VisualStudio.Community.Shared.Msi,version=17.1.32113.165' failed to install.
    Search URL
        https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Community.Shared.Msi;PackageAction=Install;ReturnCode=1310
    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.

enter image description here

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: https://developercommunity.visualstudio.com/t/packageidmicrosoftvisualstudiominshellinteropmsipa-16/346774

Indeed, when manually starting this particular msi:

enter image description here

But I don't have "Run as administrator" if I right-click on that:

enter image description here

6
  • 2
    then it's probably some issue on your system. Millions of developers already installed it and has no problem. What did you choose to install in the first time?
    – phuclv
    May 5, 2022 at 4:15
  • I would do a full uninstall and reinstall. VS2022 installer is the most advanced and simplest to customize installer Microsoft has, in order to help, we need to know more about the solution in question
    – Ramhound
    May 5, 2022 at 4:18
  • A full legal version Microsoft Office 2021 Pro might cause this? Referenced slightly from stackoverflow.com/questions/67695533/…
    – Daniel
    May 5, 2022 at 4:59
  • Brave close voters: how about proposing a solution instead clicking on close button?
    – Daniel
    May 5, 2022 at 9:48
  • I've never installed MS Office in my recent personal laptops and all of them can install VS 2015/2017/2019/2022 without any issues, and my work laptops of course also have various Office version and no problem whatsoever. Try backup data and do a factory reset for Windows 10
    – phuclv
    May 5, 2022 at 14:26

0

You must log in to answer this question.

Browse other questions tagged .