Closed
Bug 950447
Opened 11 years ago
Closed 10 years ago
mozillabuild incorrectly detects presence of Windows 8.1 SDK when only some of its features installed
Categories
(Firefox Build System :: MozillaBuild, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mz+bugzilla, Assigned: m_kato)
References
Details
Attachments
(1 file, 1 obsolete file)
2.77 KB,
patch
|
RyanVM
:
review+
|
Details | Diff | Splinter Review |
In case when I have not full SDK installed, but only some minor features of it (only WinDBG in my case), mozbuild thinks that full SDK is present and prefer it over SDK 7.0. Problem is in guess-msvc.bat file, it uses SET SDK80KEY=HKLM\SOFTWARE\Microsoft\Windows Kits\Installed Roots while it should first check HKLM\SOFTWARE\Microsoft\Windows Kits\Installed Products for Windows Software Development Kit value in keys, and only if it finds it then queue Installed Roots for path
Comment 1•11 years ago
|
||
Just for clarify, this is happening with the 1.9.0 test build?
Yes, I just finish deploying all stuff to new server and this is happening on 1.9.0 too. One addition: by default, sdksetup doesn't create those keys in case of installing only debuggers, but if you using standalone .msi installers those keys are creating and confusing mozbuild.
Updated•11 years ago
|
Summary: mozbuild incorrectly detects presence of Windows 8.1 SDK when only some of it's features installed → mozillabuild incorrectly detects presence of Windows 8.1 SDK when only some of it's features installed
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Phoenix from comment #2) > Yes, I just finish deploying all stuff to new server and this is happening > on 1.9.0 too. One addition: by default, sdksetup doesn't create those keys > in case of installing only debuggers, but if you using standalone .msi > installers those keys are creating and confusing mozbuild. phoenix, could you know both GUID for SDK 8.0 and 8.1?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → m_kato
Assignee | ||
Comment 4•11 years ago
|
||
{5FB4C443-6BD6-1514-2717-3827D65AE6FB} means 8.0 and {5247E16E-BCF8-95AB-1653-B3F8FBF8B3F1} means 8.1
Assignee | ||
Comment 5•11 years ago
|
||
Humm, even if uninstall SDK, registry value into HKLM\SOFTWARE\Microsoft\Windows Kits\Installed Products isn't deleted.... I should check header file (ex. windows.h) finally...
Assignee | ||
Comment 6•11 years ago
|
||
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8347916 [details] [diff] [review] Use Installed Prodcuts and file check registry value into Installed Products key isn't deleted even if uninstalling SDK. So we check header file also.
Attachment #8347916 -
Flags: review?(ryanvm)
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8347916 [details] [diff] [review] Use Installed Prodcuts and file check I should check SDKDIR is empty.
Attachment #8347916 -
Attachment is obsolete: true
Attachment #8347916 -
Flags: review?(ryanvm)
Assignee | ||
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8351324 [details] [diff] [review] v2 even if checking registry into HKLM\SOFTWARE\Microsoft\Windows Kits\Installed Products, it isn't enough. When uninstalling SDK, this key is still existed. So I need add check header file
Attachment #8351324 -
Flags: review?(ryanvm)
Updated•10 years ago
|
Summary: mozillabuild incorrectly detects presence of Windows 8.1 SDK when only some of it's features installed → mozillabuild incorrectly detects presence of Windows 8.1 SDK when only some of its features installed
Comment 11•10 years ago
|
||
Comment on attachment 8351324 [details] [diff] [review] v2 Review of attachment 8351324 [details] [diff] [review]: ----------------------------------------------------------------- r+ with the wording changes ::: guess-msvc.bat @@ +126,5 @@ > ) > ) > > +REM Even if uninstall SDK, Installed Products key is still existed. > +REM If not exist header, we shouldn't detect SDK installation "The Installed Products key still exists even if the SDK is uninstalled. Verify that the Windows.h header exists to confirm that the SDK is installed." @@ +142,5 @@ > ) > ) > > +REM Even if uninstall SDK, Installed Products key is still existed. > +REM If not exist header, we shouldn't detect SDK installation Same as above.
Attachment #8351324 -
Flags: review?(ryanvm) → review+
Assignee | ||
Comment 12•10 years ago
|
||
https://hg.mozilla.org/mozilla-build/rev/6a2f87becc78
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•1 year ago
|
Product: mozilla.org → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•