-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows SDK 8.0 fails on certain configurations #3
Comments
Is there a workaround to this for now? |
After taking a look at mwrock/Chocolatey-Packages#20 I think this is due to the same (yet unknown) root cause.
If this fails too, could you also test if it suceeds if the installer is run manually? |
I tested this on Win Server 2012 R2. Installing it via downloading and cmd worked. |
Hi. Thank you for the Windows SDK Chocolatey packages. I'm also experiencing this with the Microsoft Windows SDK for Windows 10 and .NET Framework 4.6 10.0.26624 (Windows 10 SDK v10.0.10240) Chocolatey package https://community.chocolatey.org/packages/windows-sdk-10.0 on Windows 10 x64. It's not an issue with Chocolatey, as I was able to reproduce the issue without using Chocolatey. The underlying issue is caused by the bootstrapper and occurs when building the download URLs and caused by using a short (8.3) path name to execute
Powershell resolves The In order to resolve this issue, I had to expand For example, The short path can be seen in the logs when the installation fails:
When a long path is used, the installation succeeds:
Here is an example of what the erroneous code which builds the download URL would look like :
|
@icnocop don't you think this issue should be addressed in choco itself, probably something like this: patrickmaurer/choco@0e8fb85 |
I think this issue was fixed in chocolatey v0.10.0, released on August 11, 2016, and newer versions, see chocolatey/choco#840 and https://docs.chocolatey.org/en-us/choco/release-notes#august-11-2016, but I have yet to confirm. I was also preparing a fix for this in choco. But I wanted to confirm this is still an issue in the latest version before creating a pull request, etc. |
I have verified this on Windows 10.0 64-bit build 10240 (Version 1507), where
So this issue can be closed in my opinion since this is already "fixed" in (at least) chocolatey 0.10.0. |
Thanks for testing and letting me know! |
When trying to install on windows server 2012R2 (specifically in AWS), the windows SDK (and potentially other packages) fail because the installer somehow fails to build the correct download URL.
Partial logs (the part where the download fails) are attached.
Notable part is the URL:
http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509B23AC/standalonesdk/hes/8.59.29750/Windows Software Development Kit-x86_en-us.msp
http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509B23AC/standalonesdk/Patches/8.59.29750/Windows Software Development Kit-x86_en-us.msp
It seems that for some reason, the first four characters of the relative path are being removed. Similar things happen on mwrock/Chocolatey-Packages#20
I'm going to try to find out why this happens. A possible workaround is to download the files explicitly, but I'd prefer to find the root cause if at all possible.
windows-sdk-8.0.txt
windows-sdk-8.0-failed.txt
The text was updated successfully, but these errors were encountered: