Меню

Ошибка при установке visual studio 2022

I have downloaded visual studio installer from «https://visualstudio.microsoft.com/downloads/»
once its downloaded the installer file, when I click on install it says «Getting visual studio installer ready» and nothing happens after that. my internet connection is good and able to browse and download other files.

Tried this solution as well https://learn.microsoft.com/en-us/answers/questions/216897/visual-studio-2019-error-unable-to-download-instal.html and also tried after restarting machine. still having the same problem. you can find the screenshot for more information.

can anyone suggest what could be the issue. thanks

enter image description here

I could find the following log

[5/11/2022, 16:53:28] === Logging started: 2022/05/11 16:53:28 ===
[5/11/2022, 16:53:28] Executable: C:Users{username}Downloadsvs_Community.exe v15.9.28307.1974
[5/11/2022, 16:53:28] — logging level: standard —
[5/11/2022, 16:53:28] Directory ‘C:Users{username}AppDataLocalTemp481074b13093fff3a2’ has been selected for file extraction
[5/11/2022, 16:53:28] Extracting files to: C:Users{username}AppDataLocalTemp481074b13093fff3a2
[5/11/2022, 16:53:28] Extraction took 265 milliseconds
[5/11/2022, 16:53:28] Executing extracted package: ‘vs_bootstrapper_d15vs_setup_bootstrapper.exe ‘ with commandline ‘ —env «_SFX_CAB_EXE_PACKAGE:C:Users{username}Downloadsvs_Community.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:Users{username}Downloads»‘
[5/11/2022, 16:55:43] The entire Box execution exiting with result code: 0x0
[5/11/2022, 16:55:43] Launched extracted application exiting with result code: 0x138c
[5/11/2022, 16:55:43] === Logging stopped: 2022/05/11 16:55:43 ===

#visual-studio-2022

#visual-studio-2022

Вопрос:

Комментарии:

1. По ссылке написано: «Похоже, у вас поврежден файл в вашем кэше пакетов». Вы можете попытаться удалить все, что связано с «.NET Framework 4.8», перезагрузите компьютер. После этого попробуйте (повторно) установить VS2022 (один из вариантов при повторной установке — снова установить фреймворк)

2. Хм, на моем компьютере не установлен .NET Framework 4.8

3. Также не является частью вашей установки VS2019? смотрите: i.stack.imgur.com/soJ5i.png

4. Да, когда я переустановил vs2019, я вижу эти пакеты для .NET Framework 4.8.

5. Из Visual Studio 2022 Системные требования : «Для установки Visual Studio требуется .NET Framework 4.5.2 или выше. Для запуска Visual Studio требуется .NET Framework 4.8. Если .NET Framework 4.8 еще не установлен, он будет установлен во время установки «.

Ответ №1:

Используйте центр обновления Windows для установки предыдущего обновления безопасности для .NET Framework 4.8 после установки перезагрузите компьютер и повторите попытку установки VS2022

Ответ №2:

У меня возникла проблема при установке Visual Studio community 2022. Затем я установил тот же пакет, загрузив visual Studio community 2019, и это сработало.

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:ProgramDataMicrosoftVisualStudioPackagesMicrosoft.VisualStudio.Community.Shared.Msi,version=17.1.32113.165Microsoft.VisualStudio.Community.Shared.Msi.msi, Properties:  REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1  MSIFASTINSTALL="7"  VSEXTUI="1"  PIDKEY="NGKBDRWKQFTT82MTRMPKRM6XM"  VS7.3643236F_FC70_11D3_A536_0090278A1BB8="C:Program FilesMicrosoft Visual Studio2022Community"  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

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка при установке windows 10 second boot во время операции boot
  • Ошибка при установке visual studio 2019