Меню Рубрики

Some windows sdk components require the rtm net framework 4

Что делать если при установке пакета SDK для Windows 7 и framework 4.0 выдаёт ошибку (см. детали) ?

При попытке создать проект UE4 на c++ выдаёт ошибку: (на BluePrint ‘ах всё работает)

An error occurred while trying to generate project files.

Running E:/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=»F:/попытки UE4/MyProject2/MyProject2.uproject» -game -rocket -progress

Discovering modules, targets and source code for project.

ERROR: Windows SDK must be installed in order to build this target.

а при попытке установить пакет SDK для Windows 7 и framework 4.0 выдаёт ошибку

Some components cannot be installed

Some Windows SDK components require the RTM .NET Framework 4. Setup detected a pre — release version of the .NET Framework 4. If you continue with Setup, these components will not be installed. If you want to install these components, click Cancel, then install the .NET Framework 4 from http://go.microsoft.com/fwlink/?LinkID=187668 and then rerun Setup.

Но на компьютере установлен Framework 4.8 (скачанный по той ссылке)

Ещё пробовал установить другим установщиком:

A problem occurred while installing selected Windows SDK components.

Installation of the «Microsoft Windows SDK for Windows 7» product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.

Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245.

Click the View Log button to review the installation log.

To exit, click Finish.

У меня установлена Visual Studio 2019.

Я нашёл способ, но он для Windows 10 через вмешательство в установку, но на windows 7 вроде бы нет такой возможности.

Если кто знает, пожалуйста, напишите как инструкцию что делать (т.е. не ссылки на разные материалы где нужно что-то искать)

Источник

Some windows sdk components require the rtm net framework 4

The following forum(s) have migrated to Microsoft Q&A: All English Visual Studio Development forums!
Visit Microsoft Q&A to post new questions.

Asked by:

Question

All replies

It is a well known problem and you can just ignore it. If the SDK isn’t installing as you expect, you should provide information as to how it is failing.

This is a signature. Any samples given are not meant to have error checking or show best practices. They are meant to just illustrate a point. I may also give inefficient code or introduce some problems to discourage copy/paste coding. This is because the major point of my posts is to aid in the learning process.

Thanks for posting here.

For your case which is more related to VS general, I will move this thread to VS general forum for better support.

Thanks for your understanding and Cooperation.

MSDN Community Support Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

Please check if the below link can help you.

If the issue persists,please share more details with us, such as version of vs and SDK , how the issue occurs and etc. Look forward to your reply.

Источник

Cannot install Windows SDK 7.1 on Windows 10

I’m a software developer with a Windows 10 PC. I have to support some older software written in Visual Studio 2010 using Windows SDK 7.1

In trying to set up the development environment, I have successfully installed VS2010, and come to install Windows SDK 7.1, however the installer gives the error:

Some components cannot be installed

Some Windows SDK components require the RTM .NET Framework 4. Setup detected a pre-release version of the .NET Framework 4. If you continue with Setup, these components will not be installed. If you want to install these components, click Cancel, then install the .NET Framework 4 from http://go.microsoft.com/fwlink/?LinkID=187668 and then rerun Setup.

However, Windows 10 comes with .NET 4.5, so as far as I can tell there is yet another version check problem.

This would not worry me so much, but in attempting to install the Visual Studio 2010 compiler update, this fails, saying

cannot install because windows sdk 7.1 is not found

Attempting to install .NET 4 fails because it detects a later version of .NET.

8 Answers 8

@dougg3’s answer scripted:

First install SubInAcl,can be downloaded from Microsoft here. You may need to add it to your PATH, ex: set PATH=%PATH%;C:\Program Files (x86)\Windows Resource Kits\Tools

Then run these commands in an elevated cmd prompt:

I stumbled across another workaround, which I’ve also posted on a msdn thread:

Uninstall any Visual C++ 2010 Redistributables from the control panel first.

Download the corresponding offline ISO image from the Windows SDK archive. This lists which ISO is which.

After mounting the image, open F:\Setup\SDKSetup.exe directly.

I just ran into this same problem. No idea how safe this actually is to do, but I was able to work around it by temporarily fooling the installer into thinking I had a different version of .NET 4.0 installed. I opened Process Monitor and used it to monitor everything that setup.exe was doing in order to find out how it was determining that I had a «pre-release» version of .NET 4.0.

It turns out that it looks at these two strings in the registry:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Client\Version
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full\Version

On my Windows 10 machine, these currently are both 4.6.00079 . The installer doesn’t seem to like this value. I temporarily replaced both of them with the string 4.0.30319 in regedit to match the value from InstallPath, and that seemed to do the trick. And of course, when I was finished, I put them back the way they originally were.

However, I did not have permission to change those values, so it was a bit tricky. I right-clicked on the Client key, chose Permissions, and clicked Advanced. Then I changed the owner to my user account instead of TrustedInstaller. This allowed me to add permissions for Full Control for myself so I could modify the Version value. I repeated the same process on the Full key. After the installer completed successfully, I put the original version values back in ( 4.6.00079 ), deleted the permissions I added for myself, and restored the owner to TrustedInstaller (to do that, type NT SERVICE\TrustedInstaller as the username).

There might be a safer/easier way of intercepting the registry reads than actually modifying the registry, but this was simple enough for me!

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Some settings are managed by your organization windows 10
  • Some bad sectors cannot be repaired under windows что делать
  • Some bad sectors cannot be repaired under windows перевод
  • Solidworks не поддерживается на windows 7 пакет обновления 0
  • Software microsoft windows nt currentversion productname