| No | Common/Core/Cabinet.cpp | 8,892 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Cabinet.cpp | 8,892 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Cabinet.cpp | 8,892 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Cabinet.cpp | 8,892 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Cabinet.cpp | 8,892 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Cabinet.cpp | 8,892 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Cabinet.cpp | 8,892 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Cabinet.cpp | 8,892 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Cabinet.cpp | 8,892 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Cabinet.cpp | 8,892 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Cabinet.cpp | 8,892 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Cabinet.cpp | 8,892 | 174 | (HANDLE)pfdin->hf;
// Set the filetime of the extracted file to the filedate from the package
if (DosDateTimeToFileTime(pfdin->date |
| No | Common/Core/Common.cpp | 1,568 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Common.cpp | 1,568 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Common.cpp | 1,568 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Common.cpp | 1,568 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Common.cpp | 1,568 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Common.cpp | 1,568 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Common.cpp | 1,568 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Common.cpp | 1,568 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Common.cpp | 1,568 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Common.cpp | 1,568 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Common.cpp | 1,568 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Conditions.cpp | 10,145 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Conditions.cpp | 10,145 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Conditions.cpp | 10,145 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Conditions.cpp | 10,145 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Conditions.cpp | 10,145 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Conditions.cpp | 10,145 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Conditions.cpp | 10,145 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Conditions.cpp | 10,145 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Conditions.cpp | 10,145 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Conditions.cpp | 10,145 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Conditions.cpp | 10,145 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Conditions.cpp | 10,145 | 55 | bReturn = false;
// Treat empty condition and value of "1" as true |
| No | Common/Core/Conditions.cpp | 10,145 | 88 | if (m_CurrentTokenType == SYMBOL_TYPE_OR)
{
GetNextToken();
bSecond = ParseExpression();
bReturn = bFirst |
| No | Common/Core/Conditions.cpp | 10,145 | 109 | if (m_CurrentTokenType == SYMBOL_TYPE_AND)
{
GetNextToken();
bSecond = ParseBooleanTerm();
bReturn = (bFirst |
| No | Common/Core/Conditions.cpp | 10,145 | 152 | return we should be at the closing paren
}
else
{
firstValue = ResolveValue |
| No | Common/Core/Conditions.cpp | 10,145 | 152 | CheckToken(SYMBOL_TYPE_RPAREN); // By the time we return we should |
| No | Common/Core/Conditions.cpp | 10,145 | 332 | if ending quote was found or if we hit end of |
| No | Common/Core/Conditions.cpp | 10,145 | 356 | m_pszPos) || *m_pszPos == L'_');
// AND, OR, and NOT are read in as |
| No | Common/Core/Conditions.cpp | 10,145 | 357..359 | here
if (m_sCurrentToken == L"AND")
{
m_CurrentTokenType = SYMBOL_TYPE_AND;
m_sCurrentToken.clear();
}
else if (m |
| No | Common/Core/Conditions.cpp | 10,145 | 362..364 | else if (m_sCurrentToken == L"OR")
{
m_CurrentTokenType = SYMBOL_TYPE_OR;
m_sCurrentToken.clear();
}
else if (m |
| No | Common/Core/Configuration.cpp | 7,977 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Configuration.cpp | 7,977 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Configuration.cpp | 7,977 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Configuration.cpp | 7,977 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Configuration.cpp | 7,977 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Configuration.cpp | 7,977 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Configuration.cpp | 7,977 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Configuration.cpp | 7,977 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Configuration.cpp | 7,977 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Configuration.cpp | 7,977 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Configuration.cpp | 7,977 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Configuration.cpp | 7,977 | 94 | m_sDefaultTarget);
}
//****************************************************************************
// MSFT recommends using the VerifyVersionInfo() API however it is |
| No | Common/Core/Configuration.cpp | 7,977 | 95 | however it is tied to
// the underlying OS version. This prevents |
| No | Common/Core/Configuration.cpp | 7,977 | 96 | that is pre-initialized to the OS
// values to test against |
| No | Common/Core/Configuration.cpp | 7,977 | 107 | false;
// By default fill in all the fields with all 1's that indicates a |
| No | Common/Core/Configuration.cpp | 7,977 | 133 | its a don't care value OR it should match what was |
| No | Common/Core/Configuration.cpp | 7,977 | 143 | osvTarget.wProductType == osv.wProductType);
return bPassed;
}
//****************************************************************************
// Uses the OS version strings passed in |
| No | Common/Core/Configuration.cpp | 7,977 | 143 | version strings passed in via the setup.xml configuration file.
// This will |
| No | Common/Core/Configuration.cpp | 7,977 | 144 | file.
// This will only check the portions that are provided, the rest are treated
// as wildcards |
| No | Common/Core/Configuration.cpp | 7,977 | 145 | rest are treated
// as wildcards. The 4-part string used here is |
| No | Common/Core/Configuration.cpp | 7,977 | 145..146 | string used here is not the typical 4-part version.
// The parts are as follows:
// [OS |
| No | Common/Core/Configuration.cpp | 7,977 | 150 | Examples:
// "6.0" will pass if the system is Vista based, Vista |
| No | Common/Core/Configuration.cpp | 7,977 | 150 | system is Vista based, Vista or Win2K8 R1
// "6.0.1" will pass |
| No | Common/Core/Configuration.cpp | 7,977 | 153 | match Vista, Win2K8 R1, Win7, and Win2K8 R2
// "6.1" will match |
| No | Common/Core/Configuration.cpp | 7,977 | 154 | R2
// "6.1" will match Win7 or Win2K8 R2
// "6.1.3" will match |
| No | Common/Core/Configuration.cpp | 7,977 | 188 | Valid .NET versions are in the form "x.y" and each is separated by a |
| No | Common/Core/CoreRes.h | 5,014 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/CoreRes.h | 5,014 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/CoreRes.h | 5,014 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/CoreRes.h | 5,014 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/CoreRes.h | 5,014 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/CoreRes.h | 5,014 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/CoreRes.h | 5,014 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/CoreRes.h | 5,014 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/CoreRes.h | 5,014 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/CoreRes.h | 5,014 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/CoreRes.h | 5,014 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Dialog.cpp | 31,972 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Dialog.cpp | 31,972 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Dialog.cpp | 31,972 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Dialog.cpp | 31,972 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Dialog.cpp | 31,972 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Dialog.cpp | 31,972 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Dialog.cpp | 31,972 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Dialog.cpp | 31,972 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Dialog.cpp | 31,972 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Dialog.cpp | 31,972 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Dialog.cpp | 31,972 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Dialog.cpp | 31,972 | 107 | using an RTL language add the RTL bits to the dialog. This needs to be |
| No | Common/Core/Dialog.cpp | 31,972 | 108 | needs to be done before
// the call to CreateDialogIndirect() so that |
| No | Common/Core/Dialog.cpp | 31,972 | 496 | size);
SetMinSize(size.cx,size.cy);
// Create and set fonts
m_hTitleFont.Load(FONT |
| No | Common/Core/Dialog.cpp | 31,972 | 502 | m_hSubTitleFont),0);
// Set dialog and banner text
CLanguage::GetInstance().LoadText |
| No | Common/Core/Dialog.cpp | 31,972 | 565 | Only raise cancel dialog if the dialog currently has a system |
| No | Common/Core/Dialog.cpp | 31,972 | 656 | Draw logo on upper right (or left if RTL... this happens |
| No | Common/Core/Dialog.cpp | 31,972 | 729 | 0);
// If we just disabled all navigation buttons, then remove the dialog close button,
// otherwise enable |
| No | Common/Core/Dialog.cpp | 31,972 | 927 | mbp.dwStyle |= MB_USERICON;
// Set language and directionality
//mbp.dwLanguageId = g_Resources.GetCurrentLangID();
if |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 46 | LOGO_WIDTH 130
//****************************************************************************
//****************************************************************************
// Handler for the OS owned folder chooser
static |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 54 | BFFM_SETSELECTION,TRUE,lpData);
// Set the browse dialog caption
wstring s |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 71 | hControl);
}
//****************************************************************************
// Read basic attributes from the current node
// Dock - Must be |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 74 | there is no
// margins attribute or does not contain a value |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 75 | a value for every side.
// The format of Margins is as |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 76 | optional so that if only the left side should have a |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 77 | then
// Margins can contain "Left" and the rest will default to a |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 140 | Reads font-related attributes from the current node. If any were |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 141 | they
// are used to create and assign a custom font to |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 142..143 | was no font requested, obtain the font being used by the parent and assign
// the same one to the control
void CControl::AssignFont(CXMLNode |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 164 | (WPARAM)hFont,0);
}
//****************************************************************************
// Based on the current font assigned to the control, retrieve the font's
// metrics
void CControl::GetFontMetrics |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 176 | tm);
ReleaseDC(hControl,hDC);
}
//****************************************************************************
// Calculates the space, in pixels, that a |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 178..179 | On entry,
// rcBounds.right should contain the maximum allowable width. The rest of
// the fields should contain 0. See |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 179 | 0. See SDK help for the DT_CALCRECT flag for
// more |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 186 | hControl);
// Make sure we perform the calculation with the font that will ultimately
// be |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 201 | pszText;
}
ReleaseDC(hControl,hDC);
}
//****************************************************************************
// Calculates the bounding area that it would |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 201 | it would take to display the text without
// clipping. Word-wrapping |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 202..203 | taken into account which increases the required
// height. The non-client area (chrome |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 203 | (chrome) is also calculated and added to the
// final required size
void CControl |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 210 | m_hControl,rcBounds);
// This adjust the bounds to account for the non-client (chrome) area |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 216 | hControl,GWL_EXSTYLE));
}
//****************************************************************************
// Depending on the node name, create a descendant |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 275 | rcBounds);
// Provide for space between the text and the border
GetFontMetrics(m_hControl,tm |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 291 | return a refresh notification to the wizard
if (DoBrowse(m_sProperty.c |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 294 | dwRet |= NOTIFICATION_REFRESH;
}
else // Setting the property from value only makes |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 317 | m_hControl);
// Leaving bi.pidlRoot with the value 0 displays the tree from the desktop level. Since
// installs would |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 318 | drives we set it to the value of My Computer
SHGetFolderLocation |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 324 | NEWDIALOGSTYLE;
// Use localized text for the browse dialog prompt
CLanguage::GetInstance |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 330 | str();
bi.lpfn = _BrowseCallbackProc;
// Pass in the current path so the browse dialog will set the initial selection to that
// target |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 374 | Set initial state based on the contents of the associated property
bool bChecked = CSetup |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 379 | next button should be enabled, or not
if (m_sAction == L |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 379 | BST_CHECKED,0);
// Return notification to the parent as to whether the next button should be enabled |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 392..393 | const
{
// We don't actually have the full width for the text due to the check box.
// Reduce the bounds width by the width of the check box to allow the
// boundary calculations to properly wrap |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 398 | CControl::CalculateBounds(rcBounds);
// Restore the actual bounds width
rcBounds.right += GetSystemMetrics |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 410 | CLICKED)
{
// Checkbox was clicked. Read the new state and update the property
bool bChecked = (SendMessage(m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 414 | L"0");
// Return notification to the parent as to whether the next button should be enabled |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 486 | GetFontMetrics(m_hControl,tm);
// If the edit does not contain any |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 486 | contain any text ensure that the height doesn't get
// smaller than |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 487 | height doesn't get
// smaller than the active character height
CalculateTextBounds(m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 494 | tm.tmHeight;
rcBounds.bottom += tm.tmInternalLeading;
// This adjust the bounds to account for the non-client (chrome) area |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 503 | nCode)
{
// On losing focus, assign the edit control's value to its |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 528 | Edit subclass wndproc to show or hide the vertical scrollbar depending on
// whether |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 529 | depending on
// whether its needed, and to change behavior by handling |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 538 | msg)
{
case WM_SETFOCUS: // Prevent the control from getting focus
case |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 539 | focus
case WM_SETCURSOR: // Prevent the cursor from being set to |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 540 | beam
case WM_CONTEXTMENU: // Prevent the context menu from being displayed |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 582 | display text is not empty and there's a state change or setup mode is noinstall...
if |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 582 | fl.begin();
while (it != fl.end())
{
//If the display text is not empty |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 588 | UNINSTALL && it->bNewState))
{
//...then add the display text to the feature list.
CLanguage::GetInstance().ResolveStringTemplate |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 598 | m_hControl,sText.c_str());
// Subclass the edit control
g_pfnOrigEditProc = (WNDPROC) |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 744 | CControl::CalculateBounds(rcBounds);
// Set the progress control height to the current font height
GetFontMetrics(m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 798..799 | const
{
// We don't actually have the full width for the text due to the radio button.
// Reduce the bounds width by the width of the radio button to allow the
// boundary calculations to properly wrap |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 804 | CControl::CalculateBounds(rcBounds);
// Restore the actual bounds width
rcBounds.right += GetSystemMetrics |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 819 | L"NEXTBUTTON")
{
// Return notification to the parent that the next button should be enabled |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 854 | SETTARGETDEVICE,0,0); // Turns on wordwrap
// Stream the contents of the property into the richedit control
wstring sText = CSetup |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 857 | If there is some content and the first character is a UNICODE |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 901 | done here instead of during the CreateWindow call otherwise the
// initial checkbox states won't be |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 905..908 | GWL_STYLE) | TVS_CHECKBOXES);
// Populate the tree
AddFeatures();
// Subclass the tree control
g_pfnOrigTreeProc = (WNDPROC) |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 918 | is being torn down, save the feature states
if (nMsg == WM |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 918 | CFeatureTree::HandleMessage(UINT nMsg)
{
// When the control is being torn down |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 926 | add them as nodes into the tree. Honor their
// parent/child |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 926 | ReadFeatures();
return NOTIFICATION_NONE;
}
//****************************************************************************
// Enumerate all features and add them as nodes into |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 939 | PARAM;
tvis.item.stateMask = TVIS_STATEIMAGEMASK;
// Iterate all features. Add them to the tree while honoring the specified hierarchy
vector<CFeature>::const |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 943 | feature in order to select the correct parent node
if (it |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 949 | else
tvis.hParent = nullptr;
// Choose checked or unchecked
tvis.item.state = INDEXTOSTATEIMAGEMASK(it->bNewState |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 965..966 | look up each node. From the node read the
// current state of the checkbox and update the feature new state
void CFeatureTree |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 965 | it->nID] = hNode;
it++;
}
}
//****************************************************************************
// Enumerate all features and look up each node. From |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 980 | Recursive function to walk down the tree and uncheck all nodes
void CFeatureTree::UncheckChildren(HWND |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 994..995 | Recursive function to walk up the tree checking nodes along the way until
// the root
void CFeatureTree::CheckParent(HWND |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,008 | has been changed. Depending on the new state
// one of two |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,010 | occur;
// - Node was checked: Set the checked for the parent node
// - Node was unchecked |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,011 | node
// - Node was unchecked: Uncheck all children
void CFeatureTree::UpdateTree(HWND |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,035 | case WM_KEYDOWN:
// Avoid expanding and collapsing of nodes
if (wParam |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,041 | if (wParam == VK_SPACE)
{
// Get the selected node
HTREEITEM hItem = TreeView |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,044 | TreeView_GetSelection(hwnd);
// Flip the node state
UINT nState = (TreeView |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,048 | nState)),TVIS_STATEIMAGEMASK);
// Update parent and children states
UpdateTree(hwnd,hItem |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,053 | case WM_LBUTTONDBLCLK: // Avoid expanding and collapsing of nodes
return 0 |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,056 | call default procedure to update the node state
CallWindowProc(g_pfnOrigTreeProc |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,059 | hwnd,msg,wParam,lParam);
// If the click was on the state icon then the state must have changed; update |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,059 | must have changed; update parent and children.
hti.pt.x = LOWORD(lParam |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,066 | consistent by making this node the current one
}
return 0;
}
return |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,094 | it == cend()) ? nullptr : *it;
}
//****************************************************************************
// Evaluates the condition string for this page |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,095 | it should be
// shown in the wizard sequence. This is called |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,095 | sequence. This is called when the page is about to
// become |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,105 | Evaluate(m_sCondition.c_str());
}
//****************************************************************************
//****************************************************************************
// Calculates the dock area bounds and updates the remaining client area to
// exclude |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,138 | break;
case DockFill:
// Take up all the remaining area
CopyRect(&rcDockArea,&m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,144 | SetRectEmpty(&m_rcClientArea);
break;
}
// Reduce the dock area by the size of the margins
rcDockArea.left += rcMargin.left;
rcDockArea.top += rcMargin.top |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,152 | rcDockArea.right -= rcMargin.right;
rcDockArea.bottom -= rcMargin.bottom;
}
//****************************************************************************
// Adjust the control position within the dock area; center/right/stretch |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,212 | their display from their assigned source
void CWizardPageDyn::RefreshControls()
{
for_each |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,227 | ENABLE_BUTTONS,(WPARAM)nButtons,0);
}
//****************************************************************************
// The tab order directly reflects the z-order. Since controls are |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,228 | Since controls are read from
// the XML and added in docking order, the resulting tab order is not |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,229 | not correct.
// Here we copy the control vector and sort it before forcing each |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,230 | in
// turn to move to the top of the z-order. When the loop is complete the
// resulting z-order will reflect |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,231 | resulting z-order will reflect the request
void CWizardPageDyn::SetTabOrder()
{
CControlList |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,237 | a temporary copy for sorting. The original reflects docking order so |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,240 | use of a Lambda in the framework
sort(cl.begin(),cl.end(),[](CControl |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,261 | Read subtitle; can be text and/or string ID format ({#xyz})
m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,264 | changes are requested, if not the buttons retain their state from |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,264 | buttons retain their state from the previous page.
// -noinstall mode always |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,265 | page.
// -noinstall mode always enables the next button
wstring s = node.GetAttribute |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,274 | EnableWizardButtons(wFlags);
}
// Loop through all controls defined for this dialog |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,280 | ctrlNode = nl.GetItem(i);
// Create all controls whose evaluation attribute evaluates |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,304 | c_str());
}
}
}
}
SetTabOrder(); // Now that the controls are created, set their |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,337 | IsProgress");
if (m_bIsProgress)
{
// Create the taskbar progress interface. Any error |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,337 | it is not available on all OS's
CoCreateInstance(CLSID_TaskbarList,NULL |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,342 | not in noinstall mode, trigger the setup thread, otherwise just show |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,343 | just show a
// progress on the progress bar
if (!CSetup::GetSetup |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,361 | OnDestroy()
{
CControlList::iterator it;
// Release and clear the control list
it = m_ControlList.begin |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,366 | it); // CControl destructor will destroy the control handle
it++;
}
m_ControlList.clear |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,388 | area. As controls are added and docked this area
// is reduced |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,388 | CControlList::const_iterator it;
// Get the available client area. As controls |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,389 | this area
// is reduced by the size of the dock
GetClientRect(m_hWnd,&m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,397 | access
// Margins are specified in the XML as dialog units. Convert |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,398 | use them in control placement and sizing
CopyRect(&rcMargins,&c.m_rcMargins |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,402 | MapDialogRect(m_hWnd,&rcMargins);
// Calculates the minimum window size of a |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,403 | window text (with word-wrapping) and control chrome.
rcBounds.left = 0;
rcBounds.top |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,403 | control. This takes into account
// the window text (with word-wrapping |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,440 | UpdateWindow(GetParent(m_hWnd));
}
//****************************************************************************
// Find the control in question and forward notification messages to it |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,448 | hControl);
if (pControl != NULL)
{
// Pass the notification to the control...
DWORD dwRet = pControl->HandleNotification |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,451 | dwRet = pControl->HandleNotification(nNotificationCode);
// ...and check to see if it |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,468..1,469 | progress messages by looking up the progress control by name and
// setting the new value
void CWizardPageDyn::OnProgress |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,509 | lParam;
OnNotify(pNMHDR->hwndFrom,pNMHDR->code);
}
break;
case WM_CTLCOLORSTATIC:
return |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,518 | a message to advance to the next page
SendMessage(GetParent(m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,550 | pCurrentPage->Create(m_hWnd);
// Set the subtitle based on the page
CLanguage::GetInstance().ResolveStringTemplate(m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,554 | IDC_SUBTITLE,sSubtitle.c_str());
// Set the working area of this page |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,554 | area of this page on the wizard dialog
SetWindowPos(*m_pCurrentPage,0,m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,559 | is a progress page, set the cursor to default or to the wait cursor
HCURSOR hCursor = m |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,573 | windowTitleId)
{
m_WindowsTitleId = windowTitleId;
}
//****************************************************************************
// Finds the previous page that can be |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,583 | while (nIndex != -1)
{
nIndex--;
// Ask the page whether it should be |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,594 | m_nCurrentPageIndex = nIndex;
CreatePage();
}
}
//****************************************************************************
// Finds the next page that can be |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,606 | while (nIndex < m_Dialogs.size())
{
// Ask the page whether it should be |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,620 | m_nCurrentPageIndex = nIndex;
CreatePage();
}
}
//****************************************************************************
// Layout the wizard controls taking font sizes |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,621 | use XML-based UI as the embedded pages do
void CWizard2 |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,664 | control won't be deleted when the
// class goes out of scope |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,664 | we're just leveraging CXMLButton, clear the handle so that the control won't be deleted when |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,677 | m_rcPageArea.bottom = y - 4; // Set the bottom of the embedded page area to just |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,677 | page area to just above the footer line
// Banner title
y |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,695 | area must be at least the height of the banner bitmap
m_rcPageArea.top = (y |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,708 | NAME, 9);
// Set fonts for the title and subtitle
SendMessage(GetDlgItem(IDC_BANNER |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,716 | str());
// Map banner title to the product name, unless it has |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,751 | Only raise cancel dialog if the dialog currently has a system |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,768 | in noinstall mode then close the dialog
if (m_bFinishPage || CSetup |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,768 | Finish Button
// If this is the last page OR running in noinstall mode then |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,773 | IDC_CANCELFINISH);
}
else // Else as the user if it is ok |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,791 | hControl,HDC hdc)
{
// Banner title and subtitle should be white with |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,803..1,804 | HBRUSH)GetStockObject(WHITE_BRUSH);
}
//****************************************************************************
// Customize the background erase to optimize and avoid flicker. Draw the banner
// and then erase the remaining area
void CWizard2::OnEraseBkgnd |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,818 | Draw logo on upper right (or left if RTL... this happens |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,847 | WPARAM wParam)
{
HWND hChild;
// Save the new requested states
m_wButtonStates |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,857 | WIZARD_FINISH_BUTTON)) > 0);
// Set the cancel/finish button with the appropriate string depending on state |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,861 | CANCEL);
// If we just disabled all navigation buttons, then remove the dialog close button,
// otherwise enable |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,869..1,870 | STYLE,lFlags | WS_SYSMENU);
// Update the controls on the wizard (particularly the navigation buttons) in case
// the text on the cancel/finish button was changed |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,870 | This eliminates cut text if the
// new text is longer then |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,871 | new text is longer then the existing text
LayoutControls();
}
//****************************************************************************
INT_P |
| No | Common/Core/DynamicDlg.cpp | 62,907 | 1,897 | custom messages need to set the DWL_MSGRESULT window property
SetWindowLong |
| No | Common/Core/Features.cpp | 10,643 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Features.cpp | 10,643 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Features.cpp | 10,643 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Features.cpp | 10,643 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Features.cpp | 10,643 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Features.cpp | 10,643 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Features.cpp | 10,643 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Features.cpp | 10,643 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Features.cpp | 10,643 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Features.cpp | 10,643 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Features.cpp | 10,643 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Features.cpp | 10,643 | 43..44 | up a feature tree while the conditions
// of the features it encounters evaluate to |
| No | Common/Core/Features.cpp | 10,643 | 45 | a condition
// evaluates to false or it reaches the top level feature.
bool CFeaturesList |
| No | Common/Core/Features.cpp | 10,643 | 89 | return NULL;
}
//****************************************************************************
// UpdateStates() determines current and expected installation state of all features.
// Feature state depends on |
| No | Common/Core/Features.cpp | 10,643 | 94 | Package install/uninstall condition.
// Feature and package conditions should include command |
| No | Common/Core/Features.cpp | 10,643 | 97 | Those dependencies like setup mode or current state may obviously change |
| No | Common/Core/Features.cpp | 10,643 | 98 | set during various setup stages and
// it is important when UpdateStates |
| No | Common/Core/Features.cpp | 10,643 | 101 | true" compared to
// "false" at the beginig of installation).
void CFeaturesList |
| No | Common/Core/Features.cpp | 10,643 | 119 | for a left brace indicating
// the start of a GUID string |
| No | Common/Core/Features.cpp | 10,643 | 124 | First need to look up the product based on the upgrade code
DWORD dwError = pfnMsiEnumRelatedProducts(it->sPackageID.c |
| No | Common/Core/Features.cpp | 10,643 | 128 | SUCCESS)
{
if (it->sName == L"ALL")
{
//We don't expect any particular |
| No | Common/Core/Features.cpp | 10,643 | 135 | true;
}
else
{
// No error means the product was previously installed so |
| No | Common/Core/Features.cpp | 10,643 | 142 | LOCAL);
}
}
else
{
// Can't get product code so that means the product is not already installed |
| No | Common/Core/Features.cpp | 10,643 | 143 | is not already installed so
// the current state is set to |
| No | Common/Core/Features.cpp | 10,643 | 165 | end())
{
if (it->sPackageID.empty())
{
//Dummy or grouping feature. Check only condition |
| No | Common/Core/Features.cpp | 10,643 | 180 | for a left brace indicating
// the start of a GUID string |
| No | Common/Core/Features.cpp | 10,643 | 188 | SETUP_MODE_UPDATE:
//Install/remove all features that are available:
it |
| No | Common/Core/Features.cpp | 10,643 | 192 | SETUP_MODE_REPAIR:
//Install/remove all features that are available:
it |
| No | Common/Core/Features.cpp | 10,643 | 200 | bCurrentState && !uninstall_package;
break;
default:
//All other non-install modes like |
| No | Common/Core/Features.cpp | 10,643 | 215 | its name is put to the list
// of features that will |
| No | Common/Core/Features.cpp | 10,643 | 218 | feature that is already installed and should not be included in |
| No | Common/Core/Features.cpp | 10,643 | 219 | its name is added to the list of features to remove |
| No | Common/Core/Features.cpp | 10,643 | 252 | properly read nested feature elements and assign
// correct parent ID. Parent |
| No | Common/Core/Features.cpp | 10,643 | 272 | this feature has a name AND has a parent
// then copy |
| No | Common/Core/Features.cpp | 10,643 | 272 | a PackageID was not specified AND this feature has a name |
| No | Common/Core/Features.cpp | 10,643 | 273 | has a parent
// then copy the value of the parent's PackageID
if (data.sPackageID.empty() && !data.sName.empty |
| No | Common/Core/Hardware.cpp | 33,931 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Hardware.cpp | 33,931 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Hardware.cpp | 33,931 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Hardware.cpp | 33,931 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Hardware.cpp | 33,931 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Hardware.cpp | 33,931 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Hardware.cpp | 33,931 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Hardware.cpp | 33,931 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Hardware.cpp | 33,931 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Hardware.cpp | 33,931 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Hardware.cpp | 33,931 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Hardware.cpp | 33,931 | 188 | currentVersion, installationType;
long errorCode = 0;
/* All Windows prior to Win10 used |
| No | Common/Core/Hardware.cpp | 33,931 | 189 | this key ALWAYS contains '6.3' and real version is stored in |
| No | Common/Core/Hardware.cpp | 33,931 | 190 | version is stored in CurrentMajorVersion
and CurrentMinorVersion values. */
//First open registry |
| No | Common/Core/Hardware.cpp | 33,931 | 254 | return first <= second;
case VER_AND:
return first && second;
case VER |
| No | Common/Core/Hardware.cpp | 33,931 | 256 | return first && second;
case VER_OR:
return first || second;
}
return true |
| No | Common/Core/Hardware.cpp | 33,931 | 340 | If an architecture was specified and isn't the same, then no match
if |
| No | Common/Core/Hardware.cpp | 33,931 | 343 | a platform type was specified and isn't the same, then no match
if |
| No | Common/Core/Hardware.cpp | 33,931 | 362 | If an architecture was specified and isn't the same, then no match
if |
| No | Common/Core/Hardware.cpp | 33,931 | 365 | a platform type was specified and isn't the same, then no match
if |
| No | Common/Core/Hardware.cpp | 33,931 | 376 | into a 64bit format. If the string contains less
// than 4 |
| No | Common/Core/Hardware.cpp | 33,931 | 377..378 | they are considered to be the value 0.
// This is the same function as found in |
| No | Common/Core/Hardware.cpp | 33,931 | 563 | sRootFolder = pszRootFolder;
Logf(L"Scanning all active devices");
ScanAllDevices();
Scan2(L |
| No | Common/Core/Hardware.cpp | 33,931 | 587 | VALUE) return;
// Loop through files and folders in sFilePath
while (dwError |
| No | Common/Core/Hardware.cpp | 33,931 | 642 | there was a problem reading the Name. The first block past this catch |
| No | Common/Core/Hardware.cpp | 33,931 | 643 | handler
// detects an empty name and sets it to the relative file path.
}
if (pInfo |
| No | Common/Core/Hardware.cpp | 33,931 | 663 | sLine = inf.ReadLine();
// Enumerate every section and find the best match. Best match is |
| No | Common/Core/Hardware.cpp | 33,931 | 664 | Best match is defined
// as the highest value when the decoration is converted to a |
| No | Common/Core/Hardware.cpp | 33,931 | 686 | dwRank))
{
// Decoration matches, now if the corresponding section is empty then |
| No | Common/Core/Hardware.cpp | 33,931 | 687 | is an explicit block for the OS
if (bSectionValid)
{
pInfo |
| No | Common/Core/Hardware.cpp | 33,931 | 705 | sBestMatch.empty())
{
Logf(L" Section with the best match: %s",sBestMatch.c_str |
| No | Common/Core/Hardware.cpp | 33,931 | 722 | bAlreadyMatched = false;
// Check for null or empty section string
if (pszSection |
| No | Common/Core/Hardware.cpp | 33,931 | 736 | TODO: Scan every id on the line
Logf(L" Device: %s |
| No | Common/Core/Hardware.cpp | 33,931 | 739 | quick lookup to see if the HW is available
if (m |
| No | Common/Core/Hardware.cpp | 33,931 | 770 | if installed INF is inbox or chipset or section = NO_DRV
if (pInfo |
| No | Common/Core/Hardware.cpp | 33,931 | 804 | a bitset
}
//***************************************************************************
// This member enumerates all active HW and records DID's into a set |
| No | Common/Core/Hardware.cpp | 33,931 | 821 | hDeviceInfo != INVALID_HANDLE_VALUE)
{
// Parse the list to find any devices |
| No | Common/Core/Hardware.cpp | 33,931 | 828 | hDeviceInfo,i++,&dd)) break;
// HWIDs and compatible HWIDs are accessed separately |
| No | Common/Core/Hardware.cpp | 33,931 | 828..829 | HWIDs are accessed separately. Get the size of both lists and read
// both into the same buffer. That way we |
| No | Common/Core/Hardware.cpp | 33,931 | 829..830 | we only need one loop and the compatible list is
// at the bottom and is only processed if a |
| No | Common/Core/Hardware.cpp | 33,931 | 878 | 0x%X)",GetLastError());
return;
}
// Parse the list to find any devices |
| No | Common/Core/Hardware.cpp | 33,931 | 885..886 | HWIDs are accessed separately. Get the size of both lists and read
// both into the same buffer. That way we |
| No | Common/Core/Hardware.cpp | 33,931 | 885 | hDeviceInfo,i++,&dd)) break;
// HWIDs and compatible HWIDs are accessed separately |
| No | Common/Core/Hardware.cpp | 33,931 | 886..887 | we only need one loop and the compatible list is
// at the bottom and is only processed if a |
| No | Common/Core/Hardware.cpp | 33,931 | 981 | L"SHFileOperation returned an error (Code is not always a Win32 |
| No | Common/Core/Hardware.cpp | 33,931 | 981 | is not always a Win32 code).", __FILE__, __LINE__);
}
}
b >>= 1;
j |
| No | Common/Core/Hardware.cpp | 33,931 | 1,002 | (pszCurrentInfFilePath);
//Constructing path of all *.inf files to remove
wcscpy |
| No | Common/Core/Hardware.cpp | 33,931 | 1,009 | szAllInfFiles[nPathTmpLen + 1] = 0;
//Constructing source path from where correct *.inf |
| No | Common/Core/Hardware.cpp | 33,931 | 1,027 | FOF_NOCONFIRMATION | FOF_NOCONFIRMMKDIR;
//Deleting all *.inf files
nError = SHFileOperation(&fo |
| No | Common/Core/Hardware.cpp | 33,931 | 1,030 | L"SHFileOperation returned an error (Code is not always a Win32 |
| No | Common/Core/Hardware.cpp | 33,931 | 1,030 | is not always a Win32 code).",__FILE__,__LINE__);
//Configuring SHFILEOPSTRUCT to |
| No | Common/Core/Hardware.cpp | 33,931 | 1,040 | is not always a Win32 code).",__FILE__,__LINE__);
}
//****************************************************************************
bool CHardware:: |
| No | Common/Core/Hardware.cpp | 33,931 | 1,040 | L"SHFileOperation returned an error (Code is not always a Win32 |
| No | Common/Core/Hardware.cpp | 33,931 | 1,049 | bool bWillInstall = false;
// Insure that the name exists before trying to |
| No | Common/Core/Include/Cabinet.h | 3,085 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Cabinet.h | 3,085 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Cabinet.h | 3,085 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Cabinet.h | 3,085 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Cabinet.h | 3,085 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Cabinet.h | 3,085 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Cabinet.h | 3,085 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Cabinet.h | 3,085 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Cabinet.h | 3,085 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Cabinet.h | 3,085 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Cabinet.h | 3,085 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Cabinet.h | 3,085 | 29 | writing.
// ==========================================================================
#pragma once
// Base Error Code. Result from member functions can |
| No | Common/Core/Include/Cabinet.h | 3,085 | 30 | error from 1 to 0xAFFF,
// or an error from 0xB000 and up. Subtract the base from these values to |
| No | Common/Core/Include/Common.h | 24,100 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Common.h | 24,100 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Common.h | 24,100 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Common.h | 24,100 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Common.h | 24,100 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Common.h | 24,100 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Common.h | 24,100 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Common.h | 24,100 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Common.h | 24,100 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Common.h | 24,100 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Common.h | 24,100 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Common.h | 24,100 | 73 | Removed writing "Version" value to the registry in UpdateProductKey
Added WillInstall |
| No | Common/Core/Include/Common.h | 24,100 | 89 | scan has been moved upfront and done once instead of for |
| No | Common/Core/Include/Common.h | 24,100 | 97 | support
Added conditions for install and uninstall
Minimum MSI version needed |
| No | Common/Core/Include/Common.h | 24,100 | 101 | easier to use feature display and installation, added unit-tests
Fixed |
| No | Common/Core/Include/Common.h | 24,100 | 112 | Extract driver function extracts to the setup folder and ignores input.
Added custom switch |
| No | Common/Core/Include/Common.h | 24,100 | 116 | paths by combining them with the current directory
2.5.4
4909611 - Currently |
| No | Common/Core/Include/Common.h | 24,100 | 124 | log files created when using the DELL CVT tool (Modified -report |
| No | Common/Core/Include/Common.h | 24,100 | 127 | ed <path> switch which wraps the functionality of the -a and -p switches
Converted dialog page |
| No | Common/Core/Include/Common.h | 24,100 | 128 | to protected virtual. This enables the dialog classes to be derived |
| No | Common/Core/Include/Common.h | 24,100 | 130 | in an empty ADDLOCAL property. The MSI is not launched under |
| No | Common/Core/Include/Common.h | 24,100 | 130 | to CPropertyList class
Now handling the case where no features are |
| No | Common/Core/Include/Common.h | 24,100 | 131 | within another FeatureItem. Children take the Package of the parent item
For a nested |
| No | Common/Core/Include/Common.h | 24,100 | 131 | this condition
FeatureItems can omit the PackageID attribute when they are |
| No | Common/Core/Include/Common.h | 24,100 | 132 | evaluate to true along with all its parents conditions.
2.5.7
Added |
| No | Common/Core/Include/Common.h | 24,100 | 143 | Utilities/h/cpp
Added GetFirstChildNode() and GetNextNode() members to CXML class |
| No | Common/Core/Include/Common.h | 24,100 | 146 | support for Windows server 2012 and Windows Blue client/server
4944076 |
| No | Common/Core/Include/Common.h | 24,100 | 147 | 4944076 RST (12.x) 2.0.33 - extractdrivers and report options do not appear |
| No | Common/Core/Include/Common.h | 24,100 | 151 | Utilities. Currently used to prune the MSI log file.
2.5.11
Fix |
| No | Common/Core/Include/Common.h | 24,100 | 154 | key assignments don't work in the RST installer window for user |
| No | Common/Core/Include/Common.h | 24,100 | 158 | implementation of OnShowWizard() to display the UI from XML
Added new |
| No | Common/Core/Include/Common.h | 24,100 | 163..166 | CPropertyList::ResolveVariables() in addition to the existing $()
2.5.14
Added error code to error string lookup in |
| No | Common/Core/Include/Common.h | 24,100 | 173..176 | This was to accommodate referencing the value from XML
2.5.17
All features will appear in the feature list (XML UI only |
| No | Common/Core/Include/Common.h | 24,100 | 185 | IIF_RESOURCEFOLDER which points to the temporary language folder while setup |
| No | Common/Core/Include/Common.h | 24,100 | 187 | to <Link>
Added IIF_SILENT and IIF_NOINSTALL properties
Bug fix |
| No | Common/Core/Include/Common.h | 24,100 | 201 | can be set to "Yes" or "No" to force the selection of that button. This |
| No | Common/Core/Include/Common.h | 24,100 | 201 | not present is to select the radio button if the value of the property "Property" equals the value of "Value".
CXML class |
| No | Common/Core/Include/Common.h | 24,100 | 201 | that button. This attribute forces the "Property" attribute to be ignored |
| No | Common/Core/Include/Common.h | 24,100 | 205 | been enhanced. Default name is the relative path where the extracted INF is located. This |
| No | Common/Core/Include/Common.h | 24,100 | 205 | is now scrubbed to remove the .inf extension, backslashes "\" are replaced |
| No | Common/Core/Include/Common.h | 24,100 | 205 | are replaced with an underscore "_", and finally the entire name is upper-cased |
| No | Common/Core/Include/Common.h | 24,100 | 205 | now be "X86_MYNAME". This is the name that should be used |
| No | Common/Core/Include/Common.h | 24,100 | 205 | should be used when populating the drivers table.
Fixed
Added scrubbing |
| No | Common/Core/Include/Common.h | 24,100 | 208 | ReadInstalledDriverData() (Hardware.cpp). This was causing the installer to crash when the value read contained "%" characters. These characters are now |
| No | Common/Core/Include/Common.h | 24,100 | 208 | table.
Fixed
Added scrubbing to the "ProviderName" read from the registry in ReadInstalledDriverData() (Hardware.cpp). This |
| No | Common/Core/Include/Common.h | 24,100 | 209 | not propagate to an exit code.
Wizard dialog frame contents are |
| No | Common/Core/Include/Common.h | 24,100 | 210 | embedded page displayed. Now when the complete page is displayed the "Finish" button is resized to |
| No | Common/Core/Include/Common.h | 24,100 | 210 | button is resized to accommodate the changed string size.
XML UI |
| No | Common/Core/Include/Common.h | 24,100 | 211 | an action type of BROWSE and then canceling the popup dialog resulted in an |
| No | Common/Core/Include/Common.h | 24,100 | 212 | height. Fix was to set the minimum height to the height of the selected font.
DriversCA - When auto |
| No | Common/Core/Include/Common.h | 24,100 | 213 | font.
DriversCA - When auto-creating the "_INF_<PackageInfoName>_*" properties and the INF's packageinfo/name contained periods, the contents from the last period until the end were being chopped off |
| No | Common/Core/Include/Common.h | 24,100 | 213 | chopped off. For example if the packagename was "MyName.x86" the resulting properties were of the form "_INF_MYNAME_VERSION" and "_INF_MYNAME_DID". With this |
| No | Common/Core/Include/Common.h | 24,100 | 213 | MYNAME_DID". With this fix the result is now "_INF_MYNAME.x86_VERSION |
| No | Common/Core/Include/Common.h | 24,100 | 213 | result is now "_INF_MYNAME.x86_VERSION" and "_INF_MYNAME.x86_DID".
2.5.22
New
Added |
| No | Common/Core/Include/Common.h | 24,100 | 218 | a private copy constructor to the CPropertyList class to prevent improper |
| No | Common/Core/Include/Common.h | 24,100 | 220 | Fixed
XML UI - Check boxes and radio buttons were not correctly |
| No | Common/Core/Include/Common.h | 24,100 | 221 | page where that page was the first page in the wizard. Fixed so that the button is disabled correctly.
2.5.23 |
| No | Common/Core/Include/Common.h | 24,100 | 225 | changed internal implementation when creating and initializing controls. This eliminates side |
| No | Common/Core/Include/Common.h | 24,100 | 226 | using conditions.
XML UI - Using the BROWSE action in a button |
| No | Common/Core/Include/Common.h | 24,100 | 226 | in a button control clears the associated property when canceling the browse folder dialog.
2.5.24
New |
| No | Common/Core/Include/Common.h | 24,100 | 236 | kernel.dll as a secondary version source to workaround GetVersionEx() returning the wrong version on Win8.1.
2.5.26 |
| No | Common/Core/Include/Common.h | 24,100 | 242 | MSI from being copied to the Package Cache
Schema: Added "SelfARP |
| No | Common/Core/Include/Common.h | 24,100 | 242 | Setting it to "no" prevents the MSI from being copied to |
| No | Common/Core/Include/Common.h | 24,100 | 243 | to <Setup> element. If "Yes" the setup directly creates its ARP |
| No | Common/Core/Include/Common.h | 24,100 | 243 | directly creates its ARP entry and relevant markup in wxs files |
| No | Common/Core/Include/Common.h | 24,100 | 247 | that executes whatever is in the "Launch" attribute when the page is being shutdown. In |
| No | Common/Core/Include/Common.h | 24,100 | 248 | filetype to an installed application.
The progress page now sets the cursor to busy.
When running |
| No | Common/Core/Include/Common.h | 24,100 | 249 | on battery (not plugged in) the property IIF_ONBATTERYPOWER is created |
| No | Common/Core/Include/Common.h | 24,100 | 249 | IIF_ONBATTERYPOWER is created with the value of "1".
Fixed
Progress |
| No | Common/Core/Include/Common.h | 24,100 | 249 | battery, such as a laptop, the property IIF_BATTERYPOWER records the % of battery power left. If |
| No | Common/Core/Include/Common.h | 24,100 | 252 | multiple MSI's in one transaction. The progress bar now swings left |
| No | Common/Core/Include/Common.h | 24,100 | 253 | entry was removed when cancelling the installer on the modify page
When upgrading from |
| No | Common/Core/Include/Common.h | 24,100 | 253 | ARP was broken in that the ARP entry was removed when |
| No | Common/Core/Include/Common.h | 24,100 | 254 | installing MSI would not get the correct properties passed into it |
| No | Common/Core/Include/Common.h | 24,100 | 254 | passed into it, due do the framework thinking that an MSI |
| No | Common/Core/Include/Common.h | 24,100 | 254 | a legacy (non-MSI) installation, the installing MSI would not get |
| No | Common/Core/Include/Common.h | 24,100 | 257 | of keeping it synchronized with the property "IIF_SETUPMODE".
Installed version |
| No | Common/Core/Include/Common.h | 24,100 | 257 | SetupMode member variable due to the complication of keeping it synchronized |
| No | Common/Core/Include/Common.h | 24,100 | 258 | data. In addition this leaves the product registry open for the application to use.
2.5.28
Fixed |
| No | Common/Core/Include/Common.h | 24,100 | 258 | folder are now retrieved from the ARP key location. This avoids |
| No | Common/Core/Include/Common.h | 24,100 | 258 | property "IIF_SETUPMODE".
Installed version and installed folder are now retrieved |
| No | Common/Core/Include/Common.h | 24,100 | 261 | 2.5.27. Some switches, such as the -? switch, no longer worked.
2.5.29 |
| No | Common/Core/Include/Common.h | 24,100 | 265 | a unique file by using the new attribute 'LogFile'. If this |
| No | Common/Core/Include/Common.h | 24,100 | 266 | sitting this to '1' in the <Properties> section of setup.xml, MSI |
| No | Common/Core/Include/Common.h | 24,100 | 267 | put in for cases where the transactions cause issues. It is |
| No | Common/Core/Include/Common.h | 24,100 | 268 | files will not get pruned and continue to grow.
Changed
'IgnoreError |
| No | Common/Core/Include/Common.h | 24,100 | 277 | void CSetup::CreateARP()
2.5.31
Changed the Extract folder from W2K8-R2-x64 to |
| No | Common/Core/Include/Common.h | 24,100 | 281 | attempt to install INFs from source directory that exist in the driver table.
2.5.33
Changed version |
| No | Common/Core/Include/Common.h | 24,100 | 290 | when determining available width for the title and subtitle. Higher DPI settings inrease |
| No | Common/Core/Include/Common.h | 24,100 | 297 | This solves empty feature list and default behavior when no new |
| No | Common/Core/Include/Common.h | 24,100 | 306 | 2.5.40
Extended IIF condition with >= and <= operators. Numbers are held as |
| No | Common/Core/Include/Common.h | 24,100 | 309 | symbol).
2.5.41
Removed hardcoded references and D drive dependencies by introducing |
| No | Common/Core/Include/Common.h | 24,100 | 310 | may be overriden.
Moved IIDS and Cabarc to IIF3\Tools next |
| No | Common/Core/Include/Common.h | 24,100 | 318 | feature Setup.cpp @ 4107
Commented unused code Pages.cpp @ 4107
2.5.44
Extended condition |
| No | Common/Core/Include/Common.h | 24,100 | 331 | on help screen in CHT and CHS languages.
2.5.48
Added "fresh |
| No | Common/Core/Include/Common.h | 24,100 | 334 | present on a system components and installs whole package content.
2.5.49 |
| No | Common/Core/Include/Common.h | 24,100 | 338 | uninstalls device
Install.data now contains all Device IDs of all matched devices - not only first |
| No | Common/Core/Include/Common.h | 24,100 | 341 | 2.5.50
Fixed Klocwork issues (Criticals and errors)
2.5.51
Added IIF_HASBATTERY |
| No | Common/Core/Include/Common.h | 24,100 | 350 | now always used on install and uninstall.
2.5.54
Added quotes for |
| No | Common/Core/Include/Common.h | 24,100 | 381 | from 'dmus' to 'omus'.
2.6.6
Code clean up for unused tools |
| No | Common/Core/Include/Common.h | 24,100 | 382 | unused tools;
Move ME11.6 specific code from common to ME11.6 product |
| No | Common/Core/Include/Common.h | 24,100 | 392 | control panel entry when show the finish page.
2.7.3
Update VS |
| No | Common/Core/Include/Common.h | 24,100 | 402 | 2.7.5
Fix Klocwork issues (Criticals and errors) and Optimize code.
2.7.6
Use newdev API to |
| No | Common/Core/Include/Common.h | 24,100 | 408 | driver store driver.
2.7.7
Move source codes to OWR.
2.7.8
Fix |
| No | Common/Core/Include/Common.h | 24,100 | 411 | codes to OWR.
2.7.8
Fix the update fail issue by helping |
| No | Common/Core/Include/Common.h | 24,100 | 411 | by helping user to reboot the machine.
*/
// This #define is parsed |
| No | Common/Core/Include/Common.h | 24,100 | 414 | tool. Format should always remain the same
#define CORE_VERSION L |
| No | Common/Core/Include/Common.h | 24,100 | 419 | codes are only used internally and are mapped to a generic |
| No | Common/Core/Include/Common.h | 24,100 | 425 | 5 // Installed product package version or drivers are newer
#define IIF |
| No | Common/Core/Include/Common.h | 24,100 | 426 | 7 // Error occurred during MSI or driver extraction
#define IIF_ERROR |
| No | Common/Core/Include/Common.h | 24,100 | 433 | when a battery is present and reports the % of power remaining
#define IIF |
| No | Common/Core/Include/Common.h | 24,100 | 434 | DRVFOLDER L"IIF_DRVFOLDER" // Holds the path to INF's when user |
| No | Common/Core/Include/Common.h | 24,100 | 435 | Path to cache where setup.exe and MSI's are cached
#define IIF |
| No | Common/Core/Include/Common.h | 24,100 | 436 | kernel.dll, this property will contain the version
#define IIF_SKIPHWCHECK L |
| No | Common/Core/Include/Common.h | 24,100 | 436 | L"IIF_DEBUG_REPORTEDVERSION" // If the OS version was obtained via |
| No | Common/Core/Include/Common.h | 24,100 | 438 | L"IIF_EXITCODE" // Setup error code. This is not the final exit code, if an error occurred this |
| No | Common/Core/Include/Common.h | 24,100 | 438 | an error occurred this stores the actual error instead of the generic 1603 code
#define IIF_EXTRACTFOLDER L"IIF |
| No | Common/Core/Include/Common.h | 24,100 | 440 | if ICC is included in the setup
#define IIF_ICCINSTALLEDPATH L |
| No | Common/Core/Include/Common.h | 24,100 | 441 | ICC is already installed, contains the full path to installed folder |
| No | Common/Core/Include/Common.h | 24,100 | 442 | setup is already installer, contains the installed version. Empty if not |
| No | Common/Core/Include/Common.h | 24,100 | 443 | INSTALLFOLDER" // Target installation folder for the primary MSI
#define IIF_IS64 L |
| No | Common/Core/Include/Common.h | 24,100 | 445 | IIF_LANGCOUNTRY" // ISO language-country code (eg. en-US)
#define IIF |
| No | Common/Core/Include/Common.h | 24,100 | 446 | LICENSE L"IIF_LICENSE" // Stores the license to display in the wizard
#define IIF_LOGFOLDER L |
| No | Common/Core/Include/Common.h | 24,100 | 458 | 1" if -noicc was used or default is no ICC
#define |
| No | Common/Core/Include/Common.h | 24,100 | 466 | OS L"IIF_OS" // Contains the OS version in "x.y" major |
| No | Common/Core/Include/Common.h | 24,100 | 467 | OSSERVICEPACK L"IIF_OSSERVICEPACK" // Contains the active OS service pack as |
| No | Common/Core/Include/Common.h | 24,100 | 468 | PACKAGEPATH L"IIF_PACKAGEPATH" // Contains the path to the extracted payload during processing
#define |
| No | Common/Core/Include/Common.h | 24,100 | 469 | PACKAGEVERSION L"IIF_PACKAGEVERSION" // Contains the installing product version
#define IIF |
| No | Common/Core/Include/Common.h | 24,100 | 472 | README L"IIF_README" // Stores the readme to display in the wizard
#define IIF_RESOURCEFOLDER L |
| No | Common/Core/Include/Common.h | 24,100 | 473 | L"IIF_RESOURCEFOLDER" // Points to the setup language resource folder
#define |
| No | Common/Core/Include/Common.h | 24,100 | 474 | L"IIF_SETUPPATH" // Folder containing the current setup being run
#define |
| No | Common/Core/Include/Common.h | 24,100 | 480 | current OS is Windows 10 or above
|
| No | Common/Core/Include/Conditions.h | 3,104 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Conditions.h | 3,104 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Conditions.h | 3,104 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Conditions.h | 3,104 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Conditions.h | 3,104 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Conditions.h | 3,104 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Conditions.h | 3,104 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Conditions.h | 3,104 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Conditions.h | 3,104 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Conditions.h | 3,104 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Conditions.h | 3,104 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Conditions.h | 3,104 | 48 | SYMBOL_TYPE_END, SYMBOL_TYPE_OR, SYMBOL_TYPE_AND, SYMBOL_TYPE_NOT, SYMBOL_TYPE |
| No | Common/Core/Include/Conditions.h | 3,104 | 55 | m_pszPos; // Current position in the evaluation string
LPCWSTR m_pszCondition |
| No | Common/Core/Include/Conditions.h | 3,104 | 58 | of current token, if identifier or string
bool ParseExpression();
bool ParseBooleanTerm |
| No | Common/Core/Include/Configuration.h | 3,230 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Configuration.h | 3,230 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Configuration.h | 3,230 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Configuration.h | 3,230 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Configuration.h | 3,230 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Configuration.h | 3,230 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Configuration.h | 3,230 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Configuration.h | 3,230 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Configuration.h | 3,230 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Configuration.h | 3,230 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Configuration.h | 3,230 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Configuration.h | 3,230 | 35 | CConfiguration
{
public:
wstring m_sPID; // The PID of the installer
wstring m_sProductName; // Product |
| No | Common/Core/Include/Configuration.h | 3,230 | 42 | m_bHasDrivers; // If true if the installer contains drivers, false if |
| No | Common/Core/Include/Configuration.h | 3,230 | 46 | installer
bool m_bSupportsX86; // true if the setup supports x86 installation
bool |
| No | Common/Core/Include/Configuration.h | 3,230 | 47 | installation
bool m_bSupportsX64; // true if the setup supports x64 installation
bool |
| No | Common/Core/Include/Configuration.h | 3,230 | 51 | If true, setup will create the ARP entry
public:
CConfiguration();
void |
| No | Common/Core/Include/Dialog.h | 6,866 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Dialog.h | 6,866 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Dialog.h | 6,866 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Dialog.h | 6,866 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Dialog.h | 6,866 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Dialog.h | 6,866 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Dialog.h | 6,866 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Dialog.h | 6,866 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Dialog.h | 6,866 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Dialog.h | 6,866 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Dialog.h | 6,866 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 28 | Directives returned after control creation and after handling notifications
#define NOTIFICATION |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 30 | define NOTIFICATION_ENABLENEXT 1 // Directs the wizard to enable the Next button
#define NOTIFICATION_DISABLENEXT |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 31 | define NOTIFICATION_DISABLENEXT 2 // Directs the wizard to disable the Next button
#define NOTIFICATION_REFRESH |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 32 | define NOTIFICATION_REFRESH 4 // Directs the wizard to refresh all the controls on the current page
//****************************************************************************
enum DOCKSIDE { DockLeft |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 44 | HWND m_hControl; // Handle to the control
wstring m_sName; // Name |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 45 | sName; // Name used to reference the control. Read from the XML and is optional
DOCKSIDE m_Dock |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 46 | m_Dock; // Dock location for the control. Required
ALIGNMENT m_Alignment |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 48 | add on each side of the control. These are specified in |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 50 | sValue; // Value to assign to the property when the control is triggered
wstring m |
| No | Common/Core/Include/DynamicDlg.h | 10,510 | 235 | pTaskBarList; // This is what implements the taskbar progress feature
void SetDockAreaAndUpdateClientArea |
| No | Common/Core/Include/Exceptions.h | 3,083 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Exceptions.h | 3,083 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Exceptions.h | 3,083 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Exceptions.h | 3,083 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Exceptions.h | 3,083 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Exceptions.h | 3,083 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Exceptions.h | 3,083 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Exceptions.h | 3,083 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Exceptions.h | 3,083 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Exceptions.h | 3,083 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Exceptions.h | 3,083 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Features.h | 3,435 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Features.h | 3,435 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Features.h | 3,435 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Features.h | 3,435 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Features.h | 3,435 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Features.h | 3,435 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Features.h | 3,435 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Features.h | 3,435 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Features.h | 3,435 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Features.h | 3,435 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Features.h | 3,435 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Features.h | 3,435 | 38 | sDisplayText; // String to display in the UI. This can include {#xxx |
| No | Common/Core/Include/Features.h | 3,435 | 39 | package ID. This could be the upgradecode
// GUID for MSI packages |
| No | Common/Core/Include/Features.h | 3,435 | 40 | upgradecode
// GUID for MSI packages, or a unique identifier for other |
| No | Common/Core/Include/Hardware.h | 9,066 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Hardware.h | 9,066 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Hardware.h | 9,066 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Hardware.h | 9,066 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Hardware.h | 9,066 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Hardware.h | 9,066 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Hardware.h | 9,066 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Hardware.h | 9,066 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Hardware.h | 9,066 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Hardware.h | 9,066 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Hardware.h | 9,066 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Hardware.h | 9,066 | 108 | sInstalledINF; // INF currently active on the device
wstring m_sInstalledVersion; // INF |
| No | Common/Core/Include/Hardware.h | 9,066 | 139 | none.
DWORD dwOSFlags; // Indicates OS's the INF is decorated for. Used |
| No | Common/Core/Include/Hardware.h | 9,066 | 144 | set<wstring> matchedDIDs; // set of all matched DeviceID's
bool IsUpgrade(); // Indicates |
| No | Common/Core/Include/Hardware.h | 9,066 | 146 | that this INF was matched and is a newer version
bool |
| No | Common/Core/Include/Hardware.h | 9,066 | 148 | that this INF was matched and the same version of the driver is currently installed.
bool |
| No | Common/Core/Include/Hardware.h | 9,066 | 149 | a clean install, upgrade, downgrade, or repair, and the respective install condition.
inline bool |
| No | Common/Core/Include/Hardware.h | 9,066 | 149 | installed.
bool WillInstall(); // Indicates whether the driver should be installed, based |
| No | Common/Core/Include/Hardware.h | 9,066 | 166 | set<wstring> matchedDIDs; // set of all matched DeviceID's
// Used for list |
| No | Common/Core/Include/Hardware.h | 9,066 | 189 | wstring m_sRootFolder; // Folder where the driver files reside
int m |
| No | Common/Core/Include/Hardware.h | 9,066 | 191 | set<wstring> m_HWIDSet; // Stores all the DID's that are active on |
| No | Common/Core/Include/Hardware.h | 9,066 | 191 | DID's that are active on the system
vector<OS_RANKS> m |
| No | Common/Core/Include/Hardware.h | 9,066 | 192 | OS_RANKS> m_vValidOSes; // Stores all valid OS ranks
void ScanAllDevices |
| No | Common/Core/Include/INF.h | 2,047 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/INF.h | 2,047 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/INF.h | 2,047 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/INF.h | 2,047 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/INF.h | 2,047 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/INF.h | 2,047 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/INF.h | 2,047 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/INF.h | 2,047 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/INF.h | 2,047 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/INF.h | 2,047 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/INF.h | 2,047 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Language.h | 2,866 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Language.h | 2,866 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Language.h | 2,866 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Language.h | 2,866 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Language.h | 2,866 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Language.h | 2,866 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Language.h | 2,866 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Language.h | 2,866 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Language.h | 2,866 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Language.h | 2,866 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Language.h | 2,866 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Language.h | 2,866 | 60 | HMODULE m_hDLL; // Handle to the DLL that has been loaded |
| No | Common/Core/Include/Layout.h | 2,418 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Layout.h | 2,418 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Layout.h | 2,418 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Layout.h | 2,418 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Layout.h | 2,418 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Layout.h | 2,418 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Layout.h | 2,418 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Layout.h | 2,418 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Layout.h | 2,418 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Layout.h | 2,418 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Layout.h | 2,418 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Log.h | 2,240 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Log.h | 2,240 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Log.h | 2,240 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Log.h | 2,240 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Log.h | 2,240 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Log.h | 2,240 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Log.h | 2,240 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Log.h | 2,240 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Log.h | 2,240 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Log.h | 2,240 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Log.h | 2,240 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Log.h | 2,240 | 27 | (C) 2011, Intel Corporation. All rights reserved.
File: Log.h
Description |
| No | Common/Core/Include/Log.h | 2,240 | 31 | File: Log.h
Description: Declaration of the CLog class
*******************************************************************************/
#pragma once
#define |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/MSIEngine.h | 4,169 | 31 | used to pass information into the setup thread
typedef struct
{
CConfiguration |
| No | Common/Core/Include/MSISetup.h | 2,130 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/MSISetup.h | 2,130 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/MSISetup.h | 2,130 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/MSISetup.h | 2,130 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/MSISetup.h | 2,130 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/MSISetup.h | 2,130 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/MSISetup.h | 2,130 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/MSISetup.h | 2,130 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/MSISetup.h | 2,130 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/MSISetup.h | 2,130 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/MSISetup.h | 2,130 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/MSISetup.h | 2,130 | 31 | pragma once
//****************************************************************************
//****************************************************************************
// This class implements the MSI specific features. Derive from |
| No | Common/Core/Include/Mutex.h | 2,621 | 3..5 | CONFIDENTIAL
// Copyright 2014 Intel Corporation All Rights Reserved.
//The source code contained or described herein and all documents related to the source code ("Material")
//are owned by Intel |
| No | Common/Core/Include/Mutex.h | 2,621 | 6 | are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel
//Corporation |
| No | Common/Core/Include/Mutex.h | 2,621 | 7..8 | Material remains with Intel
//Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and
//confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Mutex.h | 2,621 | 9 | is protected by worldwide
//copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Mutex.h | 2,621 | 9 | treaty provisions. No part of the Material may be used, copied |
| No | Common/Core/Include/Mutex.h | 2,621 | 10 | published, uploaded, posted, transmitted, distributed, or disclosed in any way
//without |
| No | Common/Core/Include/Mutex.h | 2,621 | 14 | any patent, copyright, trade secret or other intellectual property right is |
| No | Common/Core/Include/Mutex.h | 2,621 | 15 | property right is granted to
//or conferred upon you by disclosure |
| No | Common/Core/Include/Mutex.h | 2,621 | 15 | conferred upon you by disclosure or delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Mutex.h | 2,621 | 16 | expressly, by implication,
//inducement, estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Mutex.h | 2,621 | 17 | property rights must be express
//and approved by Intel in writing |
| No | Common/Core/Include/Mutex.h | 2,621 | 26 | run only one instance of
//the installer.
//
//Exceptional behavior:
//- When we |
| No | Common/Core/Include/Mutex.h | 2,621 | 30 | shouldnt be too long so the error in basic scenerio is |
| No | Common/Core/Include/PackageData.h | 3,663 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/PackageData.h | 3,663 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/PackageData.h | 3,663 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/PackageData.h | 3,663 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/PackageData.h | 3,663 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/PackageData.h | 3,663 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/PackageData.h | 3,663 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/PackageData.h | 3,663 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/PackageData.h | 3,663 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/PackageData.h | 3,663 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/PackageData.h | 3,663 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/PackageData.h | 3,663 | 40 | Appropriate MSI/EXE file for the platform
wstring sInstalledVersion; // Version of |
| No | Common/Core/Include/PackageData.h | 3,663 | 41 | platform
wstring sInstalledVersion; // Version of the installed product. Empty if product |
| No | Common/Core/Include/PackageData.h | 3,663 | 44 | MSI will be copied to the Package Cache
wstring sLogfile; // Log |
| No | Common/Core/Include/PackageData.h | 3,663 | 48 | for installation. Includes full path and any parameters
wstring sUninstallCommandLine; // Command |
| No | Common/Core/Include/PackageData.h | 3,663 | 49 | for uninstallation. Includes full path and any parameters
// Common fields
PACKAGE |
| No | Common/Core/Include/PackageData.h | 3,663 | 52 | type; // Type of package, MSI or EXE
wstring sID; // UpgradeCode if |
| No | Common/Core/Include/PackageData.h | 3,663 | 53 | wstring sID; // UpgradeCode if MSI, or a reference name for EXE |
| No | Common/Core/Include/Pages.h | 5,362 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Pages.h | 5,362 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Pages.h | 5,362 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Pages.h | 5,362 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Pages.h | 5,362 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Pages.h | 5,362 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Pages.h | 5,362 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Pages.h | 5,362 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Pages.h | 5,362 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Pages.h | 5,362 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Pages.h | 5,362 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Pages.h | 5,362 | 150 | pTaskBarList; // This is what implements the taskbar progress feature
protected:
virtual |
| No | Common/Core/Include/Properties.h | 4,935 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Properties.h | 4,935 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Properties.h | 4,935 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Properties.h | 4,935 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Properties.h | 4,935 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Properties.h | 4,935 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Properties.h | 4,935 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Properties.h | 4,935 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Properties.h | 4,935 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Properties.h | 4,935 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Properties.h | 4,935 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Setup.h | 10,348 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Setup.h | 10,348 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Setup.h | 10,348 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Setup.h | 10,348 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Setup.h | 10,348 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Setup.h | 10,348 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Setup.h | 10,348 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Setup.h | 10,348 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Setup.h | 10,348 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Setup.h | 10,348 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Setup.h | 10,348 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Setup.h | 10,348 | 69 | CSetup : public ISetupCallback
{
public:
// What the setup should be doing
enum |
| No | Common/Core/Include/Setup.h | 10,348 | 73 | determined
SETUP_MODE_HELP, // Displays the help dialog
SETUP_MODE_EXTRACT |
| No | Common/Core/Include/Setup.h | 10,348 | 74 | dialog
SETUP_MODE_EXTRACT, // Extracts all embedded packages
SETUP_MODE_NOINSTALL |
| No | Common/Core/Include/Setup.h | 10,348 | 75 | packages
SETUP_MODE_NOINSTALL, // Displays all wizard pages and dialogs
SETUP_MODE_VER, // Displays |
| No | Common/Core/Include/Setup.h | 10,348 | 79 | to copy this binary to the package cache and create an ARP entry that |
| No | Common/Core/Include/Setup.h | 10,348 | 80 | MODE_DELETEARP, // Used to delete the ARP entry and clean up the package cache for this product |
| No | Common/Core/Include/Setup.h | 10,348 | 81 | product
SETUP_MODE_INSTALL, // Installs all packages
SETUP_MODE_UPDATE, // Updates |
| No | Common/Core/Include/Setup.h | 10,348 | 82 | MODE_UPDATE, // Updates (upgrade/downgrade) all packages
SETUP_MODE_MODIFY, // Not |
| No | Common/Core/Include/Setup.h | 10,348 | 84 | MODE_REPAIR, // Setup will repair all packages
SETUP_MODE_UNINSTALL, // Uninstalls |
| No | Common/Core/Include/Setup.h | 10,348 | 85 | packages
SETUP_MODE_UNINSTALL, // Uninstalls all packages
};
enum SWITCH_TYPE
{
InvalidSwitch |
| No | Common/Core/Include/Setup.h | 10,348 | 112 | if -b was found on the command line
bool m_bReentrant |
| No | Common/Core/Include/Setup.h | 10,348 | 113 | bool m_bReentrant; // true if the setup should allow more than |
| No | Common/Core/Include/Setup.h | 10,348 | 115 | HANDLE m_hThread; // Handle to the setup thread. Setup is run |
| No | Common/Core/Include/Setup.h | 10,348 | 115 | run in this thread while the main thread handles the UI
LANGID m_RequestedLang; // Language |
| No | Common/Core/Include/Setup.h | 10,348 | 116 | m_RequestedLang; // Language requested by the user via the -l switch. 0 if user |
| No | Common/Core/Include/Setup.h | 10,348 | 134 | m_hProgress; // This points to the active progress page and is used for forwarding progress |
| No | Common/Core/Include/Setup.h | 10,348 | 177 | Virtual functions
// Called right before the setup thread begins
virtual void |
| No | Common/Core/Include/Setup.h | 10,348 | 180 | OnBeginInstall() {};
// Called to check on the validity of a switch. The default implementation approves the
// standard switches. A descendant can |
| No | Common/Core/Include/Setup.h | 10,348 | 182 | well as override default switches. The override must call the base method for any
// switches |
| No | Common/Core/Include/Setup.h | 10,348 | 186 | OnCheckSwitch(LPCWSTR pszSwitch);
// Called after the command line has been parsed |
| No | Common/Core/Include/Setup.h | 10,348 | 186 | parsed without error. Returning a code other
// than ERROR_SUCCESS aborts |
| No | Common/Core/Include/Setup.h | 10,348 | 187 | other
// than ERROR_SUCCESS aborts the setup process
virtual DWORD OnCommandLineParsed |
| No | Common/Core/Include/Setup.h | 10,348 | 190 | current error into a string and map it in ID IDS |
| No | Common/Core/Include/Setup.h | 10,348 | 190 | ERROR_SUCCESS; };
// Called to convert the current error into a string |
| No | Common/Core/Include/Setup.h | 10,348 | 193 | void OnCreateErrorString();
// Called to create and start the setup thread
virtual void OnCreateSetupThread |
| No | Common/Core/Include/Setup.h | 10,348 | 196 | detected. Default it so show the driver
// downgrade dialog. Override to |
| No | Common/Core/Include/Setup.h | 10,348 | 200 | DWORD OnDriverDowngradeDetect();
// Called right after the setup thread ends
virtual void |
| No | Common/Core/Include/Setup.h | 10,348 | 206 | void OnExtractDriversMUP();
// Called to get the driver location. Default is to |
| No | Common/Core/Include/Setup.h | 10,348 | 209 | is tagged for install. Override and return false for the INF
// match to be ignored |
| No | Common/Core/Include/Setup.h | 10,348 | 213 | deviceInfo) { return true; }
// Called at the end of CheckHw function
virtual |
| No | Common/Core/Include/Setup.h | 10,348 | 216 | if setup was launched with the help switch
virtual void OnHelp |
| No | Common/Core/Include/Setup.h | 10,348 | 219 | perform initialization. Overrides must call the base method first.
// Returning a |
| No | Common/Core/Include/Setup.h | 10,348 | 220 | base method first.
// Returning a code other than ERROR_SUCCESS aborts |
| No | Common/Core/Include/Setup.h | 10,348 | 220 | other than ERROR_SUCCESS aborts the setup process
virtual DWORD OnInitialize |
| No | Common/Core/Include/Setup.h | 10,348 | 223 | Called after setup.xml is loaded and parsed in order to read |
| No | Common/Core/Include/Setup.h | 10,348 | 224 | other than ERROR_SUCCESS aborts the setup process
virtual DWORD OnLoadConfiguration |
| No | Common/Core/Include/Setup.h | 10,348 | 224 | product specific settings
// Returning a code other than ERROR_SUCCESS aborts |
| No | Common/Core/Include/Setup.h | 10,348 | 228 | resource. Override to use another
// source such as a file
virtual |
| No | Common/Core/Include/Setup.h | 10,348 | 234 | OnLoadLanguage(LANGID langID);
// Called after the log file has been initialized |
| No | Common/Core/Include/Setup.h | 10,348 | 240 | to display product information of the product. Default implementation displays
// versions |
| No | Common/Core/Include/Setup.h | 10,348 | 244 | void OnShowVersion();
// Called to show the UI wizard. This is called |
| No | Common/Core/Include/Setup.h | 10,348 | 247 | Called to handle a switch and optional parameter. A previous call |
| No | Common/Core/Include/Setup.h | 10,348 | 248 | OnCheckSwitch()
// should have ensured that the switch is valid and whether it should be accompanied |
| No | Common/Core/Include/Setup.h | 10,348 | 249 | other than ERROR_SUCCESS aborts the setup process
virtual DWORD OnSwitch |
| No | Common/Core/Include/Setup.h | 10,348 | 249 | with a parameter. Returning a code other than ERROR_SUCCESS aborts |
| No | Common/Core/Include/Switches.h | 2,280 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Switches.h | 2,280 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Switches.h | 2,280 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Switches.h | 2,280 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Switches.h | 2,280 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Switches.h | 2,280 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Switches.h | 2,280 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Switches.h | 2,280 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Switches.h | 2,280 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Switches.h | 2,280 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Switches.h | 2,280 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/Utilities.h | 3,395 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/Utilities.h | 3,395 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/Utilities.h | 3,395 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/Utilities.h | 3,395 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/Utilities.h | 3,395 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/Utilities.h | 3,395 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/Utilities.h | 3,395 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/Utilities.h | 3,395 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/Utilities.h | 3,395 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/Utilities.h | 3,395 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/Utilities.h | 3,395 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/WinResources.h | 3,301 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/WinResources.h | 3,301 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/WinResources.h | 3,301 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/WinResources.h | 3,301 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/WinResources.h | 3,301 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/WinResources.h | 3,301 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/WinResources.h | 3,301 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/WinResources.h | 3,301 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/WinResources.h | 3,301 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/WinResources.h | 3,301 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/WinResources.h | 3,301 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/xml.h | 3,522 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/xml.h | 3,522 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/xml.h | 3,522 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/xml.h | 3,522 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/xml.h | 3,522 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/xml.h | 3,522 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/xml.h | 3,522 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/xml.h | 3,522 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/xml.h | 3,522 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/xml.h | 3,522 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/xml.h | 3,522 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/XMLScript.h | 6,770 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Include/XMLScript.h | 6,770 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Include/XMLScript.h | 6,770 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Include/XMLScript.h | 6,770 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Include/XMLScript.h | 6,770 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Include/XMLScript.h | 6,770 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Include/XMLScript.h | 6,770 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Include/XMLScript.h | 6,770 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Include/XMLScript.h | 6,770 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Include/XMLScript.h | 6,770 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Include/XMLScript.h | 6,770 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Include/XMLScript.h | 6,770 | 46 | XMLScript;
// Private constructor so only the CXMLScript class can create an |
| No | Common/Core/Include/XMLScript.h | 6,770 | 155 | be using a private property source.
// In this case m_pPropertyList |
| No | Common/Core/Include/XMLScript.h | 6,770 | 155 | This will be used if the script engine will be using |
| No | Common/Core/Include/XMLScript.h | 6,770 | 157 | to an external shared property source.
CPropertyList m_InternalPropertyList;
// Used to |
| No | Common/Core/Include/XMLScript.h | 6,770 | 160 | InternalPropertyList;
// Used to access properties and their values.
CPropertyList* m_pPropertyList |
| No | Common/Core/INF.cpp | 4,781 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/INF.cpp | 4,781 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/INF.cpp | 4,781 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/INF.cpp | 4,781 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/INF.cpp | 4,781 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/INF.cpp | 4,781 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/INF.cpp | 4,781 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/INF.cpp | 4,781 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/INF.cpp | 4,781 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/INF.cpp | 4,781 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/INF.cpp | 4,781 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Language.cpp | 10,600 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Language.cpp | 10,600 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Language.cpp | 10,600 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Language.cpp | 10,600 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Language.cpp | 10,600 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Language.cpp | 10,600 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Language.cpp | 10,600 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Language.cpp | 10,600 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Language.cpp | 10,600 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Language.cpp | 10,600 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Language.cpp | 10,600 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Language.cpp | 10,600 | 159 | another ID. If so, get the mapped ID
if (m_ResMap.count |
| No | Common/Core/Language.cpp | 10,600 | 196 | LOWORD(GetVersion());
// If XP (v5.1) or XP64 (v5.2) use GetUserDefaultLangID() otherwise |
| No | Common/Core/Layout.cpp | 6,701 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Layout.cpp | 6,701 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Layout.cpp | 6,701 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Layout.cpp | 6,701 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Layout.cpp | 6,701 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Layout.cpp | 6,701 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Layout.cpp | 6,701 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Layout.cpp | 6,701 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Layout.cpp | 6,701 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Layout.cpp | 6,701 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Layout.cpp | 6,701 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Layout.cpp | 6,701 | 156 | iterator it;
// First loop adjusts the boundaries of controls
it = m |
| No | Common/Core/Log.cpp | 5,422 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Log.cpp | 5,422 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Log.cpp | 5,422 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Log.cpp | 5,422 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Log.cpp | 5,422 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Log.cpp | 5,422 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Log.cpp | 5,422 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Log.cpp | 5,422 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Log.cpp | 5,422 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Log.cpp | 5,422 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Log.cpp | 5,422 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Log.cpp | 5,422 | 38..39 | CLog g_Log; // Singleton
//****************************************************************************
// Save the absolute path including the filename of the log file and ensures
// the path to it exists by |
| No | Common/Core/Log.cpp | 5,422 | 48 | sLogFileName = pszLogFile;
// Ensure path to the log file exists
_tcscpy_s |
| No | Common/Core/Log.cpp | 5,422 | 75 | DefferedLog;
m_DefferedLogs_IT++;
}
//clear the vector
m_DefferedLogs.clear();
CloseHandle(hFile) |
| No | Common/Core/MSIEngine.cpp | 33,603 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/MSIEngine.cpp | 33,603 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/MSIEngine.cpp | 33,603 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/MSIEngine.cpp | 33,603 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/MSIEngine.cpp | 33,603 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/MSIEngine.cpp | 33,603 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/MSIEngine.cpp | 33,603 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/MSIEngine.cpp | 33,603 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/MSIEngine.cpp | 33,603 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/MSIEngine.cpp | 33,603 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/MSIEngine.cpp | 33,603 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/MSIEngine.cpp | 33,603 | 76 | weight for each part of the
// setup progress
DWORD CalculateProgress()
{
const |
| No | Common/Core/MSIEngine.cpp | 33,603 | 176 | total number of ticks in the bar
if (nFieldCount >= 4)
{
// Index |
| No | Common/Core/MSIEngine.cpp | 33,603 | 176 | case 0: // Resets progress bar and sets the expected total number of ticks |
| No | Common/Core/MSIEngine.cpp | 33,603 | 195 | messages to be sent by the current action
if (nFieldCount >= 3 |
| No | Common/Core/MSIEngine.cpp | 33,603 | 204 | 1];
}
break;
case 2: // Increments the progress bar
if (nFieldCount >= 2 |
| No | Common/Core/MSIEngine.cpp | 33,603 | 212 | CustomAction) to add ticks to the expected total number of progress |
| No | Common/Core/MSIEngine.cpp | 33,603 | 212 | total number of progress of the progress bar
g_Progress[g |
| No | Common/Core/MSIEngine.cpp | 33,603 | 248 | nResult;
}
//****************************************************************************
// Uses dynamic loading of the MSI runtime to determine installed |
| No | Common/Core/MSIEngine.cpp | 33,603 | 249 | This is used to warn the user that an updated MSI |
| No | Common/Core/MSIEngine.cpp | 33,603 | 279 | dwError = GetLastError();
}
return dwError;
}
//****************************************************************************
// Uses the product code to determine the installed version of a product |
| No | Common/Core/MSIEngine.cpp | 33,603 | 280 | Returns an empty string if the product is not installed
wstring |
| No | Common/Core/MSIEngine.cpp | 33,603 | 301 | sVersion;
}
//****************************************************************************
// Predicate used to sort the MSI info read from setup |
| No | Common/Core/MSIEngine.cpp | 33,603 | 314 | j.nUSequence;
}
//****************************************************************************
// Copies an MSI to the product setup cache folder and registers it with the
// MSI system. This allows a |
| No | Common/Core/MSIEngine.cpp | 33,603 | 315 | repair/modify to occur without the user getting
// prompted to provide |
| No | Common/Core/MSIEngine.cpp | 33,603 | 316 | user getting
// prompted to provide the MSI. This is particularly important |
| No | Common/Core/MSIEngine.cpp | 33,603 | 317 | OEM
// pre-installed SW where the user may not have the MSI file
void CacheMSI(LPCWSTR |
| No | Common/Core/MSIEngine.cpp | 33,603 | 342 | LOG_TYPE, L" Adding to source list");
pfnMsiSourceListAddSource(szProductCode, NULL, 0 |
| No | Common/Core/MSIEngine.cpp | 33,603 | 349 | szCachedMSI);
}
}
}
//****************************************************************************
// Copies an EXE to the product setup cache folder.This allows |
| No | Common/Core/MSIEngine.cpp | 33,603 | 350 | repair/modify
// to occur without the user getting prompted to provide |
| No | Common/Core/MSIEngine.cpp | 33,603 | 350 | user getting prompted to provide the EXE.This is particularly
// important with |
| No | Common/Core/MSIEngine.cpp | 33,603 | 351 | OEM pre-installed SW where the user may not have the MSI file.
void CacheEXE(LPCWSTR |
| No | Common/Core/MSIEngine.cpp | 33,603 | 376 | WCHAR szMSILog[MAX_PATH];
// Enable the MSI log. It will be |
| No | Common/Core/MSIEngine.cpp | 33,603 | 435 | prop);
}
}
//****************************************************************************
// Deletes an MSI from the product setup cache
void DeleteCachedMSI |
| No | Common/Core/MSIEngine.cpp | 33,603 | 449 | szCachedMSI);
}
//****************************************************************************
// Deletes an MSI from the product setup cache
void DeleteCachedEXE |
| No | Common/Core/MSIEngine.cpp | 33,603 | 477 | LOG_TYPE, L"Windows 10 or above detected");
CMSIProperty prop(IIF_ISWIN10ORLATER |
| No | Common/Core/MSIEngine.cpp | 33,603 | 491 | SETUPMODE);
if (sMode == L"REPAIR")
{
// ALL is translated to "all the features that were previously installed |
| No | Common/Core/MSIEngine.cpp | 33,603 | 491 | that were previously installed" not all the features in the MSI
CMSIProperty prop(L"REINSTALL |
| No | Common/Core/MSIEngine.cpp | 33,603 | 492 | CMSIProperty prop(L"REINSTALL",L"ALL");
data.props.push_back(prop);
if |
| No | Common/Core/MSIEngine.cpp | 33,603 | 495 | Reinstall if files is missing or is an older version.
{
prop.Set |
| No | Common/Core/MSIEngine.cpp | 33,603 | 499 | L"omus");
}
else //Reinstall if the file is missing or a different version is present |
| No | Common/Core/MSIEngine.cpp | 33,603 | 507 | overwrite files regardless of their source timestamp
CMSIProperty prop;
if ((VCRedistx86_UC |
| No | Common/Core/MSIEngine.cpp | 33,603 | 521 | SetFeatures(data, pData);
}
else // INSTALL or MODIFY. Get the features that are to change |
| No | Common/Core/MSIEngine.cpp | 33,603 | 528 | standard MSI property. It allows the MSI to go through the motions of an installation
// without |
| No | Common/Core/MSIEngine.cpp | 33,603 | 528 | an error
SetFeatures(data, pData);
}
// The EXECUTEMODE is a standard MSI |
| No | Common/Core/MSIEngine.cpp | 33,603 | 529 | without making any changes to the system
if (pData->pProperties->GetPropertyBool |
| No | Common/Core/MSIEngine.cpp | 33,603 | 540 | str());
// Assemble full path to the MSI file
// TODO: In order |
| No | Common/Core/MSIEngine.cpp | 33,603 | 542 | be
// IIF_CACHELOC so that the MSI file is available
wcscpy |
| No | Common/Core/MSIEngine.cpp | 33,603 | 560 | INFO_LOG_TYPE, L" Result code was '%d' but ignore error |
| No | Common/Core/MSIEngine.cpp | 33,603 | 594 | INFO_LOG_TYPE, L" Exit code was '%d' but ignore error |
| No | Common/Core/MSIEngine.cpp | 33,603 | 604 | INFO_LOG_TYPE, L" Exit code was '%d' but ignore error |
| No | Common/Core/MSIEngine.cpp | 33,603 | 625 | INFO_LOG_TYPE, L" Exit code was '%d' but ignore error |
| No | Common/Core/MSIEngine.cpp | 33,603 | 629 | be IIF_CACHELOC so that the EXE file is available.
WCHAR |
| No | Common/Core/MSIEngine.cpp | 33,603 | 660 | uninstall so get it via the upgrade code
dwError = pfnMsiEnumRelatedProducts(data.sID.c_str(), 0 |
| No | Common/Core/MSIEngine.cpp | 33,603 | 660 | NULL))
{
// We need to know the product code to uninstall so get it |
| No | Common/Core/MSIEngine.cpp | 33,603 | 668 | LOG_TYPE, L" Uninstalling product code '%s'; Properties '%s'", szProductCode, sProperties.c |
| No | Common/Core/MSIEngine.cpp | 33,603 | 673 | INFO_LOG_TYPE, L" Result code was '%d' but ignore error |
| No | Common/Core/MSIEngine.cpp | 33,603 | 679 | INFO_LOG_TYPE, L" Upgrade code '%s' is not installed", data.sID.c |
| No | Common/Core/MSIEngine.cpp | 33,603 | 680 | have been previously uninstalled, ignore and continue
}
}
else
{
dwError = GetLastError();
}
return |
| No | Common/Core/MSIEngine.cpp | 33,603 | 709 | INFO_LOG_TYPE,L" Exit code was '%d' but ignore error |
| No | Common/Core/MSIEngine.cpp | 33,603 | 737 | pConfiguration->m_Packages.end(),SortPackageForInstall);
// Enumerate all the MSI's while there are no |
| No | Common/Core/MSIEngine.cpp | 33,603 | 753 | INFO_LOG_TYPE,L" Return code: %d",dwError);
switch (dwError |
| No | Common/Core/MSIEngine.cpp | 33,603 | 801 | pConfiguration->m_Packages.end(),SortPackageForUninstall);
// Enumerate all the packages
vector<CPackageData>::iterator it |
| No | Common/Core/MSIEngine.cpp | 33,603 | 817 | INFO_LOG_TYPE,L" Return code: %d",dwError);
switch (dwError |
| No | Common/Core/MSIEngine.cpp | 33,603 | 843 | it++;
}
return dwOverallCode;
}
//****************************************************************************
//****************************************************************************
// This is the main setup thread. It is |
| No | Common/Core/MSIEngine.cpp | 33,603 | 843..844 | is used for both silent and verbose modes
// and enumerates the MSI entries that were read |
| No | Common/Core/MSIEngine.cpp | 33,603 | 844..845 | entries that were read from the setup.xml file. It
// launches the MSI it in the appropriate mode (install/uninstall). If |
| No | Common/Core/MSIEngine.cpp | 33,603 | 846..847 | a reboot, it is noted and the
// process continues to the next MSI, if any. Note |
| No | Common/Core/MSIEngine.cpp | 33,603 | 846 | install/uninstall). If any of
// the MSI installs indicate that they |
| No | Common/Core/MSIEngine.cpp | 33,603 | 847 | MSI, if any. Note that the order of the MSI
// install was determined earlier |
| No | Common/Core/MSIEngine.cpp | 33,603 | 848 | install was determined earlier when the setup XML was parsed.
//
// Note |
| No | Common/Core/MSIEngine.cpp | 33,603 | 850 | setup XML was parsed.
//
// Note: All the MSI's installed here must meet |
| No | Common/Core/MSIEngine.cpp | 33,603 | 851 | certain criteria;
// 1 - They must all fall under the same package version in their |
| No | Common/Core/MSIEngine.cpp | 33,603 | 853 | their own ARP entry.
// If the MSI fails any of the above tests it should have |
| No | Common/Core/MSIEngine.cpp | 33,603 | 883 | LPVOID)pData->pCallback, NULL);
// Initiate the transaction, if enabled. Failure is |
| No | Common/Core/MSIEngine.cpp | 33,603 | 902 | dwOverallCode = Uninstall(pData);
// End the transaction, if enabled.
if (!pData |
| No | Common/Core/MSIEngine.cpp | 33,603 | 909 | L"Transaction complete. Overall return code is %d", dwOverallCode);
}
else
{
g |
| No | Common/Core/MSIEngine.cpp | 33,603 | 918 | dwError);
dwOverallCode = dwError;
}
}
// This lets the engine know the final result of the MSI install
pData->pCallback->OnTerminate |
| No | Common/Core/MSIEngine.cpp | 33,603 | 924 | on mode create/refresh/delete the ARP entry if the installer is marked to self |
| No | Common/Core/MSISetup.cpp | 7,219 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/MSISetup.cpp | 7,219 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/MSISetup.cpp | 7,219 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/MSISetup.cpp | 7,219 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/MSISetup.cpp | 7,219 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/MSISetup.cpp | 7,219 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/MSISetup.cpp | 7,219 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/MSISetup.cpp | 7,219 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/MSISetup.cpp | 7,219 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/MSISetup.cpp | 7,219 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/MSISetup.cpp | 7,219 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/MSISetup.cpp | 7,219 | 73 | wcsicmp(pszSwitch,L"loglevel") == 0) // The level of logging that the MSI engine will use. This |
| No | Common/Core/MSISetup.cpp | 7,219 | 132 | WCHAR szMSILog[MAX_PATH];
// Delete the temporary folder that contained the extracted packages
DeleteFolder(GetProperties().GetProperty |
| No | Common/Core/MSISetup.cpp | 7,219 | 135 | GetProperties().GetProperty(IIF_PACKAGEPATH));
// Prune the MSI log file so that |
| No | Common/Core/MSISetup.cpp | 7,219 | 153 | szFile[MAX_PATH];
// Check for the minimum required MSI version. Currently |
| No | Common/Core/MSISetup.cpp | 7,219 | 158 | MSI check above which is the most critical
// requirement
CSetup::OnRequirements |
| No | Common/Core/MSISetup.cpp | 7,219 | 158 | requirements are checked here after the MSI check above which is |
| No | Common/Core/Mutex.cpp | 8,217 | 3..5 | CONFIDENTIAL
// Copyright 2014 Intel Corporation All Rights Reserved.
//The source code contained or described herein and all documents related to the source code ("Material")
//are owned by Intel |
| No | Common/Core/Mutex.cpp | 8,217 | 6 | are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel
//Corporation |
| No | Common/Core/Mutex.cpp | 8,217 | 7..8 | Material remains with Intel
//Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and
//confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Mutex.cpp | 8,217 | 9 | treaty provisions. No part of the Material may be used, copied |
| No | Common/Core/Mutex.cpp | 8,217 | 9 | is protected by worldwide
//copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Mutex.cpp | 8,217 | 10 | published, uploaded, posted, transmitted, distributed, or disclosed in any way
//without |
| No | Common/Core/Mutex.cpp | 8,217 | 14 | any patent, copyright, trade secret or other intellectual property right is |
| No | Common/Core/Mutex.cpp | 8,217 | 15 | property right is granted to
//or conferred upon you by disclosure |
| No | Common/Core/Mutex.cpp | 8,217 | 15 | conferred upon you by disclosure or delivery of the Materials, either expressly, by implication |
| No | Common/Core/Mutex.cpp | 8,217 | 16 | expressly, by implication,
//inducement, estoppel or otherwise. Any license under such |
| No | Common/Core/Mutex.cpp | 8,217 | 17 | property rights must be express
//and approved by Intel in writing |
| No | Common/Core/Mutex.cpp | 8,217 | 27 | to avoid double cleanup of the same pointers
***********************************************************************************************************/
|
| No | Common/Core/Mutex.cpp | 8,217 | 114 | ACCESS structure for an ACE.
// The ACE will allow admins all access and everyone
// synchronise access.
if (dwError |
| No | Common/Core/Mutex.cpp | 8,217 | 119 | m_ea[0].grfAccessPermissions = MUTEX_ALL_ACCESS;
m_ea[0].grfAccessMode |
| No | Common/Core/Mutex.cpp | 8,217 | 155 | Error %u\n",
dwError);
}
// Add the ACL to the security descriptor.
if ((dwError == ERROR |
| No | Common/Core/PackageData.cpp | 4,925 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/PackageData.cpp | 4,925 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/PackageData.cpp | 4,925 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/PackageData.cpp | 4,925 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/PackageData.cpp | 4,925 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/PackageData.cpp | 4,925 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/PackageData.cpp | 4,925 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/PackageData.cpp | 4,925 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/PackageData.cpp | 4,925 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/PackageData.cpp | 4,925 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/PackageData.cpp | 4,925 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/PackageData.cpp | 4,925 | 80 | L"Name64" : L"Name32");
// Use the product code to lookup installed product code, if any. Then read the current installed version
dwError = pfnMsiEnumRelatedProducts |
| No | Common/Core/Pages.cpp | 22,772 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Pages.cpp | 22,772 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Pages.cpp | 22,772 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Pages.cpp | 22,772 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Pages.cpp | 22,772 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Pages.cpp | 22,772 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Pages.cpp | 22,772 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Pages.cpp | 22,772 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Pages.cpp | 22,772 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Pages.cpp | 22,772 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Pages.cpp | 22,772 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Pages.cpp | 22,772 | 77 | HFONT)hNewFont),0);
// Show uninstall and repair radiobuttons
hControl = GetDlgItem(IDC |
| No | Common/Core/Pages.cpp | 22,772 | 88 | BUTTON); // Disable Next button until the user makes a choice
break |
| No | Common/Core/Pages.cpp | 22,772 | 148 | INFO si;
EDITSTREAM es;
// Set the subtitle for this page
SetSubtitle |
| No | Common/Core/Pages.cpp | 22,772 | 157 | WIZARD_NEXT_BUTTON : 0));
// Load and display license
hLicense = GetDlgItem(IDC |
| No | Common/Core/Pages.cpp | 22,772 | 183 | Update Cancel button state per the current state of the acknowledge checkbox
if (nID == IDC |
| No | Common/Core/Pages.cpp | 22,772 | 220 | INFO si;
EDITSTREAM es;
// Set the subtitle for this page
SetSubtitle |
| No | Common/Core/Pages.cpp | 22,772 | 223 | SetSubtitle(IDS_README_SUBTITLE);
// Load and display readme
hReadme = GetDlgItem(IDC |
| No | Common/Core/Pages.cpp | 22,772 | 270 | LPARAM lParam)
{
HWND hWnd;
// Set the subtitle for this page
SetSubtitle |
| No | Common/Core/Pages.cpp | 22,772 | 290 | lpData);
// Use localized text for the browse dialog caption
wstring s |
| No | Common/Core/Pages.cpp | 22,772 | 309 | PATH];
LPITEMIDLIST lpIDList = NULL;
// Read the existing path in the edit control
HWND hWndDestEdit = GetDlgItem |
| No | Common/Core/Pages.cpp | 22,772 | 316 | m_hWnd;
// Leaving bi.pidlRoot with the value 0 displays the tree from the desktop level. Since
// installs would |
| No | Common/Core/Pages.cpp | 22,772 | 317 | drives we set it to the value of My Computer
SHGetFolderLocation |
| No | Common/Core/Pages.cpp | 22,772 | 323 | NEWDIALOGSTYLE;
// Use localized text for the browse dialog prompt
CLanguage::GetInstance |
| No | Common/Core/Pages.cpp | 22,772 | 329 | str();
bi.lpfn = _BrowseCallbackProc;
// Pass in the current path so the browse dialog will set the initial selection to that
// target |
| No | Common/Core/Pages.cpp | 22,772 | 410 | lParam);
}
//****************************************************************************
//****************************************************************************
// This static function assembles the components to be installed into |
| No | Common/Core/Pages.cpp | 22,772 | 471 | WPARAM wParam,LPARAM lParam)
{
// Set the subtitle for this page
SetSubtitle |
| No | Common/Core/Pages.cpp | 22,772 | 598..599 | final page. This will change the Cancel button to
// "Finish" and hide the Back/Next buttons
ShowWizardButtons(WIZARD |
| No | Common/Core/Pages.cpp | 22,772 | 598 | 8095}");
}
}
// Set this page as the final page. This will change |
| No | Common/Core/Pages.cpp | 22,772 | 603 | EnableWizardButtons(WIZARD_FINISH_BUTTON);
// Set the text appropriately according to the installation result
switch (CSetup::GetSetup |
| No | Common/Core/Pages.cpp | 22,772 | 614 | SETCHECK,BST_CHECKED,0); // Make "Yes" the default
m_Layout.AddControl(IDC_REBOOT |
| No | Common/Core/Pages.cpp | 22,772 | 673 | (LPNMHDR)lParam;
if ((pNMHDR->code == NM_CLICK || pNMHDR->code == NM_RETURN) && pNMHDR->idFrom == IDC_SYSLINK1 |
| No | Common/Core/Properties.cpp | 10,161 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Properties.cpp | 10,161 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Properties.cpp | 10,161 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Properties.cpp | 10,161 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Properties.cpp | 10,161 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Properties.cpp | 10,161 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Properties.cpp | 10,161 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Properties.cpp | 10,161 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Properties.cpp | 10,161 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Properties.cpp | 10,161 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Properties.cpp | 10,161 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Properties.cpp | 10,161 | 77 | ERROR_NOT_SUPPORTED, L"REG and FIL tags are no longer |
| No | Common/Core/Properties.cpp | 10,161 | 196 | nIndex != -1)
{
// Set index to the next space in the string. Ignore spaces that lie |
| No | Common/Core/Properties.cpp | 10,161 | 356 | If there is whitespace in the value, escape the whole value with quotes
if |
| No | Common/Core/Setup.cpp | 68,048 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Setup.cpp | 68,048 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Setup.cpp | 68,048 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Setup.cpp | 68,048 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Setup.cpp | 68,048 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Setup.cpp | 68,048 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Setup.cpp | 68,048 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Setup.cpp | 68,048 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Setup.cpp | 68,048 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Setup.cpp | 68,048 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Setup.cpp | 68,048 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Setup.cpp | 68,048 | 27 | Intel in writing.
// ==========================================================================
//****************************************************************************
/* This is the base class for all installers. It is abstract and not intended
to instantiate directly |
| No | Common/Core/Setup.cpp | 68,048 | 28 | main entry point is Run() and there are
a number of |
| No | Common/Core/Setup.cpp | 68,048 | 28 | not intended
to instantiate directly. The main entry point is Run |
| No | Common/Core/Setup.cpp | 68,048 | 29 | a number of methods in the form of On*() that can |
| No | Common/Core/Setup.cpp | 68,048 | 69 | of a CSetup derived class and it needs
// to be accessible |
| No | Common/Core/Setup.cpp | 68,048 | 70 | needs
// to be accessible throughout the installer. This global pointer is |
| No | Common/Core/Setup.cpp | 68,048 | 71 | is used to
// point to the instance
static CSetup* s_pSetup |
| No | Common/Core/Setup.cpp | 68,048 | 76 | Derived
// classes can override OnCheckSwitch() and OnSwitch() to alter or override
// these switches
VALID_SWITCH |
| No | Common/Core/Setup.cpp | 68,048 | 80 | s_ValidSwitches[] =
{
L"?", false, // Displays the help dialog
L"a", false |
| No | Common/Core/Setup.cpp | 68,048 | 83 | alternate driver location rather than the drivers in the package
L"ed", true, // Extracts |
| No | Common/Core/Setup.cpp | 68,048 | 84 | drivers from embedded drivers.cab. Combines the -a with the -p switches
L"extract", true |
| No | Common/Core/Setup.cpp | 68,048 | 84 | package
L"ed", true, // Extracts the drivers from embedded drivers.cab. Combines |
| No | Common/Core/Setup.cpp | 68,048 | 85 | switches
L"extract", true, // Extracts all embedded packages
L"noicc", false |
| No | Common/Core/Setup.cpp | 68,048 | 88 | language
L"nodncheck", false, // Skips the .NET version check
L"nodrv |
| No | Common/Core/Setup.cpp | 68,048 | 90 | drivers
L"nohwcheck", false, // Skips the device matching requirement
L"noinstall |
| No | Common/Core/Setup.cpp | 68,048 | 92 | testing
L"nooscheck", false, // Skips the OS check
L"overwrite", false |
| No | Common/Core/Setup.cpp | 68,048 | 93 | over older installed newer package and older drivers over newer
L |
| No | Common/Core/Setup.cpp | 68,048 | 95 | folder
L"report", true, // Redirects the location where the log files will be written |
| No | Common/Core/Setup.cpp | 68,048 | 96 | supported.
// Filenames are set in the setup XML
L"s", false |
| No | Common/Core/Setup.cpp | 68,048 | 100 | implementation displays a dialog listing the drivers contained in the package
L"v", true, // Used |
| No | Common/Core/Setup.cpp | 68,048 | 102 | This is a request for the setup to complete before exiting |
| No | Common/Core/Setup.cpp | 68,048 | 103 | complete before exiting.
// This is the default and this switch is silently ignored |
| No | Common/Core/Setup.cpp | 68,048 | 148 | bReentrant = false;
}
//****************************************************************************
// Called to activate the setup thread
void CSetup::BeginSetupThread |
| No | Common/Core/Setup.cpp | 68,048 | 206 | skipping HW scan.");
return;
}
// Get the location of the driver folder
OnGetDriverSource(sDriverFolder, bDriversExtracted |
| No | Common/Core/Setup.cpp | 68,048 | 208 | L"Using folder '%s' as the driver source", sDriverFolder.c_str());
// CHardware will throw |
| No | Common/Core/Setup.cpp | 68,048 | 210 | an INF can't be read or for a folder/enumeration problem |
| No | Common/Core/Setup.cpp | 68,048 | 216 | create a private property with the
// INF version as it's value |
| No | Common/Core/Setup.cpp | 68,048 | 218 | TYPE, L"Creating properties for all matching INF's");
it = m_Hardware.m |
| No | Common/Core/Setup.cpp | 68,048 | 226 | it->second->sName.c_str());
// If the name contains an INF extension |
| No | Common/Core/Setup.cpp | 68,048 | 226 | extension then it likely is the filename instead of a package |
| No | Common/Core/Setup.cpp | 68,048 | 227 | property name is derived from the filename portion without the extension
if (_wcsicmp(PathFindExtension(szName) |
| No | Common/Core/Setup.cpp | 68,048 | 227 | package name
// In this case the property name is derived from |
| No | Common/Core/Setup.cpp | 68,048 | 248 | driver folder (0x%X)",HRESULT_CODE(hr));
}
OnCheckHwComplete(dwError |
| No | Common/Core/Setup.cpp | 68,048 | 256 | files to a
// private location and create an ARP entry.
void |
| No | Common/Core/Setup.cpp | 68,048 | 294 | ARP entry that points to the copy of setup we copied |
| No | Common/Core/Setup.cpp | 68,048 | 354 | Called during uninstallation to remove the ARP entry and
// delete setup related files.
void |
| No | Common/Core/Setup.cpp | 68,048 | 421 | sm = SETUP_MODE_NONE;
// Compare the package version with the installed version, if any
__int64 |
| No | Common/Core/Setup.cpp | 68,048 | 472 | UPDATE;
}
else // Package version is the same as installed version
{
sm |
| No | Common/Core/Setup.cpp | 68,048 | 522 | then re-launch ourself with the
// original command line if Vista |
| No | Common/Core/Setup.cpp | 68,048 | 523 | original command line if Vista or higher. Otherwise error out
if |
| No | Common/Core/Setup.cpp | 68,048 | 527 | MAKEWORD(6, 0)) // If Vista or greater
{
WCHAR szCommand[MAX_PATH |
| No | Common/Core/Setup.cpp | 68,048 | 540 | as owner will
// result in the new instance appearing behind other |
| No | Common/Core/Setup.cpp | 68,048 | 541 | windows. Previous workaround involved
// manipulating the z-order however this was |
| No | Common/Core/Setup.cpp | 68,048 | 542 | that it must be visible and have
// a width/height of |
| No | Common/Core/Setup.cpp | 68,048 | 543..544 | least 1. Also note that the UAC dialog appears at the position of
// the main window, in this case |
| No | Common/Core/Setup.cpp | 68,048 | 544..545 | GetMonitorInfo() is used to center the
// button so the UAC dialog appears as it |
| No | Common/Core/Setup.cpp | 68,048 | 572 | not installed but either -uninstall or -repair switch was used
if |
| No | Common/Core/Setup.cpp | 68,048 | 576 | WARNING_LOG_TYPE, L"-uninstall and -repair is invalid if the product is not installed");
if |
| No | Common/Core/Setup.cpp | 68,048 | 591 | function before DetermineAction().
// Check if all requirements are satisfied.
if (GetSetupMode |
| No | Common/Core/Setup.cpp | 68,048 | 658 | complete. If not silent then the
// thread will be kicked off |
| No | Common/Core/Setup.cpp | 68,048 | 658 | we are running silent, start the install thread and wait for it to complete |
| No | Common/Core/Setup.cpp | 68,048 | 659 | be kicked off from within the progress dialog
if (GetSetupMode() != SETUP |
| No | Common/Core/Setup.cpp | 68,048 | 662 | GetSetupMode() != SETUP_MODE_NONE)
{
// Before the setup thread is initiated set |
| No | Common/Core/Setup.cpp | 68,048 | 662..663 | setup thread is initiated set the current and new states for all features. If the UI is shown
// and contains a FeatureTree, this next |
| No | Common/Core/Setup.cpp | 68,048 | 663 | is an accurate display of the current
// configuration
GetConfiguration().m_Features.UpdateStates |
| No | Common/Core/Setup.cpp | 68,048 | 690 | INFO_LOG_TYPE, L" Error code: 0x%X (%d)", dwError, dwError |
| No | Common/Core/Setup.cpp | 68,048 | 695 | e.GetDebugInfo());
// If not silent show the UI in order to present |
| No | Common/Core/Setup.cpp | 68,048 | 695 | UI in order to present the error to the user. OnShowWizard() needs to determine |
| No | Common/Core/Setup.cpp | 68,048 | 696 | occurred in order to show the correct dialogs
SetError(dwError |
| No | Common/Core/Setup.cpp | 68,048 | 714 | to create reboot lock"));
}
}
//****************************************************************************
// Extracts all embedded packages into a folder |
| No | Common/Core/Setup.cpp | 68,048 | 781 | DATA ID is embedded
// in the setup binary
bool CSetup::HasPayloadID |
| No | Common/Core/Setup.cpp | 68,048 | 835 | provided switch against valid switches and identifies if they
// expect a |
| No | Common/Core/Setup.cpp | 68,048 | 873 | pszBuffer = NULL;
// Allow entries in the XML to override built-in |
| No | Common/Core/Setup.cpp | 68,048 | 913 | str());
}
//****************************************************************************
// Default is to show the driver downgrade dialog, if not |
| No | Common/Core/Setup.cpp | 68,048 | 929..930 | dwResult;
}
//****************************************************************************
// Called to indicate whether the current portion of the installation can be
// canceled. The parameter is true if it |
| No | Common/Core/Setup.cpp | 68,048 | 931 | enable a
// cancel button in the UI
void CSetup::OnEnableCancel(bool |
| No | Common/Core/Setup.cpp | 68,048 | 946 | sDriverFolder;
// Get a temp folder and extract driver package into it |
| No | Common/Core/Setup.cpp | 68,048 | 976 | LOG_TYPE, L"Resolving driver source");
// See if user provided an |
| No | Common/Core/Setup.cpp | 68,048 | 978 | user provided an alternate driver source folder, if so then use |
| No | Common/Core/Setup.cpp | 68,048 | 986 | bIsExtracted = false;
}
else // Check for the existence of a drivers.cab alongside |
| No | Common/Core/Setup.cpp | 68,048 | 986 | existence of a drivers.cab alongside the setup binary
{
sDriverFolder = GetTempFolder();
g |
| No | Common/Core/Setup.cpp | 68,048 | 989 | embedded driver(s). Temp source is '%s'", sDriverFolder.c_str());
dwError |
| No | Common/Core/Setup.cpp | 68,048 | 997 | true;
}
}
//****************************************************************************
// Called in response to the -? command line switch.
void CSetup |
| No | Common/Core/Setup.cpp | 68,048 | 1,020 | Default implementation pulls it from the setup resource block
g_hMsiDLL |
| No | Common/Core/Setup.cpp | 68,048 | 1,025 | g_VersionLibrary.Load();
sXMLConfig = OnLoadConfigXML();
// Go and parse the setup XML
m_XMLDoc.LoadXML(sXMLConfig.c |
| No | Common/Core/Setup.cpp | 68,048 | 1,038 | occurred!!" << endl;
ssError << L" Error code: 0x" << hex << dwError << endl;
ssError |
| No | Common/Core/Setup.cpp | 68,048 | 1,048 | e)
{
wstringstream ssError;
dwError = HRESULT_CODE(e.GetError());
ssError << L"COM exception |
| No | Common/Core/Setup.cpp | 68,048 | 1,050 | occurred!!" << endl;
ssError << L" Error code: 0x" << hex << e.GetError() << endl;
ssError |
| No | Common/Core/Setup.cpp | 68,048 | 1,059 | e)
{
wstringstream ssError;
dwError = HRESULT_CODE(e.Error());
ssError << L"COM exception |
| No | Common/Core/Setup.cpp | 68,048 | 1,061 | occurred!!" << endl;
ssError << L" Error code: 0x" << hex << e.Error() << endl;
ssError |
| No | Common/Core/Setup.cpp | 68,048 | 1,073 | dwError;
}
//****************************************************************************
// Read setup parameters from the root XML passed in as |
| No | Common/Core/Setup.cpp | 68,048 | 1,111 | SUCCESS;
}
//****************************************************************************
// Default is to load the XML from setup.exe resource. Can |
| No | Common/Core/Setup.cpp | 68,048 | 1,112 | read it from a different source
wstring CSetup::OnLoadConfigXML()
{
DWORD dwError |
| No | Common/Core/Setup.cpp | 68,048 | 1,120 | string sXMLConfigA;
wstring sXMLConfig;
// Load the XML configuration file from resource |
| No | Common/Core/Setup.cpp | 68,048 | 1,143 | GetInstance().GetResourceFolder());
}
return dwError;
}
//****************************************************************************
// Reports the progress of the entire installation as 0-100%
int |
| No | Common/Core/Setup.cpp | 68,048 | 1,159 | canceled
}
//****************************************************************************
void CSetup::OnRequirements()
{
// Test the OS requirements as specified in |
| No | Common/Core/Setup.cpp | 68,048 | 1,159 | OS requirements as specified in the setup.xml file
if (GetProperties().GetPropertyBool |
| No | Common/Core/Setup.cpp | 68,048 | 1,165 | check");
else
m_Configuration.CheckOS();
// Test the .NET requirement as specified in |
| No | Common/Core/Setup.cpp | 68,048 | 1,165 | NET requirement as specified in the setup.xml file
if (GetProperties().GetPropertyBool |
| No | Common/Core/Setup.cpp | 68,048 | 1,174 | active device
CheckHW();
// Check that the current architecture is supported
CheckArchitecture |
| No | Common/Core/Setup.cpp | 68,048 | 1,179 | Is64Bit());
}
//****************************************************************************
// Called in response to the -ver command line switch. Default |
| No | Common/Core/Setup.cpp | 68,048 | 1,195 | Error occurred while scanning INF's and matching to devices (0x%X |
| No | Common/Core/Setup.cpp | 68,048 | 1,212 | CSetup::OnShowWizard()
{
wstring sText;
// Populate the IIF_LICENSE property. The UI will pull this property |
| No | Common/Core/Setup.cpp | 68,048 | 1,213 | it comes time to display the license.
CLanguage::GetInstance().LoadLicense(sText) |
| No | Common/Core/Setup.cpp | 68,048 | 1,217 | IIF_LICENSE, sText.c_str());
// Populate the IIF_README property.
if ((_wcsicmp |
| No | Common/Core/Setup.cpp | 68,048 | 1,231 | ERROR_LOG_TYPE, L" Error code: 0x%0X", e.GetError());
g_Log.Write |
| No | Common/Core/Setup.cpp | 68,048 | 1,239 | ERROR_LOG_TYPE, L" Error code: 0x%X", e.Error());
g_Log.Write |
| No | Common/Core/Setup.cpp | 68,048 | 1,243 | they will get dumped to the log and take
// up space unnecessarily.
GetProperties |
| No | Common/Core/Setup.cpp | 68,048 | 1,314 | in (Dell MUP). We make the assumption that an extension means |
| No | Common/Core/Setup.cpp | 68,048 | 1,318 | sLogName = PathFindFileName(szPath); // Set the main log file to the filename portion
PathRemoveFileSpec(szPath |
| No | Common/Core/Setup.cpp | 68,048 | 1,413..1,414 | setup thread. Clean up after the
// install thread, record the final exit code and force a move to the
// finish page
void CSetup::OnTerminate |
| No | Common/Core/Setup.cpp | 68,048 | 1,413 | str());
}
return dwError;
}
//****************************************************************************
// Callback from the setup thread. Clean up after |
| No | Common/Core/Setup.cpp | 68,048 | 1,428 | WPARAM)IDD_FINISH, 0);
}
//****************************************************************************
// Parses the command line. Accepts additional switches |
| No | Common/Core/Setup.cpp | 68,048 | 1,429 | that can be placed in the same folder as setup.exe. This |
| No | Common/Core/Setup.cpp | 68,048 | 1,430 | folder as setup.exe. This utilizes
// the methods OnCheckSwitch() and OnSwitch() to handle the actual switches.
// Parameters to switches |
| No | Common/Core/Setup.cpp | 68,048 | 1,431 | to switches that contain spaces and/or quotes need to be
// escaped |
| No | Common/Core/Setup.cpp | 68,048 | 1,432 | need to be
// escaped with the \ escape character
DWORD CSetup::ParseCommandLine |
| No | Common/Core/Setup.cpp | 68,048 | 1,457 | command line: %s", sCommandLine.c_str());
// The -v switch tends to be |
| No | Common/Core/Setup.cpp | 68,048 | 1,477 | Offset of to skip past the '-' or '/'
switch (OnCheckSwitch(pszSwitch))
{
case |
| No | Common/Core/Setup.cpp | 68,048 | 1,487..1,488 | up next. If we're at the
// end of the command line or the parameter starts with a switch |
| No | Common/Core/Setup.cpp | 68,048 | 1,542..1,543 | this is used to save the path portion and
// also to determine the package version
GetModuleFileName(0, szPath |
| No | Common/Core/Setup.cpp | 68,048 | 1,542 | IIF_LOGFOLDER, szPath);
// Read path and name of this setup. this |
| No | Common/Core/Setup.cpp | 68,048 | 1,551 | props.SetProperty(IIF_SETUPPATH, szPath);
// Get the package cache location for this |
| No | Common/Core/Setup.cpp | 68,048 | 1,563 | d.%d", osviex.dwMajorVersion, osviex.dwMinorVersion);
// Get the major/minor version of kernel.dll |
| No | Common/Core/Setup.cpp | 68,048 | 1,563 | major/minor version of kernel.dll and compare it to the one obtained via GetVersionEx()
SHGetFolderPath |
| No | Common/Core/Setup.cpp | 68,048 | 1,567 | sKernelVersion.c_str()) == 0) // They are the same so just assign the version
{
props.SetProperty(IIF_OS, szData |
| No | Common/Core/Setup.cpp | 68,048 | 1,571 | props.SetProperty(IIF_OS, szData);
}
else // The versions differ so prefer the DLL version over that obtained |
| No | Common/Core/Setup.cpp | 68,048 | 1,575 | to make it clear that the OS version was obtained from |
| No | Common/Core/Setup.cpp | 68,048 | 1,593 | L"1");
// Read installed location and version, if any from the ARP key. We don't look |
| No | Common/Core/Setup.cpp | 68,048 | 1,620 | c_str());
// Set IIF_PROGRAMFILESFOLDER and IIF_PROGRAMFILES86FOLDER
if (SUCCEEDED(SHGetFolderPath(NULL |
| No | Common/Core/Setup.cpp | 68,048 | 1,658 | for list of errors in the children of the following path;
// /Config/UI/ErrorMap |
| No | Common/Core/Setup.cpp | 68,048 | 1,665 | Example
// <Config>
// <UI>
// <ErrorMap>
// <Error Code="1639">This is a command |
| No | Common/Core/Setup.cpp | 68,048 | 1,666 | line error test</Error>
// <Error Code="1640">{#30000}</Error>
// </ErrorMap>
// </UI |
| No | Common/Core/Setup.cpp | 68,048 | 1,678 | Config/UI/ErrorMap/Error[@Code='%d']", dwError);
CXMLNode node = m |
| No | Common/Core/Setup.cpp | 68,048 | 1,696 | can be changed
// by overriding the On*() member functions in a |
| No | Common/Core/Setup.cpp | 68,048 | 1,707 | load installer configuration. One of the items read is the log filename
// which we use |
| No | Common/Core/Setup.cpp | 68,048 | 1,716 | line. Save any error until the language resource has been loaded |
| No | Common/Core/Setup.cpp | 68,048 | 1,716 | MB_OK);
return dwError;
}
// Parse the command line. Save any error |
| No | Common/Core/Setup.cpp | 68,048 | 1,717 | has been loaded before
// reporting the error to the user
dwCommandlineError = ParseCommandLine(GetCommandLineW());
wcscpy |
| No | Common/Core/Setup.cpp | 68,048 | 1,726 | TYPE, L">>> Log start");
// Use the product setup GUID to create |
| No | Common/Core/Setup.cpp | 68,048 | 1,749 | FAILURE;
}
}
g_Log.LogSystemConfig();
OnLogStarted();
// Load the appropriate language resource
dwError = OnLoadLanguage |
| No | Common/Core/Setup.cpp | 68,048 | 1,759 | any command line
// error to the user
if (dwCommandlineError != ERROR_SUCCESS |
| No | Common/Core/Setup.cpp | 68,048 | 1,781 | WARNING_LOG_TYPE, L"-repair and -uninstall switches are not valid |
| No | Common/Core/Setup.cpp | 68,048 | 1,823 | CLanguage::GetInstance().Unload();
// Dump out the properties list
g_Log.Write(INFO |
| No | Common/Core/Setup.cpp | 68,048 | 1,844 | L"false");
feature_it++;
}
// Get the overall result
dwError = GetError();
// Decide |
| No | Common/Core/Setup.cpp | 68,048 | 1,847 | to initiate a reboot. If the UI was run and the user chose reboot,
// dwError would |
| No | Common/Core/Setup.cpp | 68,048 | 1,849 | INITIATED
// if setup was silent and the -b switch was used
if |
| No | Common/Core/Setup.cpp | 68,048 | 1,858 | codes to a select few, the rest are generic failures
switch |
| No | Common/Core/Setup.cpp | 68,048 | 1,861 | exit codes are limited to the following;
case ERROR_SUCCESS: // 0 |
| No | Common/Core/Setup.cpp | 68,048 | 1,873 | FAILURE;
}
// Depending on result, save or delete persisted properties
if (IsExitCodeSuccess |
| No | Common/Core/Setup.cpp | 68,048 | 1,888 | INFO_LOG_TYPE, L"Exit code (command line): %d", dwError);
if |
| No | Common/Core/Setup.cpp | 68,048 | 1,925 | 0x%X saving properties", e.Error());
}
}
//****************************************************************************
// The method provides a common way |
| No | Common/Core/Setup.cpp | 68,048 | 1,925 | to report an error with the setup. It
// calls CreateErrorString() to |
| No | Common/Core/Setup.cpp | 68,048 | 1,926..1,927 | It
// calls CreateErrorString() to get the text description of the error. Finally
// it stuffs the error code into a well-known property |
| No | Common/Core/Setup.cpp | 68,048 | 2,012 | ERROR_ACCESS_DENIED);
ShowStoryboard();
}
//****************************************************************************
// Read the page references from the default storyboard and display them in
// a wizard |
| No | Common/Core/Setup.cpp | 68,048 | 2,019 | Read pages to add from the storyboard element
g_Log.Write(INFO |
| No | Common/Core/Setup.cpp | 68,048 | 2,038 | Added: %s", pDialog->GetPageName());
}
// Read the Strings element, if it exists |
| No | Common/Core/Setup.cpp | 68,048 | 2,038 | Strings element, if it exists, and add the requested string mapping
g_Log.Write |
| No | Common/Core/stdafx.cpp | 1,813 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/stdafx.cpp | 1,813 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/stdafx.cpp | 1,813 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/stdafx.cpp | 1,813 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/stdafx.cpp | 1,813 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/stdafx.cpp | 1,813 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/stdafx.cpp | 1,813 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/stdafx.cpp | 1,813 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/stdafx.cpp | 1,813 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/stdafx.cpp | 1,813 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/stdafx.cpp | 1,813 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/stdafx.cpp | 1,813 | 26 | by Intel in writing.
// ==========================================================================
// stdafx.cpp : source file that includes just the standard includes
// Core.pch will be |
| No | Common/Core/stdafx.cpp | 1,813 | 27 | standard includes
// Core.pch will be the pre-compiled header
// stdafx.obj will |
| No | Common/Core/stdafx.cpp | 1,813 | 28 | compiled header
// stdafx.obj will contain the pre-compiled type information
#include |
| No | Common/Core/stdafx.cpp | 1,813 | 33 | headers you need in STDAFX.H
// and not in this file
|
| No | Common/Core/stdafx.h | 2,253 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/stdafx.h | 2,253 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/stdafx.h | 2,253 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/stdafx.h | 2,253 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/stdafx.h | 2,253 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/stdafx.h | 2,253 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/stdafx.h | 2,253 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/stdafx.h | 2,253 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/stdafx.h | 2,253 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/stdafx.h | 2,253 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/stdafx.h | 2,253 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/stdafx.h | 2,253 | 30 | once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff |
| No | Common/Core/Switches.cpp | 4,366 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Switches.cpp | 4,366 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Switches.cpp | 4,366 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Switches.cpp | 4,366 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Switches.cpp | 4,366 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Switches.cpp | 4,366 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Switches.cpp | 4,366 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Switches.cpp | 4,366 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Switches.cpp | 4,366 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Switches.cpp | 4,366 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Switches.cpp | 4,366 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Switches.cpp | 4,366 | 60 | providing a value for MinValue or MaxValue. Future expansion could include |
| No | Common/Core/Switches.cpp | 4,366 | 68 | value was provided for MinValue or MaxValue
if (bHasParameter && (nMinValue != 0 |
| No | Common/Core/Switches.cpp | 4,366 | 68 | If a parameter is expected and some value was provided for |
| No | Common/Core/Switches.cpp | 4,366 | 71 | no number is found in the text so check for a |
| No | Common/Core/Switches.cpp | 4,366 | 72 | check for a
// digit in the first position as a pre |
| No | Common/Core/targetver.h | 1,903 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/targetver.h | 1,903 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/targetver.h | 1,903 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/targetver.h | 1,903 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/targetver.h | 1,903 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/targetver.h | 1,903 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/targetver.h | 1,903 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/targetver.h | 1,903 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/targetver.h | 1,903 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/targetver.h | 1,903 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/targetver.h | 1,903 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/targetver.h | 1,903 | 28 | pragma once
// Including SDKDDKVer.h defines the highest available Windows platform.
// If |
| No | Common/Core/targetver.h | 1,903 | 30..31 | previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support |
| No | Common/Core/Utilities.cpp | 32,808 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/Utilities.cpp | 32,808 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/Utilities.cpp | 32,808 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/Utilities.cpp | 32,808 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/Utilities.cpp | 32,808 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/Utilities.cpp | 32,808 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/Utilities.cpp | 32,808 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/Utilities.cpp | 32,808 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/Utilities.cpp | 32,808 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/Utilities.cpp | 32,808 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/Utilities.cpp | 32,808 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/Utilities.cpp | 32,808 | 41 | BUFFER_SIZE (1024*1024)
//****************************************************************************
// Extracts and launches the ICC install if all criteria are met
DWORD InstallICC |
| No | Common/Core/Utilities.cpp | 32,808 | 73 | return dwError;
}
// Assemble command line and launch the ICC install
StringCbPrintf(szCommandline, sizeof |
| No | Common/Core/Utilities.cpp | 32,808 | 80 | LOG_TYPE,_T("SetupICC.exe exit code: 0x%X"),dwExitCode);
// Cleanup
DeleteFolder |
| No | Common/Core/Utilities.cpp | 32,808 | 89 | Looks up ICC install configuration and initiates the uninstall of ICC
DWORD UninstallICC |
| No | Common/Core/Utilities.cpp | 32,808 | 113 | LOG_TYPE,_T("SetupICC.exe exit code: 0x%X"),dwExitCode);
}
else
g |
| No | Common/Core/Utilities.cpp | 32,808 | 249 | works by taking advantage of the ability of the MoveFile() API to
// move a |
| No | Common/Core/Utilities.cpp | 32,808 | 278 | if (Is64Bit())
{
// Hack to get the 64 bit ProgramFiles on 64bit |
| No | Common/Core/Utilities.cpp | 32,808 | 278..279 | ProgramFiles on 64bit OS. Otherwise the value is
// redirected and resolves to "Program Files (x86) |
| No | Common/Core/Utilities.cpp | 32,808 | 325 | GetFileSize(hFile,NULL);
// Allocate buffer and read entire file
if (dwFileSize |
| No | Common/Core/Utilities.cpp | 32,808 | 370 | INVALID_HANDLE_VALUE)
{
// Allocate buffer and read entire file
dwFileSize = GetFileSize |
| No | Common/Core/Utilities.cpp | 32,808 | 406 | ANSI text string directly from the resource block
DWORD LoadTextResource(LPCWSTR |
| No | Common/Core/Utilities.cpp | 32,808 | 447 | UNICODE text string directly from the resource block
DWORD LoadTextResource(LPCWSTR |
| No | Common/Core/Utilities.cpp | 32,808 | 486 | dwError;
}
//****************************************************************************
// Recursively deletes a folder and contents
DWORD DeleteFolder(LPCWSTR pszFolder |
| No | Common/Core/Utilities.cpp | 32,808 | 605 | QUERY,&hToken))
return GetLastError();
// Get the LUID for the shutdown privilege
LookupPrivilegeValue(NULL,SE |
| No | Common/Core/Utilities.cpp | 32,808 | 630 | into a 64bit format. If the string contains less
// than 4 |
| No | Common/Core/Utilities.cpp | 32,808 | 631 | they are considered to be the value 0
__int64 ConvertVersion(LPCWSTR |
| No | Common/Core/Utilities.cpp | 32,808 | 674 | Values can be
// one of the following; "v2.0.50727", "v3.0", "v3.5", "v4.0 |
| No | Common/Core/Utilities.cpp | 32,808 | 692 | registry info about version 4.5 and above, is stored under the common v4 key. We have |
| No | Common/Core/Utilities.cpp | 32,808 | 693 | two steps.
// First we check the existence of v4\Client or v4\Full keys. Then we |
| No | Common/Core/Utilities.cpp | 32,808 | 693 | Full keys. Then we check the version in the proper variable under this keys |
| No | Common/Core/Utilities.cpp | 32,808 | 715 | L"Found registry key for the expected .NET version.");
}
else
{
g |
| No | Common/Core/Utilities.cpp | 32,808 | 719 | LOG_TYPE, L"Couldn't open or find registry key for the expected .NET version");
}
// If we're |
| No | Common/Core/Utilities.cpp | 32,808 | 722 | If we're checking for v4.5 or above we do the second part of the detection here
if (bCheck45OrAbove && bNETPassed |
| No | Common/Core/Utilities.cpp | 32,808 | 725 | Looking for .NET version 4.5 or above");
dwError = RegOpenKeyEx(HKEY_LOCAL |
| No | Common/Core/Utilities.cpp | 32,808 | 777..778 | form an absolute path from the
// relative path pszRelPath. The absolute path is placed into |
| No | Common/Core/Utilities.cpp | 32,808 | 777 | dwError = GetLastError();
return dwError;
}
//****************************************************************************
// Uses the current working directory to form |
| No | Common/Core/Utilities.cpp | 32,808 | 780 | is copied unchanged to
// pszAbsPath. The location pszAbsPath must be at |
| No | Common/Core/Utilities.cpp | 32,808 | 797 | part validation is performed. First the path root is validated
// to |
| No | Common/Core/Utilities.cpp | 32,808 | 798 | root is validated
// to ensure the referenced drive actually exists. UNC |
| No | Common/Core/Utilities.cpp | 32,808 | 799 | ensures that every character in the path is
// valid for use |
| No | Common/Core/Utilities.cpp | 32,808 | 799 | paths skip this first
// step. The second step merely ensures that |
| No | Common/Core/Utilities.cpp | 32,808 | 806 | a network path then skip the validation of the root because
// it may block |
| No | Common/Core/Utilities.cpp | 32,808 | 808 | a trade-off between
// validating and having setup hang on startup |
| No | Common/Core/Utilities.cpp | 32,808 | 819 | NO_ROOT_DIR);
}
// Starting with the first position after the root, ensure each character is |
| No | Common/Core/Utilities.cpp | 32,808 | 838 | than a specified amount. Currently the
// input file is treated as |
| No | Common/Core/Utilities.cpp | 32,808 | 839 | file is treated as UTF-16 and ensures that the prune size is on a |
| No | Common/Core/Utilities.cpp | 32,808 | 840 | (WCHAR) boundary. A return code of ERROR_SUCCESS (0 |
| No | Common/Core/Utilities.cpp | 32,808 | 841 | (0) is returned if
// the file did not need pruning |
| No | Common/Core/Utilities.cpp | 32,808 | 853 | Create a filename to write the pruned file
wcscpy_s(szDestFile |
| No | Common/Core/Utilities.cpp | 32,808 | 867 | Open a second handle to the log file for writing
hFileDest |
| No | Common/Core/Utilities.cpp | 32,808 | 871 | hFileDest != INVALID_HANDLE_VALUE)
{
// Set the position from which to start |
| No | Common/Core/Utilities.cpp | 32,808 | 885 | while there is no error and there is more data
delete |
| No | Common/Core/Utilities.cpp | 32,808 | 900 | there was no error, replace the original file with the new pruned one
if (bPruned |
| No | Common/Core/Utilities.cpp | 32,808 | 911 | to it if it exists and falls back to RegDeleteKey() if |
| No | Common/Core/Utilities.cpp | 32,808 | 923 | function pointer will be NULL the first time this gets called |
| No | Common/Core/Utilities.cpp | 32,808 | 923 | this gets called so import the function.
if (pRdkex == NULL)
pRdkex |
| No | Common/Core/Utilities.cpp | 32,808 | 927 | RegDeleteKeyExW");
// Function will exist on all OS's except for XP 32 |
| No | Common/Core/Utilities.cpp | 32,808 | 995 | SERVICE_STOPPED);
}
//****************************************************************************
// Tries to stop and then delete service with a |
| No | Common/Core/Utilities.cpp | 32,808 | 1,002 | OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
if (scManager == NULL)
{
g |
| No | Common/Core/xml.cpp | 8,141 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/xml.cpp | 8,141 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/xml.cpp | 8,141 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/xml.cpp | 8,141 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/xml.cpp | 8,141 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/xml.cpp | 8,141 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/xml.cpp | 8,141 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/xml.cpp | 8,141 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/xml.cpp | 8,141 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/xml.cpp | 8,141 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/xml.cpp | 8,141 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/XMLScript.cpp | 22,334 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Core/XMLScript.cpp | 22,334 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Core/XMLScript.cpp | 22,334 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Core/XMLScript.cpp | 22,334 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Core/XMLScript.cpp | 22,334 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Core/XMLScript.cpp | 22,334 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Core/XMLScript.cpp | 22,334 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Core/XMLScript.cpp | 22,334 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Core/XMLScript.cpp | 22,334 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Core/XMLScript.cpp | 22,334 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Core/XMLScript.cpp | 22,334 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Core/XMLScript.cpp | 22,334 | 217 | else
{
cb.WriteToLog(llNormal,L"One or more required values are missing |
| No | Common/Core/XMLScript.cpp | 22,334 | 235 | else
{
cb.WriteToLog(llNormal,L"One or more required values are missing |
| No | Common/Core/XMLScript.cpp | 22,334 | 248 | else
{
cb.WriteToLog(llNormal,L"One or more required values are missing |
| No | Common/Core/XMLScript.cpp | 22,334 | 277 | else
{
cb.WriteToLog(llNormal,L"One or more required values are missing |
| No | Common/Core/XMLScript.cpp | 22,334 | 465 | are deleting a specific value or the whole key
if (pszValue == NULL |
| No | Common/Core/XMLScript.cpp | 22,334 | 468 | however that is a Vista and greater API
dwError = SHDeleteKey(hRoot |
| No | Common/Core/XMLScript.cpp | 22,334 | 539 | sSource = cb.GetProperties().ResolveVariables(node.GetAttribute(L"Source").c_str());
sProperty = node.GetAttribute(L |
| No | Common/Core/XMLScript.cpp | 22,334 | 553 | else
{
cb.WriteToLog(llNormal,L" Warning: Code block expected");
}
nCurPos = nIndex + 1 |
| No | Common/Core/XMLScript.cpp | 22,334 | 675 | Only add properties if using the private property source
if (m_pPropertyList == &m_InternalPropertyList |
| No | Common/Core/XMLScript.cpp | 22,334 | 678 | m_pPropertyList == &m_InternalPropertyList)
{
// Set the user profile path
SHGetFolderPath(NULL |
| No | Common/Core/XMLScript.cpp | 22,334 | 686 | szData);
}
}
//****************************************************************************
// Executes a function in the currently loaded script. If the pszFunction
// argument is NULL, then |
| No | Common/Core/XMLScript.cpp | 22,334 | 687 | pszFunction
// argument is NULL, then the first function in the script is executed
DWORD CXMLScript |
| No | Common/Core/XMLScript.cpp | 22,334 | 696 | NULL ? L"<Default>" : pszFunction));
// Find the desired function, either the first or a named function
if (pszFunction |
| No | Common/Core/XMLScript.cpp | 22,334 | 729 | order to restore it after the code block is executed
savedNode = m |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/Cabinet.cpp | 7,661 | 176 | (HANDLE)pfdin->hf;
// Set the filetime of the extracted file to the filedate from the package
if (DosDateTimeToFileTime(pfdin->date |
| No | Common/DriversCA/Cabinet.h | 2,017 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/Cabinet.h | 2,017 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/Cabinet.h | 2,017 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/Cabinet.h | 2,017 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/Cabinet.h | 2,017 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/Cabinet.h | 2,017 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/Cabinet.h | 2,017 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/Cabinet.h | 2,017 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/Cabinet.h | 2,017 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/Cabinet.h | 2,017 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/Cabinet.h | 2,017 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/Cabinet.h | 2,017 | 29 | writing.
// ==========================================================================
#pragma once
// Base Error Code. Result from member functions can |
| No | Common/DriversCA/Cabinet.h | 2,017 | 30 | error from 1 to 0xAFFF,
// or an error from 0xB000 and up. Subtract the base from these values to |
| No | Common/DriversCA/Difx.cpp | 5,291 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/Difx.cpp | 5,291 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/Difx.cpp | 5,291 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/Difx.cpp | 5,291 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/Difx.cpp | 5,291 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/Difx.cpp | 5,291 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/Difx.cpp | 5,291 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/Difx.cpp | 5,291 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/Difx.cpp | 5,291 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/Difx.cpp | 5,291 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/Difx.cpp | 5,291 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/Difx.cpp | 5,291 | 56 | provided just try to load the DLL using the default path search mechanism
m |
| No | Common/DriversCA/Difx.h | 3,119 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/Difx.h | 3,119 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/Difx.h | 3,119 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/Difx.h | 3,119 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/Difx.h | 3,119 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/Difx.h | 3,119 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/Difx.h | 3,119 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/Difx.h | 3,119 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/Difx.h | 3,119 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/Difx.h | 3,119 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/Difx.h | 3,119 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 39 | can be passed in on the MSIEXEC command line
#define IIFPROP |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 46 | used to pass data into the deferred phase
#define IIFPROP_INSTALL |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 51 | is used to mask off the standard DIFX bits. The rest are custom
#define DIFXMASK |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 54 | optional. If it is in the driver package and matches HW,
// then it is |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 61 | FLAG 0x00000200
// This flag prevents the driver from being removed during |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 64 | device to be created in the device tree. The device class
// is read from |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 65 | device class
// is read from the associated INF and the DID is read from the IIFDrivers table
#define CREATE_DEVICE |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 68 | device to be removed from the device tree during uninstallation
#define |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 68 | FLAG 0x00000800
// This flag causes the device to be removed from |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 71 | is (un)installed in the driver store
#define RESCAN_DEVICES |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 108 | match REBOOT_REQUEST in DifXFrontend code.
#define DIFX_FRONTEND_REBOOT_REQUEST |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 111 | to store processed records from the IIFDrivers table
class CDriverRecordInfo
{
public |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 115 | a relative INF path if the section was not found
bool |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 115 | Name that was read from the PackageInfo section or a relative INF path if |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 116 | found
bool bCondition; // True if the install condition was satisfied
bool |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 117 | satisfied
bool bUCondition; // True if the uninstall condition was satisfied
bool |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 118 | satisfied
bool bUpgradeCondition; // True if the upgrade condition was satisfied
bool |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 119 | satisfied
bool bDowngradeCondition; // True if the downgrade condition was satisfied
bool |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 120 | satisfied
bool bRepairCondition; // True if the repair condition was satisfied
DWORD |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 122 | install behavior
wstring sDID; // When the CREATE_DEVICE_FLAG flag is |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 127 | subclass of CHardware that implements the logging method
class CHardwareCA : public |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 143 | bool m_bDeleteDriverFolder; // True if the driver source folder should be delete on |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 166 | a file. Delete it first or extract will fail
PathAddBackslash(szDriverFolder) |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 171 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 180 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 185 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"Failure selecting |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 187 | single record",__FILE__,__LINE__);
// Read the data
hr = WcaGetRecordStream(hRec,2,&pData |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 190 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"Failure reading |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 201 | an install data file in the
// common appdata folder that is |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 209 | MAX_PATH];
wstring sPath;
// Create the full path of the driver data folder
SHGetFolderPath(NULL |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 241 | column.", fieldName);
throw CWin32Exception(HRESULT_CODE(hr), szErrorString, __FILE__, __LINE |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 247 | case MSICONDITION_ERROR: // Invalid handle or syntax error in conditional expression |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 248 | conditional expression
throw CWin32Exception(HRESULT_CODE(hr), L"Condition syntax |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 267..268 | will read each record in the IIFDrivers table and process the
// conditions for install and uninstall.
// Errors can be caused |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 274 | pull driver info out of the MSI file
const LPCWSTR SELECT |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 288 | (hr))
throw CWin32Exception(HRESULT_CODE(hr), L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 296 | (hr))
throw CWin32Exception(HRESULT_CODE(hr), L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 312 | (hr))
throw CWin32Exception(HRESULT_CODE(hr), L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 319 | (hr))
throw CWin32Exception(HRESULT_CODE(hr), L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 327 | (hr))
throw CWin32Exception(HRESULT_CODE(hr), L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 335 | E_NOMOREITEMS)
throw CWin32Exception(HRESULT_CODE(hr), L"", __FILE__, __LINE |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 339..340 | LINE__);
}
//***************************************************************************
// In immediate phase scan all the INF's in the driver location and
// cross-reference the data read from the driver MSI table to
// determine |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 343 | if;
// -A driver listed in the driver table needs to be |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 344 | installed but was not in
// the package EXCEPT when the driver is marked as optional |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 350 | S",cai.m_sDriverFolder.c_str());
// Load the XML and scan for matching devices
hw.Scan |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 353 | hw.Scan(cai.m_sDriverFolder.c_str());
// Enumerate the data read from the driver table.
vector<CDriverRecordInfo>::const |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 359 | with this name was in the package
if (hw.m_INFInfo.count(it |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 362 | sName) > 0)
{
// INF was in the package. Check if it was |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 369 | we are supposed to create the device AND the INF was not matched to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 369..370 | to an existing device, force the installation.
// Once the device is created the INF will have a device |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 371 | already exists (probably an upgrade or reinstall) and we should not
// create another |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 371 | match; that would mean that the device already exists (probably an |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 389 | information are
// needed elsewhere in the package
if (pInfo->bInstall)
{
WCHAR |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 395 | conditions in other areas of the wxs files.
StringCbPrintf(szProperty, sizeof |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 402 | be used in cases where the device is not
// enabled. Driver |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 403 | specifically marked for pre-installation or all drivers can be pre-installed |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 410 | met, then do not install the driver.
if(!it->bCondition)
{
WcaLog |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 410 | installed");
pInfo->bInstall = true;
}
//If the condition in the DriverFeature entry is not met |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 418 | if (pInfo->bInstall) // True means the INF met all requirements (device match, OS, filtering |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 420 | device match, OS, filtering)
{
// Update the flags so we do the right thing in deferred mode |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 420..421 | right thing in deferred mode. The flags were read
// from the drivers table. If the uninstall condition was false, add |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 421 | uninstall condition was false, add the permanent flag
if (!it->bUCondition |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 424 | pInfo->dwFlags |= PERMANENT_FLAG;
// If the driver is already installed...
if |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 427 | already installed...
if(!pInfo->sInstalledVersion.empty())
{
// ...and the driver is upgrading...
if (pInfo |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 430 | is upgrading...
if (pInfo->IsUpgrade())
{
// ...and upgrades are disallowed...
if (!it |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 439 | WcaLog(LOGMSG_STANDARD, " Upgrade detected.");
}
// ...or the driver is downgrading...
else if |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 442 | downgrading...
else if (pInfo->IsDowngrade())
{
// ...and downgrades are disallowed...
if (!it |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 451 | WcaLog(LOGMSG_STANDARD, " Downgrade detected.");
}
// ...or the driver is repairing...
else if |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 454 | repairing...
else if (pInfo->IsRepair())
{
// ...and repairs are disallowed...
if (!it |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 470 | INF was not found in the package or failed requirements
{
WcaLog(LOGMSG_STANDARD |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 477 | it->bCondition)
WcaLog(LOGMSG_STANDARD," The INF was not found in |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 477 | INF was not found in the package but install condition was |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 482 | This INF was not in the package
{
// If it is marked |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 484 | fatal error. Just log it and continue
if (it->dwFlags & OPTIONAL |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 486 | driver was not found in the package but is marked as |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 486 | OPTIONAL_FLAG)
WcaLog(LOGMSG_STANDARD," The driver was not found in |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 489 | INF was not found in the package but install condition was |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 489 | it->bCondition)
WcaLog(LOGMSG_STANDARD," The INF was not found in |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 490 | required driver is not in the package
throw CWin32Exception(ERROR_NO |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 490 | was false");
else // Not optional and condition was met. This is |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 491 | INF was not found in the package",__FILE__,__LINE__);
}
it++;
}
}
//************************************************************************ |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 491 | ERROR_NO_MORE_ITEMS,L"The INF was not found in |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 498 | an install XML file containing the INF's to install in the
// deferred phase. This file will |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 521 | L"yes" : L"no");
// Enumerate all INF's
map<wstring,CINFInfo*>::const |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 536 | name from HW INF to the names in the driver info table for a |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 548 | INF is to be installed OR repaired
if (bInDriverTable && pInfo.bConditionMet && (pInfo.bInstall |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 589 | LOGMSG_STANDARD,"Creating device...");
// Get the class name and GUID from the inf file
if (!SetupDiGetINFClass(pszINF |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 612 | set to '%S'",pszDID);
// Inject the device into the actual driver tree
if (!SetupDiCallClassInstaller |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 618 | need to reboot after injecting the device
dip.cbSize = sizeof(dip |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 639 | bRebootRequired;
}
//****************************************************************************
// Removes a device with the ID pszDevID from the device tree. The device will
// reappear during a |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 640 | reappear during a HW scan or on the next boot
BOOL RemoveDevice(LPCWSTR |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 664 | ID %S", pszDevID);
// First get all attached devices
hDeviceInfo = SetupDiGetClassDevs(NULL |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 677 | 0;
bFoundDevice = false;
do // Enumerate all devices looking for the target device
{
if (!SetupDiEnumDeviceInfo(hDeviceInfo |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 702..706 | enumerate
break; // Continue on to the next device
}
}
// Enumerate the returned HWIDs and attempt to match the requested ID
if (pBuffer |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 798 | bSuccess;
}
//***************************************************************************
// This is defined in the Wix library. It is needed |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 844..845 | dwError;
}
//***************************************************************************
// Launches DifXFrontend to install or uninstall driver.
// The main purpose of DifXFrontend is |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 845 | DifXFrontend is to launch DriverPackageInstall or DriverPackageUninstall
// as separate process with |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 884 | LOGMSG_STANDARD, "DifXFrontend process exit code reception failed: 0x%X", dwResult |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 888 | LOGMSG_STANDARD, "DifXFrontend returned exit code 0x%X", dwResult);
*pNeedReboot |= dwResult |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 906 | (tempFile);
return dwResult;
}
//***************************************************************************
// Extract the embedded DLL to a temp |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 906 | DLL to a temp file. The temp file path is copied |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 907 | file path is copied to
// the pszFile parameter. Buffer should be |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 915 | ExtractResource(pszFile, IDR_DIFXDLL);
}
//***************************************************************************
// In the deferred phase, use the install data file created during |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 915..916 | install data file created during the
// immediate phase to perform the actual driver install
// Exceptions that |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 965 | sDriverDataFolder = rootNode.GetAttribute(ROOT_ATTRIBUTE);
// Set the DIFX output callback
difx.DIFXAPISetLogCallbackW(DIFXCallback |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 968 | callback
difx.DIFXAPISetLogCallbackW(DIFXCallback,NULL);
// Enumerate all the INF nodes
CXMLNodeList infList = rootNode.GetNodeList |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 974 | node = infList.GetItem(i);
// Read the INF to install and the DIFX flags to use
wstring |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 979 | dwFlags = _wtoi(s.c_str());
// Append the INF file name to the driver folder to get an |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 984 | STANDARD,"Installing '%S'",szINF);
// If the create device flag is on |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 984 | on then we first create the device for the INF to
// be installed onto |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 998 | device it is still in the driverstore
WcaLog(LOGMSG_STANDARD,"Device |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 998 | ERROR_NO_SUCH_DEVINST: // If the INF was not loaded onto |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,002 | ERROR_SUCCESS:
// If successful get the path of the installed INF in the driverstore
dwSize = sizeof(szStore |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,014 | flag that we'll check after all drivers are installed
if (bNeedReboot) |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,021 | hKey, NULL))
{
RegSetValueEx(hKey, L"Code", 0, REG_DWORD, (LPBYTE |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,039 | data file. It now includes the driverstore paths
wstring sFilename = ResolveInstallDataFile |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,039 | break;
}
WcaLog(LOGMSG_STANDARD,"");
}
// Save the data file. It now includes |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,051 | logging
difx.DIFXAPISetLogCallbackW(NULL,NULL);
// Delete the driver folder
if (bDeleteDrivers |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,111 | loading newdev.dll.", __FILE__, __LINE__);
}
// Parse the XML install data
doc.LoadXML(pszDriverData) |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,117 | ROOT_ATTRIBUTE); // This points to the driver package that was just |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,119 | uninstall
// Redirect DIFX output to the installer log
difx.DIFXAPISetLogCallbackW(DIFXCallback,NULL |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,122 | log
difx.DIFXAPISetLogCallbackW(DIFXCallback,NULL);
// Enumerate all INF nodes
CXMLNodeList infList = rootNode.GetNodeList |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,158 | use sStore to uninstall, if the path is valid
if (PathFileExists |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,161 | path was not valid. Use the source INF as the store location
{
WCHAR szStore[MAX |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,168 | Store path is invalid. Using source INF '%S'", itINF->sFile.c_str |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,174 | variables OS is windows 10 or higher, Driver installation is to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,198 | else
{
//Now we iterate through all matched devices in current INF |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,200 | if device removal was requested and if yes, execute it:
if |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,215 | break;
}
itDevice++;
}
}
// We can't set the reboot variable from deferred mode |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,229 | rescan will be performed in the end.");
bRescanNeeded = true;
}
itDevice++;
}
break |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,239 | rescan will be performed in the end.");
bRescanNeeded = true;
}
bUninstallSuccessful = true |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,254 | break;
}
}
}
}
difx.DIFXAPISetLogCallbackW(NULL,NULL);
// Delete the driver.data file
WcaLog(LOGMSG_STANDARD |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,261 | str()).c_str(),szTempFile);
// Delete the driver folder
sDriverFolder += L"\\";
DirEnsureDelete |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,281 | Extract setup XML
// Scan hardware and mark INF's to install
// Extract |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,288 | Deferred
// Read CustomActionData property
// Use the data to perform driver installation |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,304 | (hr)) throw CWin32Exception(HRESULT_CODE(hr),L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,306 | SCHEDULED) == TRUE) // If deferred do the actual driver install
{
// CustomData contains |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,311 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"CustomActionData property |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,313 | FILE__,__LINE__);
// We can't set the reboot variable from deferred mode |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,316 | If immediate phase, go process the MSI driver records
{
CCustomActionInfo cai |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,321 | records
{
CCustomActionInfo cai;
CHardwareCA hw;
// The PID determines where the install.data file is created
hr |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,324 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"IIFPID property |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,328..1,329 | whether we should really install the drivers or
// just simulate the successful installation
WcaGetProperty(L"EXECUTEMODE |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,334 | ReleaseNullStr(pszProperty);
// See if all the drivers should be preinstalled
WcaGetProperty |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,344 | 0);
ReleaseNullStr(pszProperty);
// Read the IIFDrivers table
ReadDriverRecords(hInstall,cai |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,347 | table
ReadDriverRecords(hInstall,cai);
// Extract the driver package. The path is needed for PrepareInstall |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,364 | HW
PrepareInstall(cai,hw);
// Package all info needed for driver install |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,367 | XML for use for install and rollback
WcaSetProperty(IIFPROP_INSTALL,s.c |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,367 | s = CreateDriverDataXML(cai,hw);
// Save the XML for use for install |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,403 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,405 | to initialize",__FILE__,__LINE__);
// If the custom currently being executed is |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,408 | hInstall,MSIRUNMODE_SCHEDULED) == TRUE)
{
// Get the install data
hr = WcaGetProperty(L |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,411 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"Error reading |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,415 | pszProperty) > 0)
{
// We can't set the reboot variable from deferred mode |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,430 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"IIFPID property |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,433 | FILE__,__LINE__);
sPID = pszProperty;
// Create the path to the install data file
sInstallDataFile = ResolveInstallDataFile |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,437 | str());
// Check for file existence and then parse the XML install data
if (PathFileExists |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,442 | str()))
{
doc.Load(sInstallDataFile.c_str());
// Extract the driver package. The path is needed for uninstall |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,445 | for uninstall
sDriverFolder = ExtractDrivers();
// Update the root folder attribute to the path of the extracted driver files
CXMLNode node |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,449 | ROOT_ATTRIBUTE,sDriverFolder.c_str());
// Save the XML for use for uninstall |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,453 | It was either manually deleted or this was a -nodrv install |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,486 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"Failed to |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,488 | Failed to initialize",__FILE__,__LINE__);
// The CustomActionData contains the IIFPID which was set during |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,491 | (hr))
throw CWin32Exception(HRESULT_CODE(hr),L"CustomActionData property |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,493 | not found",__FILE__,__LINE__);
// Create the path to the install data file
sInstallDataFile = ResolveInstallDataFile |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,499 | doc.Load(sInstallDataFile.c_str());
// Pass in the XML data to uninstall
if |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,520 | WcaFinalize(er);
}
//***************************************************************************
// DllMain - Initialize and cleanup WiX custom action utils |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,560 | cai.m_sPID = L"Test";
// Simulate the extraction of drivers into a |
| No | Common/DriversCA/DriversCA.cpp | 56,892 | 1,581 | cai.m_sPID = L"Test";
// Simulate the extraction of drivers into a |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 5..9 | Copyright 2019 - 2029
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/Newdev.cpp | 2,731 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/Newdev.h | 1,894 | 5..9 | Copyright 2019 - 2029
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/Newdev.h | 1,894 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/Newdev.h | 1,894 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/Newdev.h | 1,894 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/Newdev.h | 1,894 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/Newdev.h | 1,894 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/Newdev.h | 1,894 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/Newdev.h | 1,894 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/Newdev.h | 1,894 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/Newdev.h | 1,894 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/Newdev.h | 1,894 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/resource.h | 2,005 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/resource.h | 2,005 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/resource.h | 2,005 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/resource.h | 2,005 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/resource.h | 2,005 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/resource.h | 2,005 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/resource.h | 2,005 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/resource.h | 2,005 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/resource.h | 2,005 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/resource.h | 2,005 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/resource.h | 2,005 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 26 | by Intel in writing.
// ==========================================================================
// stdafx.cpp : source file that includes just the standard includes
// Drivers.pch will be |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 27 | standard includes
// Drivers.pch will be the pre-compiled header
// stdafx.obj will |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 28 | compiled header
// stdafx.obj will contain the pre-compiled type information
#include |
| No | Common/DriversCA/stdafx.cpp | 1,816 | 33 | headers you need in STDAFX.H
// and not in this file
|
| No | Common/DriversCA/stdafx.h | 3,201 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/DriversCA/stdafx.h | 3,201 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/DriversCA/stdafx.h | 3,201 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/DriversCA/stdafx.h | 3,201 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/DriversCA/stdafx.h | 3,201 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/DriversCA/stdafx.h | 3,201 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/DriversCA/stdafx.h | 3,201 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/DriversCA/stdafx.h | 3,201 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/DriversCA/stdafx.h | 3,201 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/DriversCA/stdafx.h | 3,201 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/DriversCA/stdafx.h | 3,201 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/DriversCA/stdafx.h | 3,201 | 28 | once
#ifndef WINVER // Specifies that the minimum required platform is Windows |
| No | Common/DriversCA/stdafx.h | 3,201 | 29 | WINVER 0x0500 // Change this to the appropriate value to target other |
| No | Common/DriversCA/stdafx.h | 3,201 | 32 | endif
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows |
| No | Common/DriversCA/stdafx.h | 3,201 | 33 | WIN32_WINNT 0x0501 // Change this to the appropriate value to target other |
| No | Common/DriversCA/stdafx.h | 3,201 | 36 | endif
#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet |
| No | Common/DriversCA/stdafx.h | 3,201 | 37 | WIN32_IE 0x0500 // Change this to the appropriate value to target other |
| No | Common/DriversCA/stdafx.h | 3,201 | 40 | endif
#ifndef _WIN32_MSI // Specifies that the minimum required MSI version is |
| No | Common/DriversCA/stdafx.h | 3,201 | 41 | WIN32_MSI 405 // Change this to the appropriate value to target other |
| No | Common/DriversCA/stdafx.h | 3,201 | 44 | of MSI.
#endif
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/HECIClient/BuildVersion.h | 2,288 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 28 | once
#ifndef WINVER // Specifies that the minimum required platform is Windows |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 29 | WINVER 0x0600 // Change this to the appropriate value to target other |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 32 | endif
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 33 | WIN32_WINNT 0x0600 // Change this to the appropriate value to target other |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 36 | endif
#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 37 | WIN32_IE 0x0500 // Change this to the appropriate value to target other |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 40 | endif
#ifndef _WIN32_MSI // Specifies that the minimum required MSI version is |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 41 | WIN32_MSI 400 // Change this to the appropriate value to target other |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 44 | of MSI.
#endif
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 133 | L"Looking for devices");
// Find all devices that have our interface |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 143 | L"Get interface details.");
// Setup the interface data struct
interfaceData.cbSize = sizeof |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 167 | Error allocating memory");
continue;
}
// Setup the device interface struct
deviceDetail->cbSize |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 170 | DATA);
// Try again to get the device interface detail info
if |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 363 | dwError;
}
//****************************************************************************
DWORD HECIClient::DoIoctl(DWORD code, void *inbuf, int inlen, void |
| No | Common/HECIClient/HECIClient.cpp | 15,250 | 373 | TRUE, NULL);
if (!DeviceIoControl(_HECIDevice, code, inbuf, inlen, outbuf, outlen, &dwBytesRead |
| No | Common/HECIClient/HECIClient.h | 2,279 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/HECIClient/HECIClient.h | 2,279 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/HECIClient/HECIClient.h | 2,279 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/HECIClient/HECIClient.h | 2,279 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/HECIClient/HECIClient.h | 2,279 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/HECIClient/HECIClient.h | 2,279 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/HECIClient/HECIClient.h | 2,279 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/HECIClient/HECIClient.h | 2,279 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/HECIClient/HECIClient.h | 2,279 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/HECIClient/HECIClient.h | 2,279 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/HECIClient/HECIClient.h | 2,279 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/HECIClient/HECIClient.h | 2,279 | 57 | DWORD GetCapabilities();
DWORD DoIoctl(DWORD code, void *inbuf, int inlen, void |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 5..9 | Copyright 2015 - 2020
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Wrapper/Cabinet.cpp | 9,108 | 179 | (HANDLE)pfdin->hf;
// Set the filetime of the extracted file to the filedate from the package
if (DosDateTimeToFileTime(pfdin->date |
| No | Common/Wrapper/Cabinet.h | 3,088 | 5..9 | Copyright 2015 - 2020
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Wrapper/Cabinet.h | 3,088 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Wrapper/Cabinet.h | 3,088 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Wrapper/Cabinet.h | 3,088 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Wrapper/Cabinet.h | 3,088 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Wrapper/Cabinet.h | 3,088 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Wrapper/Cabinet.h | 3,088 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Wrapper/Cabinet.h | 3,088 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Wrapper/Cabinet.h | 3,088 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Wrapper/Cabinet.h | 3,088 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Wrapper/Cabinet.h | 3,088 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Wrapper/Cabinet.h | 3,088 | 29 | writing.
// ==========================================================================
#pragma once
// Base Error Code. Result from member functions can |
| No | Common/Wrapper/Cabinet.h | 3,088 | 30 | error from 1 to 0xAFFF,
// or an error from 0xB000 and up. Subtract the base from these values to |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 5..9 | Copyright 2015 - 2020
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Wrapper/DllLibrary.cpp | 2,761 | 34 | SUCCESS;
m_hModule = NULL;
//Resolve and add system directory to avoid |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 5..9 | Copyright 2015 - 2020
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Wrapper/DllLibrary.h | 1,837 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Wrapper/Exceptions.h | 3,083 | 5..9 | Copyright 2015 - 2020
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Wrapper/Exceptions.h | 3,083 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Wrapper/Exceptions.h | 3,083 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Wrapper/Exceptions.h | 3,083 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Wrapper/Exceptions.h | 3,083 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Wrapper/Exceptions.h | 3,083 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Wrapper/Exceptions.h | 3,083 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Wrapper/Exceptions.h | 3,083 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Wrapper/Exceptions.h | 3,083 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Wrapper/Exceptions.h | 3,083 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Wrapper/Exceptions.h | 3,083 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Wrapper/pch.h | 2,000 | 5..9 | Copyright 2015 - 2020
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Wrapper/pch.h | 2,000 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Wrapper/pch.h | 2,000 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Wrapper/pch.h | 2,000 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Wrapper/pch.h | 2,000 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Wrapper/pch.h | 2,000 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Wrapper/pch.h | 2,000 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Wrapper/pch.h | 2,000 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Wrapper/pch.h | 2,000 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Wrapper/pch.h | 2,000 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Wrapper/pch.h | 2,000 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 5..9 | Copyright 2015 - 2020
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Common/Wrapper/Wrapper.cpp | 3,180 | 23 | property rights
// must be express and approved by Intel in writing |
| No | I3C/I3C.cpp | 11,858 | 5..9 | Copyright 2015 - 2020
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | I3C/I3C.cpp | 11,858 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | I3C/I3C.cpp | 11,858 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | I3C/I3C.cpp | 11,858 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | I3C/I3C.cpp | 11,858 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | I3C/I3C.cpp | 11,858 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | I3C/I3C.cpp | 11,858 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | I3C/I3C.cpp | 11,858 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | I3C/I3C.cpp | 11,858 | 20 | property right is granted to or conferred upon you by disclosure |
| No | I3C/I3C.cpp | 11,858 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | I3C/I3C.cpp | 11,858 | 23 | property rights
// must be express and approved by Intel in writing |
| No | I3C/I3C.cpp | 11,858 | 58 | provided switch against valid switches and identifies if they expect a |
| No | I3C/I3C.cpp | 11,858 | 100 | temporary function to deal with the current inability of GetVersionEx to |
| No | I3C/I3C.cpp | 11,858 | 194 | SKIPHWCHECK, L"0");
// Check for the minimum required MSI version. Currently |
| No | I3C/I3C.cpp | 11,858 | 199 | requirements are checked here after the MSI check above which is |
| No | I3C/I3C.cpp | 11,858 | 199..200 | MSI check above which is the most critical requirement
// Test the OS requirements as specified in |
| No | I3C/I3C.cpp | 11,858 | 200 | OS requirements as specified in the setup.xml file
if (GetProperties().GetPropertyBool |
| No | I3C/I3C.cpp | 11,858 | 206 | NET requirement as specified in the setup.xml file
if (GetProperties().GetPropertyBool |
| No | I3C/I3C.cpp | 11,858 | 206 | check");
else
m_Configuration.CheckOS();
// Test the .NET requirement as specified in |
| No | I3C/I3C.cpp | 11,858 | 216 | (true);
RescanDevices();
// Check that the current architecture is supported
CheckArchitecture |
| No | I3C/I3C.cpp | 11,858 | 284 | L"Using folder '%s' as the driver source", sDriverFolder.c_str());
// CHardware will throw |
| No | I3C/I3C.cpp | 11,858 | 286 | an INF can't be read or for a folder/enumeration problem |
| No | I3C/I3C.cpp | 11,858 | 294 | create a private property with the
// INF version as it's value |
| No | I3C/I3C.cpp | 11,858 | 296 | TYPE, L"Creating properties for all matching INF's");
it = m_Hardware.m |
| No | I3C/I3C.cpp | 11,858 | 306 | it->second->sName.c_str());
// If the name contains an INF extension |
| No | I3C/I3C.cpp | 11,858 | 306 | extension then it likely is the filename instead of a package |
| No | I3C/I3C.cpp | 11,858 | 307 | package name
// In this case the property name is derived from |
| No | I3C/I3C.cpp | 11,858 | 307 | property name is derived from the filename portion without the extension
if (_wcsicmp(PathFindExtension(szName) |
| No | I3C/I3Crc.h | 1,963 | 5..9 | Copyright 2015 - 2020
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | I3C/I3Crc.h | 1,963 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | I3C/I3Crc.h | 1,963 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | I3C/I3Crc.h | 1,963 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | I3C/I3Crc.h | 1,963 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | I3C/I3Crc.h | 1,963 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | I3C/I3Crc.h | 1,963 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | I3C/I3Crc.h | 1,963 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | I3C/I3Crc.h | 1,963 | 20 | property right is granted to or conferred upon you by disclosure |
| No | I3C/I3Crc.h | 1,963 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | I3C/I3Crc.h | 1,963 | 23 | property rights
// must be express and approved by Intel in writing |
| No | I3C/stdafx.cpp | 1,811 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | I3C/stdafx.cpp | 1,811 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | I3C/stdafx.cpp | 1,811 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | I3C/stdafx.cpp | 1,811 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | I3C/stdafx.cpp | 1,811 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | I3C/stdafx.cpp | 1,811 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | I3C/stdafx.cpp | 1,811 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | I3C/stdafx.cpp | 1,811 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | I3C/stdafx.cpp | 1,811 | 20 | property right is granted to or conferred upon you by disclosure |
| No | I3C/stdafx.cpp | 1,811 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | I3C/stdafx.cpp | 1,811 | 23 | property rights
// must be express and approved by Intel in writing |
| No | I3C/stdafx.cpp | 1,811 | 26 | by Intel in writing.
// ==========================================================================
// stdafx.cpp : source file that includes just the standard includes
// Setup.pch will be |
| No | I3C/stdafx.cpp | 1,811 | 27 | standard includes
// Setup.pch will be the pre-compiled header
// stdafx.obj will |
| No | I3C/stdafx.cpp | 1,811 | 28 | compiled header
// stdafx.obj will contain the pre-compiled type information
#include |
| No | I3C/stdafx.cpp | 1,811 | 33 | headers you need in STDAFX.H
// and not in this file
|
| No | I3C/stdafx.h | 3,135 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | I3C/stdafx.h | 3,135 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | I3C/stdafx.h | 3,135 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | I3C/stdafx.h | 3,135 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | I3C/stdafx.h | 3,135 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | I3C/stdafx.h | 3,135 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | I3C/stdafx.h | 3,135 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | I3C/stdafx.h | 3,135 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | I3C/stdafx.h | 3,135 | 20 | property right is granted to or conferred upon you by disclosure |
| No | I3C/stdafx.h | 3,135 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | I3C/stdafx.h | 3,135 | 23 | property rights
// must be express and approved by Intel in writing |
| No | I3C/stdafx.h | 3,135 | 28 | once
#ifndef WINVER // Specifies that the minimum required platform is Windows |
| No | I3C/stdafx.h | 3,135 | 29 | WINVER 0x0600 // Change this to the appropriate value to target other |
| No | I3C/stdafx.h | 3,135 | 32 | endif
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows |
| No | I3C/stdafx.h | 3,135 | 33 | WIN32_WINNT 0x0600 // Change this to the appropriate value to target other |
| No | I3C/stdafx.h | 3,135 | 36 | endif
#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet |
| No | I3C/stdafx.h | 3,135 | 37 | WIN32_IE 0x0500 // Change this to the appropriate value to target other |
| No | I3C/stdafx.h | 3,135 | 40 | endif
#ifndef _WIN32_MSI // Specifies that the minimum required MSI version is |
| No | I3C/stdafx.h | 3,135 | 41 | WIN32_MSI 400 // Change this to the appropriate value to target other |
| No | I3C/stdafx.h | 3,135 | 44 | of MSI.
#endif
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff |
| No | LPSS/LPSS.cpp | 28,334 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | LPSS/LPSS.cpp | 28,334 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | LPSS/LPSS.cpp | 28,334 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | LPSS/LPSS.cpp | 28,334 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | LPSS/LPSS.cpp | 28,334 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | LPSS/LPSS.cpp | 28,334 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | LPSS/LPSS.cpp | 28,334 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | LPSS/LPSS.cpp | 28,334 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | LPSS/LPSS.cpp | 28,334 | 20 | property right is granted to or conferred upon you by disclosure |
| No | LPSS/LPSS.cpp | 28,334 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | LPSS/LPSS.cpp | 28,334 | 23 | property rights
// must be express and approved by Intel in writing |
| No | LPSS/LPSS.cpp | 28,334 | 50 | make sure that build.proj has the same resource IDs for readmes |
| No | LPSS/LPSS.cpp | 28,334 | 51 | IDs aren't already used by the IIF Core (CoreRes.h),
std::make |
| No | LPSS/LPSS.cpp | 28,334 | 216 | components are marked for install and sets appropriate property
//
bool CLPSSSetup |
| No | LPSS/LPSS.cpp | 28,334 | 228 | it will be enumareted on the components page
returnValue = true;
}
}
return |
| No | LPSS/LPSS.cpp | 28,334 | 236 | provided switch against valid switches and identifies if they
// expect a |
| No | LPSS/LPSS.cpp | 28,334 | 252 | is tagged for install. Override and return false for the INF
// match to be ignored |
| No | LPSS/LPSS.cpp | 28,334 | 409 | missing in real install
//Update the feature states so that the feature list appears in a |
| No | LPSS/LPSS.cpp | 28,334 | 424 | temporary function to deal with the current inability of GetVersionEx to |
| No | LPSS/LPSS.cpp | 28,334 | 516 | SKIPHWCHECK, L"0");
// Check for the minimum required MSI version. Currently |
| No | LPSS/LPSS.cpp | 28,334 | 521..523 | MSI check above which is the most critical
// requirement
// Test the OS requirements as specified in |
| No | LPSS/LPSS.cpp | 28,334 | 521 | requirements are checked here after the MSI check above which is |
| No | LPSS/LPSS.cpp | 28,334 | 523 | OS requirements as specified in the setup.xml file
if (GetProperties().GetPropertyBool |
| No | LPSS/LPSS.cpp | 28,334 | 529 | NET requirement as specified in the setup.xml file
if (GetProperties().GetPropertyBool |
| No | LPSS/LPSS.cpp | 28,334 | 529 | check");
else
m_Configuration.CheckOS();
// Test the .NET requirement as specified in |
| No | LPSS/LPSS.cpp | 28,334 | 539 | (true);
RescanDevices();
// Check that the current architecture is supported
CheckArchitecture |
| No | LPSS/LPSS.cpp | 28,334 | 607 | L"Using folder '%s' as the driver source", sDriverFolder.c_str());
// CHardware will throw |
| No | LPSS/LPSS.cpp | 28,334 | 609 | an INF can't be read or for a folder/enumeration problem |
| No | LPSS/LPSS.cpp | 28,334 | 617 | create a private property with the
// INF version as it's value |
| No | LPSS/LPSS.cpp | 28,334 | 619 | TYPE, L"Creating properties for all matching INF's");
it = m_Hardware.m |
| No | LPSS/LPSS.cpp | 28,334 | 629 | it->second->sName.c_str());
// If the name contains an INF extension |
| No | LPSS/LPSS.cpp | 28,334 | 629 | extension then it likely is the filename instead of a package |
| No | LPSS/LPSS.cpp | 28,334 | 630 | package name
// In this case the property name is derived from |
| No | LPSS/LPSS.cpp | 28,334 | 630 | property name is derived from the filename portion without the extension
if (_wcsicmp(PathFindExtension(szName) |
| No | LPSS/LPSS.cpp | 28,334 | 663 | (dwErrorCode);
RegQueryValueEx(hKey, L"Code", NULL, NULL, (LPBYTE)&dwErrorCode |
| No | LPSS/LPSS.cpp | 28,334 | 669 | bFound = true;
}
RegSetValueEx(hKey, L"Code", 0, REG_DWORD, ERROR_SUCCESS |
| No | LPSS/LPSSrc.h | 1,964 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | LPSS/LPSSrc.h | 1,964 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | LPSS/LPSSrc.h | 1,964 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | LPSS/LPSSrc.h | 1,964 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | LPSS/LPSSrc.h | 1,964 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | LPSS/LPSSrc.h | 1,964 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | LPSS/LPSSrc.h | 1,964 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | LPSS/LPSSrc.h | 1,964 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | LPSS/LPSSrc.h | 1,964 | 20 | property right is granted to or conferred upon you by disclosure |
| No | LPSS/LPSSrc.h | 1,964 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | LPSS/LPSSrc.h | 1,964 | 23 | property rights
// must be express and approved by Intel in writing |
| No | LPSS/stdafx.cpp | 1,811 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | LPSS/stdafx.cpp | 1,811 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | LPSS/stdafx.cpp | 1,811 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | LPSS/stdafx.cpp | 1,811 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | LPSS/stdafx.cpp | 1,811 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | LPSS/stdafx.cpp | 1,811 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | LPSS/stdafx.cpp | 1,811 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | LPSS/stdafx.cpp | 1,811 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | LPSS/stdafx.cpp | 1,811 | 20 | property right is granted to or conferred upon you by disclosure |
| No | LPSS/stdafx.cpp | 1,811 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | LPSS/stdafx.cpp | 1,811 | 23 | property rights
// must be express and approved by Intel in writing |
| No | LPSS/stdafx.cpp | 1,811 | 26 | by Intel in writing.
// ==========================================================================
// stdafx.cpp : source file that includes just the standard includes
// Setup.pch will be |
| No | LPSS/stdafx.cpp | 1,811 | 27 | standard includes
// Setup.pch will be the pre-compiled header
// stdafx.obj will |
| No | LPSS/stdafx.cpp | 1,811 | 28 | compiled header
// stdafx.obj will contain the pre-compiled type information
#include |
| No | LPSS/stdafx.cpp | 1,811 | 33 | headers you need in STDAFX.H
// and not in this file
|
| No | LPSS/stdafx.h | 3,135 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | LPSS/stdafx.h | 3,135 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | LPSS/stdafx.h | 3,135 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | LPSS/stdafx.h | 3,135 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | LPSS/stdafx.h | 3,135 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | LPSS/stdafx.h | 3,135 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | LPSS/stdafx.h | 3,135 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | LPSS/stdafx.h | 3,135 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | LPSS/stdafx.h | 3,135 | 20 | property right is granted to or conferred upon you by disclosure |
| No | LPSS/stdafx.h | 3,135 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | LPSS/stdafx.h | 3,135 | 23 | property rights
// must be express and approved by Intel in writing |
| No | LPSS/stdafx.h | 3,135 | 28 | once
#ifndef WINVER // Specifies that the minimum required platform is Windows |
| No | LPSS/stdafx.h | 3,135 | 29 | WINVER 0x0600 // Change this to the appropriate value to target other |
| No | LPSS/stdafx.h | 3,135 | 32 | endif
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows |
| No | LPSS/stdafx.h | 3,135 | 33 | WIN32_WINNT 0x0600 // Change this to the appropriate value to target other |
| No | LPSS/stdafx.h | 3,135 | 36 | endif
#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet |
| No | LPSS/stdafx.h | 3,135 | 37 | WIN32_IE 0x0500 // Change this to the appropriate value to target other |
| No | LPSS/stdafx.h | 3,135 | 40 | endif
#ifndef _WIN32_MSI // Specifies that the minimum required MSI version is |
| No | LPSS/stdafx.h | 3,135 | 41 | WIN32_MSI 400 // Change this to the appropriate value to target other |
| No | LPSS/stdafx.h | 3,135 | 44 | of MSI.
#endif
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 54 | spv switch that can set the version from: command line, ini |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 54..55 | command line, ini, inf, dll, or exe.
// This deprecates the -cpv, -upv, and -ver switches. Refer to test.proj |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 86 | Writes a formatted line to the console unless silent mode is |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 100..101 | form an absolute path from the
// relative path pszRelPath. The absolute path is placed into |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 100 | pszFormat);
vwprintf(pszFormat,args);
}
}
//****************************************************************************
// Uses the current working directory to form |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 103 | is copied unchanged to
// pszAbsPath. The location pszAbsPath must be at |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 119 | Makes a unique copy of the file pszSource by appending n.back |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 120 | where
// n is a number. The copy is created in the same folder as pszSource
DWORD |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 178 | with valid strings ID's 16 and 31;
// ID 16 - 03 O |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 215 | initially. Count will increase as the string is processed
LPWSTR pSize |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 216 | pCurDest; // Save location that stores the length
LPWSTR pEnd = pCurSource + (*pCurSource |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 217 | NULL-terminated so this is the address to stop at
pCurDest |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 225 | symbol
pCurSource += 3; // Advance over the "(R)" string
(*pSize)++;
}
else |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 232 | symbol
pCurSource += 4; // Advance over the "(R)" string
(*pSize)++;
}
else |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 286 | dwError = GetLastError();
return dwError;
}
//****************************************************************************
// Takes the file at pszSource and embeds it into pszTarget as |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 287 | into pszTarget as a resource.
// The ID is provided via nID |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 288 | pszTarget must be an EXE or DLL file.
DWORD Embed(LPCWSTR |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 300 | DWORD dwFileSize;
LPVOID pBuffer;
// Get the last access and last write timestamps in order |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 359 | 30, pszVersion);
// Load target file and read existing version info. Version |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 388 | this point we have read the version resource
DWORD dwHi = 0 |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 399 | vr.Assemble(newVersionResource);
// Write back the updated version resource
HANDLE hRes |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 415..416 | null. If not, then trim the leading
// and trailing whitespace. If after this |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 415 | First check to see if the pointer is null. If not |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 417 | operation string.empty returns true,
// then the string is truly empty.
bool |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 443 | dwSize = 0;
// Load target file and read existing version info. Version |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 506 | vr.Assemble(newVersionResource);
// Write back the updated version resource
HANDLE hRes |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 534 | return dwError;
}
// See what form the version is provided as
if |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 571 | dwLo));
}
else
{
Write(L"Version source '%s' is unknown",g_Config.szInFile |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 598 | dwError;
}
#pragma endregion NEW
//****************************************************************************
// Parses the command line to determine the operation mode along with any |
| No | Tools/BuildTool/BuildTool.cpp | 21,910 | 735 | This section deprecates MODE_COPYPRODUCTVERSION and MODE_UPDATEPRODUCTVERSION
case Configuration::MODE |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/BuildTool/MemoryBlock.h | 4,180 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/BuildTool/resource.h | 1,925 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/BuildTool/resource.h | 1,925 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/BuildTool/resource.h | 1,925 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/BuildTool/resource.h | 1,925 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/BuildTool/resource.h | 1,925 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/BuildTool/resource.h | 1,925 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/BuildTool/resource.h | 1,925 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/BuildTool/resource.h | 1,925 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/BuildTool/resource.h | 1,925 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/BuildTool/resource.h | 1,925 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/BuildTool/resource.h | 1,925 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 26 | by Intel in writing.
// ==========================================================================
// stdafx.cpp : source file that includes just the standard includes
// BuildTool.pch will be |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 27 | standard includes
// BuildTool.pch will be the pre-compiled header
// stdafx.obj will |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 28 | compiled header
// stdafx.obj will contain the pre-compiled type information
#include |
| No | Tools/BuildTool/stdafx.cpp | 1,818 | 33 | headers you need in STDAFX.H
// and not in this file
|
| No | Tools/BuildTool/stdafx.h | 1,799 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/BuildTool/stdafx.h | 1,799 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/BuildTool/stdafx.h | 1,799 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/BuildTool/stdafx.h | 1,799 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/BuildTool/stdafx.h | 1,799 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/BuildTool/stdafx.h | 1,799 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/BuildTool/stdafx.h | 1,799 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/BuildTool/stdafx.h | 1,799 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/BuildTool/stdafx.h | 1,799 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/BuildTool/stdafx.h | 1,799 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/BuildTool/stdafx.h | 1,799 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/BuildTool/targetver.h | 1,836 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/BuildTool/targetver.h | 1,836 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/BuildTool/targetver.h | 1,836 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/BuildTool/targetver.h | 1,836 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/BuildTool/targetver.h | 1,836 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/BuildTool/targetver.h | 1,836 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/BuildTool/targetver.h | 1,836 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/BuildTool/targetver.h | 1,836 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/BuildTool/targetver.h | 1,836 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/BuildTool/targetver.h | 1,836 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/BuildTool/targetver.h | 1,836 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/BuildTool/targetver.h | 1,836 | 28 | pragma once
// Including SDKDDKVer.h defines the highest available Windows platform.
// If |
| No | Tools/BuildTool/targetver.h | 1,836 | 30..31 | previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/BuildTool/VersionRes.h | 8,159 | 120 | Fill in after writing "StringFileInfo" and children
vh2.wValueLength = 0;
vh2.wType = 1 |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 4..7 | (c) 2011 Intel Corporation
#// All rights reserved.
#//
#// The source code contained or described herein and all documents related to
#// the source code ("Material") are owned by Intel |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 7..8 | are owned by Intel Corporation or its suppliers
#// or licensors. Title to the Material remains with Intel Corporation |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 8..11 | Material remains with Intel Corporation or its
#// suppliers and licensors. The Material contains trade secrets and
#// proprietary and confidential information of Intel or its suppliers and
#// licensors. The Material is protected by worldwide |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 11..12 | is protected by worldwide copyright and trade
#// secret laws and treaty provisions. No part of |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 12 | treaty provisions. No part of the Material may be used,
#// copied |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 14 | published, uploaded, posted, transmitted,
#// distributed, or disclosed in any way without |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 17 | any patent, copyright, trade secret or other intellectual
#// property right is |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 18..19 | conferred upon you by disclosure or delivery
#// of the Materials, either expressly, by implication |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 18 | property right is granted to or conferred upon you by disclosure |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 19 | expressly, by implication, inducement, estoppel or
#// otherwise. Any license under such |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 21 | property rights must be
#// express and approved by Intel in writing |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 29..30 | which language should be considered the
# 'source' language. EN is the default when not specified.
#
# Apr |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 29 | arguments for Usage information.
#
# Use the --lang option to specify which |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 47 | segment rules
my $src_lang;
# The translation is always the segment that is NOT this |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 92..93 | None.
#; Description: This function reads the SRX, and stores the rules into
#; the @break_y and @break_n arrays. Each |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 94 | patterns for a "yes break" or "no break".
sub _parse_srx |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 94 | array of 2-dim arrays
#; containing the before & after patterns for a |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 102 | parser->parse_file($filename);
1;
} or croak("Unable to parse $filename |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 111 | @break_y; $i++) {
# Concat the before/after patterns, and capture them...
my $r = $break |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 121 | @break_n; $i++) {
# Concat the before/after patterns, and capture them...
my $r = $break |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 135 | array of 'rule' nodes from the SRX
#; $rules_array_ref is |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 136 | SRX
#; $rules_array_ref is the target perl array for those |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 138..139 | helper for _parse_srx. Convert the nodes from
#; the SRX file into a standard |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 140 | of arrays.
#; Each element contains the [before, after] patterns.
sub read |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 170 | normalize_u( $text)
#; Usage:
#; SRX and perl mostly share the same regex syntax, but have |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 171 | character should be specified in code.
#
#; SRX uses hex notation \x |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 188..189 | None.
#; Description: This function reads the TMX into the DOM.
#; Loops through the TUs, passing each TU to |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 189..190 | TUs, passing each TU to the _parse_tu subroutine.
#; The updated DOM is ouput to |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 198 | parser->parse_file($filename);
1;
} or croak("Unable to parse $filename |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 214 | is a TU node from the TMX DOM.
#; Return: None.
#; Description |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 216..218 | DOM.
#; Return: None.
#; Description: Takes the $tu argument, extracts the text for the source
#; and translation, and attempts to segment the text.
#; If both the source and translation text can be segmented |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 220 | which is then added to the DOM.
#;
sub _parse_tu {
my |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 223..225 | sub _parse_tu {
my ($node_source) = @_;
# All three of these are array |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 225 | these are array references. See the subs for the return values.
my $seg_nodes |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 226 | nodes = _get_seg_nodes($node_source);
return if not defined($seg |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 233..234 | are at least 2 segments, and the source and translation segment
# counts are the same...
if (@{$a_src} >= 2 |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 239 | i++) {
# Copy our original Node and modify it...
my $node_copy |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 240 | it...
my $node_copy = $node_source->cloneNode(1);
my $copy |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 249 | a_tra->[$i]);
# '0' is the source node,'1' is the translation...
$copy_seg_nodes->[0 |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 258..259 | setAttribute( "tuid", $tuid . "." . $i);
}
# Add the copy...
$node_source->addSibling($node_copy);
}
}
}
#;------------------------------------------------
#; Name: _get |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 268 | is a TU node form the TMX file.
#; Return: An array |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 269..270 | file.
#; Return: An array reference. The first element is the seg for $src_lang.
#; The second is for the translation.
#; Description: Given a TU |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 271 | Given a TU node from the DOM, returns a reference to |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 272 | reference to an array
#; containing the seg node for the $src_lang first, translation second |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 282 | much(!!!) faster to use 'childNodes()' and then grep for elements...
my |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 306 | is a string of one or more sentences.
#; Return: A reference |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 307 | reference to an array containing the segmented parts of the
#; original text.
#; Description: Segmentation is |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 309 | Description: Segmentation is performed using the rules from the SRX.
#;
sub _segment_text {
my |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 326 | r (@break_y) {
# Concat the before/after patterns, and capture them...
while ($text =~ /$r |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 341 | overwrites a true if present...
}
}
# The end of the string is always an implicit |
| No | Tools/IIDS_4.0.238/tmx_resegmenter.pl | 11,622 | 344 | 1;
# This loop breaks up the text where we have "true |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/UnUsed/LaunchDelay/LaunchDelay.cpp | 2,544 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/UnUsed/LaunchDelay/resource.h | 1,927 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/UnUsed/LaunchDelay/stdafx.h | 1,580 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 39 | const string Transform2IncludeFilename = "Transform2Include.xslt";
/// <summary>
/// The main entry point to the application.
/// </summary>
static int Main |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 45 | of args is not 2, or if any of them are |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 45 | of them are null, empty, or whitespace only...
if (args.Length != 2 |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 45 | Main(string[] args)
{
try
{
// If the number of args is not |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 48 | string.IsNullOrWhiteSpace(arg)))
{
// ...then output the correct usage,
PrintUsage();
}
// ...otherwise, run |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 54 | run reg2wix.
else
{
// Ensure that the input file exists.
if (!File.Exists |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 79 | null);
return 1;
}
}
/// <summary>
/// Prints the usage scenario to the console.
/// </summary>
private static void |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 96 | parsing out comments, empty lines, and [TODO] unsupported values.
string tempRegFile |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 102 | wxi).
RunHeat(tempRegFile, wixFilename);
// Delete the temporary reg files with the filtered content.
DeleteTempFiles(tempRegFile |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 122 | false,
RedirectStandardOutput = true
};
// Run heat.exe and redirect its output to this |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 139 | a temporary file to store the filtered reg key file content |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 146 | tempRegFile = GetTempRegFilename(regFilename);
// Get the filtered content of the original reg file.
string[] regFileLines |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 149 | regFileLines = GetFilteredRegContent(regFilename);
// Copy the reg file content to the temporary reg file.
try
{ CreateFile |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 153 | An error occurred while writing the temporary registry file.", exc); }
return |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 160 | a temporary reg
/// file in the same directory as the original reg file.
/// </summary>
private |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 168 | try
{
string regFileDir, tempRegFilename;
// Get the directory where the input reg file is located |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 186 | key filename.", exc); }
}
/// <summary>
/// Gets the content of the specified file, filtering out
/// lines |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 187 | filtering out
/// lines containing comments and unsupported values.
/// </summary>
private static |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 202 | start of a registry key or else heat.exe will not read |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 202 | Place an empty line before the start of a registry key |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 202 | else heat.exe will not read the file correctly.
if (line.StartsWith("["))
lines.Add |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 207..208 | colon, then it's a comment and will break heat.exe.
// If the line is empty and there are more values for |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 207 | for different value types.
// If the line begins with a semi |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 208 | there are more values for the same key below, heat.exe will |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 219 | An error occurred while reading the registry file.", exc); }
}
/// <summary>
/// Gets |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 223 | registry file.", exc); }
}
/// <summary>
/// Gets the path to the transform in the same directory as this executable |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 229 | static string GetTransformFilename()
{
try
{
// Get the directory containing the current running executable (this one |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 232 | Directory.GetParent(Process.GetCurrentProcess().MainModule.FileName).FullName;
// Get the full path to the xsl file in the same directory.
string transformFilename = Path.Combine |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 243 | An error occurred while retrieving the transform xsl file location.", exc |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 247 | file location.", exc); }
}
/// <summary>
/// Gets the path to the executable for the WiX Heat extension.
/// </summary>
private |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 286 | was not found installed on the system.");
}
catch (FileNotFoundException)
{ throw |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 291 | An error occurred while retrieving the WiX Heat extension location.", exc |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 295 | extension location.", exc); }
}
/// <summary>
/// Deletes the specified files.
/// </summary>
private static |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 299 | DeleteTempFiles(params string[] files)
{
// Delete the specified files.
foreach (var file |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 307 | An error occurred while deleting the temporary file at: " + file, exc |
| No | Tools/UnUsed/Reg2WiX/Program.cs | 10,874 | 312 | summary>
/// Creates a file with the specified content.
/// </summary>
/// <remarks>Not |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 5..9 | Copyright 2005 - 2015
// Intel Corporation All Rights Reserved.
//
// =========================================================================
// The source code contained or described herein and all documents
// related to the source code ("Material") are owned by Intel |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 10 | are owned by Intel Corporation
// or its suppliers or licensors. Title to the Material remains with
// Intel Corporation |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 11..13 | Material remains with
// Intel Corporation or its suppliers and licensors. The Material contains
// trade secrets and proprietary and confidential information of Intel or
// its suppliers and licensors. The Material is protected by worldwide |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 14 | is protected by worldwide
// copyright and trade secret laws and treaty provisions. No part of |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 14 | treaty provisions. No part of the
// Material may be used, copied |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 16 | published, uploaded,
// posted, transmitted, distributed, or disclosed in any way without |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 19 | any patent, copyright, trade secret or other intellectual
// property right is |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 20 | property right is granted to or conferred upon you by disclosure |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 20..21 | conferred upon you by disclosure or
// delivery of the Materials, either expressly, by implication |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 22 | expressly, by implication, inducement,
// estoppel or otherwise. Any license under such |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 23 | property rights
// must be express and approved by Intel in writing |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 30 | an assembly is controlled through the following
// set of attributes. Change |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 31 | these attribute values to modify the information
// associated with an assembly |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 42 | Setting ComVisible to false makes the types in this assembly not |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 44 | this assembly from
// COM, set the ComVisible attribute to true on |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 47 | type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 50 | for an assembly consists of the following four values:
//
// Major Version |
| No | Tools/UnUsed/Reg2WiX/Properties/AssemblyInfo.cs | 2,945 | 57..58 | Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion |