Skip to content
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

winres fails to locate correct Windows Kit in my environment #14

Closed
retep998 opened this issue Feb 19, 2019 · 0 comments
Closed

winres fails to locate correct Windows Kit in my environment #14

retep998 opened this issue Feb 19, 2019 · 0 comments

Comments

@retep998
Copy link
Contributor

retep998 commented Feb 19, 2019

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed Roots]
"KitsRoot10"="C:\\Program Files\\Windows Kits\\10\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Kits\Installed Roots]
"KitsRoot10"="C:\\Program Files (x86)\\Windows Kits\\10\\"

When building for 64-bit, winres ends up looking at the regular registry node instead of the WOW6432Node version and so ends up getting the Program Files version instead of the Program Files (x86) version, and therefore fails to locate rc.exe. It might be a good idea to pass /reg:32 when calling reg.

@retep998 retep998 changed the title winres fails to locate correctWindows Kit in my environment winres fails to locate correct Windows Kit in my environment Feb 19, 2019
@mxre mxre closed this as completed in #15 Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant