Error when installing Windows 8 SDK - windows

I'm trying to install the Windows 8 SDK. As requested by the installer, I uninstalled the Windows 7 SDK and than started the installation. The installer exits with an error:
You must uninstall the Windows Software Development Kit before you can install the latest version of the kit.
What components do I need to uninstall except the Windows 7 SDK?

If you have not found the answer to this yet, the MSDN article Windows Software Development Kit (SDK) for Windows 8 may help.

I ran into a similar problem. When the install of the Windows 8 SDK fails there will be a "Show log files" link visible. Click on that and then open the most recent log file. Search for the error you're seeing. There should be something in the log which says which component it found. (For me it was App Verifier.) Then go to Add/Remove Programs and uninstall that program. You should now be able to install the Windows 8 SDK.

I have Uninstall the current Windows Software Development Kit using Add/Remove Programs and then download the latest version from the MSDN site:
http://msdn.microsoft.com/en-us/windows/hardware/hh852363.aspx
and manage to install the Win SDK with no errors

Related

Microsoft Edge Webview Issues

I am trying to install an application on my remote PC using the Windows installer.
The application requires Webview2 to be installed on my PC, and I have it already installed. However the installer tells me that it is not installed. Where do I go from here?
This is what the installer tells me when I try to install the application:
When I check the Add or Remove Programs, it shows that Edge Webview2 is installed, so why is the installer not detecting it? (I downloaded the standalone installer from here).
If you are able to install the Edge WebView2 successfully then there is no issue with the Edge WebView2.
Actually, the issue is with your iManage app installer which is not able to detect the WebView 2 installation.
There could be various reasons why it is not able to find the installation.
You could try to restart the machine after installing the Edge WebView2 and then install the iManege and see if it finds the installation properly.
You could try to check whether the version of the WebView2 you installed is compatible with the iManage app. If not, you need to install the supported version of WebView2.
There are documents from iManage, you could check to get more information on this.
Installing Microsoft Edge WebView2 runtime
Microsoft Edge WebView2 integrated with iManage Work Desktop for Windows
If the issue persists, you could raise this issue to the iManage community or iManage support.
They could provide you with proper guidance on how to install the iManage app.

DX12 - D3D12GetDebugInterface - app requested interface depends on SDK component missing or mismatched

I've been trying to figure out how to run some code I got off the internet to understand how to make a proper directX 12 application and when I run it I get the error message below, pointing to the code displayed in the second image down.
I've ran Windows Update several times over and installed the DirectX End-User Runtime Installer and I still get this message. What do I need to do to solve this problem? I'm stumped.
The DirectX "Debug Layers" for Windows 10 are installed as an 'optional feature' in your Windows installation. Go to the Settings panel, under System, Apps & features, Manage optional Features, Add a feature, and then look for "Graphics Tools".
The "DirectX End-User Runtime Installer" has not actually changed the version of DirectX installed on any version of Windows since ~2002. It has also never installed the debug runtime. The legacy DirectX SDK only includes an old Windows 7 RTM version of the Debug Layer for DirectX 11.0. On Windows 7 with the KB2670838 installed or Windows 8.x, you need to install the latest Windows SDK to get the debug layers installed.
For more information, see Direct3D SDK Debug Layer Tricks and Not So Direct Setup.

Visual Studio can't detect WDK headers for Windows 10, throwing error can't detect ntddk.h header

