Paddle x86: Difference between revisions
Created page with "from [https://stackoverflow.com/questions/32091593/cannot-install-windows-sdk-7-1-on-windows-10 this article] I just ran into this same problem. No idea how safe this actuall..." |
No edit summary |
||
| Line 1: | Line 1: | ||
note i don't know if it's NECESSARY to do this. try building paddle x86 without it? | |||
# open regedit | |||
# navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4 | |||
# do the following on both "Client" and "Full" | |||
## right click and pick "permissions" | |||
## click "Advanced" | |||
## next to "Owner: TrustedInstaller", click "Change" | |||
## change it to YOUR user (davec), OK, OK | |||
## select "Administrators" | |||
## check "Full control: Allow", OK | |||
## edit the "Version" key | |||
## make note of the current version number, you'll need it later | |||
## change the version number to 4.0.30319, OK | |||
# run the "winsdk_web.exe" | |||
## when i ran the installer, it said it didn't NEED to be installed, so i chose "modify", then added the "Visual C++ compilers" and the ".net dev" stuff | |||
# undo the above stuff on both "Client" and "Full" | |||
## change the value for the "Version" key back to what it was previously | |||
## change the "Owner" back to "NT SERVICE\TrustedInstaller" | |||
## i left the "Administrators" with having full permission, who cares, right? | |||
You're done. | |||
==Article== | |||
from [https://stackoverflow.com/questions/32091593/cannot-install-windows-sdk-7-1-on-windows-10 this article] | from [https://stackoverflow.com/questions/32091593/cannot-install-windows-sdk-7-1-on-windows-10 this article] | ||
Revision as of 20:37, 4 September 2019
note i don't know if it's NECESSARY to do this. try building paddle x86 without it?
- open regedit
- navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4
- do the following on both "Client" and "Full"
- right click and pick "permissions"
- click "Advanced"
- next to "Owner: TrustedInstaller", click "Change"
- change it to YOUR user (davec), OK, OK
- select "Administrators"
- check "Full control: Allow", OK
- edit the "Version" key
- make note of the current version number, you'll need it later
- change the version number to 4.0.30319, OK
- run the "winsdk_web.exe"
- when i ran the installer, it said it didn't NEED to be installed, so i chose "modify", then added the "Visual C++ compilers" and the ".net dev" stuff
- undo the above stuff on both "Client" and "Full"
- change the value for the "Version" key back to what it was previously
- change the "Owner" back to "NT SERVICE\TrustedInstaller"
- i left the "Administrators" with having full permission, who cares, right?
You're done.
Article
from this article
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).