Apparently there's a lot of potential problems with Visual Studio 2015, Windows Driver Kit for Windows 10, and Windows Software Development Kit for Windows 10 not all meshing well together. I'm getting this error, and all the troubleshooting I've tried from online has belly-flopped.
fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
Is there a known happy-path for installing these three together? Or some other way to fix this issue that can scale?
Similar questions & answers that didn't work
This question seems to have fallen off by the wayside, but might be the same root-cause, but there wasn't enough info provided: Visual Studio 2015 WDK Not Working
I won't accept any answers like this that hard-code the SDK's version as I can't guarantee which 10.x version will be installed across all developer machines, only that they will have a Win 10 DK and SDK.
Then there's this Matching-versions answer that was incorrectly accepted, as there is no corresponding WDK version for the current WSDK available to download from Microsoft. Current WDK available online is 10.0.14393 and WSDK is 10.0.15063.468
Last but not least, this solution from MSDN that also failed to work.
Here you can find solid, proven instructions for installing WDK with VS 2015. For any issues with newer kits and VS2017, the genuine official Microsoft WDK forum is to your service.
So, this ended up being a combination of a couple things that needed to happen in a specific order. I did all of these previously, but not in the required order while I was messing around with installing and uninstalling some of the kits. I'm not 100% sure this order is required. However I did notice that all the kits must be installed before running Repair, even if the WDK 1703 is the last kit to be installed:
Install WDK 10.0.14393 for Windows 10, version 1607
Install the Windows SDK 10.0.15063 for Windows 10, version 1703
Install WDK 10.0.15063 for Windows 10, version 1703
Run Repair on the 1703 version of the WDK 10.0.15063
All kits can be found here: https://developer.microsoft.com/en-us/windows/hardware/windows-driver-kit

Windows Runtime metadata is invalid in SDK - ITIL00005

I can compile my UWP app built with Xamarin in Debug-mode, but when I try to compile it using Release->ARM mode, these errors occurs
ILT0005: 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\ARM\ilc\tools\Gatekeeper.exe #"C:\Users\Source\app\project.UWP\obj\ARM\Release\ilc\intermediate\gkargs.rsp"' returned exit code 1
Error: Windows Runtime metadata is invalid in Windows SDK, follow the steps in http://go.microsoft.com/fwlink/?LinkId=733341 to repair your installation.
I tried to reinstall using the Windows Software Development Kit - Windows 10.0.10586.212 and Windows Software Development Kit - Windows 10.0.26624.
Shall I have both Development Kits?
Or which one do I have to remove?
Or what can cause the problem?
And how shall I fix it?
I am running Microsoft Visual Studio 2015 Enterprise Update 2 and Windows 10 Pro version 1511.
I have tried this, but without success, as I am running Visual Studio in English.
My target and min. version is set to Windows 10 (10.0; Build 10240)
If you remove all Windows SDK's, you can let Visual Studio download them, which worked for me.
Otherwise you can download the Windows SDK's and install it.

Stuck while installing Visual Studio 2015 (Update for Microsoft Windows (KB2999226))

I am trying to install Visual Studio 2015 to my Windows 7. I seem to get stuck in this screen while installing it. It has been like 3 hours now and still stuck. Tried installing that update manually but had no luck since it just kept loading as well (Searching for updates).
Any ideas?
The same thing happened to me. Here is what I did in order to get it successfully installed. I downloaded KB2999226 update from Microsofts website here: https://www.microsoft.com/en-us/download/details.aspx?id=49093
After installing this package, I started the installation process again. That worked for me.
I would like to give you a background on Universal CRT this would help you in understanding as to why the system should be updated before installing vc_redist.x64.exe.
A large portion of the C-runtime moved into the OS in Windows 10 (ucrtbase.dll) and is serviced just like any other OS DLL (e.g. kernel32.dll). It is no longer serviced by Visual Studio directly. MSU packages are the file type for Windows Updates.
In order to get the Windows 10 Universal CRT to earlier OSes, Windows Update packages were created to bring this OS component downlevel. KB2999226 brings the Windows 10 RTM Universal CRT to downlevel platforms (Windows Vista through Windows 8.1). KB3118401 brings Windows 10 November Update to the Universal CRT to downlevel platforms.
Windows XP (latest SP) is an exception here. Windows Servicing does not provide downlevel packages for that OS, so Visual Studio (Visual C++) provides a mechanism to install the UCRT into System32 via the VCRedist and MSMs.
1.The Windows Universal Runtime is included in the VC Redist exe package as it has dependency on the Windows Universal Runtime (KB2999226).
Windows 10 is the only OS that ships the UCRT in-box. All prior OSes obtain the UCRT via Windows Update only. This applies to all Vista->8.1 and associated Server SKUs.
For Windows 7, 8, and 8.1 the Windows Universal Runtime must be installed via KB2999226. However it has a prerequisite update KB2919355 which contains updates that facilitate installing the KB2999226 package.
Why does KB2999226 not always install when the runtime is installed from the redistributable? What could prevent KB2999226 from installing as part of the runtime?
The UCRT MSU included in the VCRedist is installed by making a call into the Windows Update service and the KB can fail to install based upon Windows Update service activity/state:
1) If the machine has not updated to the required servicing baseline, the UCRT MSU will be viewed as being “Not Applicable”.
Ensure KB2919355 is installed. Also, there were known issues with KB2919355 so before this the following hotfix should be installed.
KB2939087
KB2975061
2) If the Windows Update service is installing other updates when the VCRedist installs, you can either see long delays or errors indicating the machine is busy.
a. This one can be resolved by waiting and trying again later (which may be why installing via Windows Update UI at a later time succeeds).
3) If the Windows Update service is in a non-ready state, you can see errors reflecting that.
a. We recently investigated a failure with an error code indicating the WUSA service was shutting down.
To identify if the prerequisite KB2919355 is installed there are 2 options:
Registry key:
64bit hive
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14
CurrentState = 112
32bit hive
HKLM\SOFTWARE[WOW6432Node]Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~x86~~6.3.1.14
CurrentState = 112
Or check the file version of:
C:\Windows\SysWOW64\wuaueng.dll
C:\Windows\System32\wuaueng.dll
7.9.9600.17031 or later
I was stuck with the same problem. I found this page with all the possible versions of the KB2999226 also know as Update for Universal C Runtime in Windows.
https://support.microsoft.com/en-au/kb/2999226
I download the x64 version and it work perfectly in my Windows 7 Ultimate.
Today i also face this type of problem during visual studio 2015 Community installation. As i have 64bit OS. I used https://www.microsoft.com/en-us/download/details.aspx?id=49093 link to update KB2999226 mannualy.
Try It. Good luck.
Same thing happened to me and I got it working doing this:
Do not cancel the installation (using the cancel button), instead force showdown your computer so the process is killed and you get a reboot.
After the reboot, just start the install process again.
This worked for me.
Just kill wusa.exe and install KB2999226 manually. Installation will continue without any problems.
I faced this problem after installing clean Windows 7 Ultimate 64 bit OS,
When I search about KB2999226 install fails during Visual Studio I also saw that I couldn't install any other updates.
By the way, I found a solution. When formatting some PCs with ( maybe ) partly corrupted bootable media, first Update for windows not completely installed.
As a solution;
1- Disable update for windows from Control Panel.
2- Restart your pc.
3- Install KB3102810 windows update. ( First update for Windows )
Microsoft TR links;
( 64 bit ) https://www.microsoft.com/tr-TR/download/details.aspx?id=49540
( 32 bit ) https://www.microsoft.com/tr-TR/download/details.aspx?id=49542
4- Restart your pc via finished setup.
5- Try getting updates, or manually setup KB2999226.
I could install this way.
Have a nice days.
I managed to solve the problem by the following steps :
1. Disable windows updates(but check the option "let users install updates manually")
2. Reboot the PC
3. Manually install kb2999226 update from VS install folder (packages/Patch/x64/Windows6.1-KB299926-x64.msu)
4. Start the VS install
5. After install is finished turn back automatic updates
I have the same problem today, stuck on the kb2999226 for over an hour. First, i thought it is because i am using a VM on my local machine. But decided to cancel the installation, then install kb2999226 first, then install the vs2015 community again, it works out much better, the installation move forward and progressing.
thx.
Another workaround is to turn off Internet connection, reboot and restart VS installation. Without Internet connectivity VS installer won't try to update Windows first and will continue without delay.

Resources