diff options
Diffstat (limited to 'src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp')
| -rw-r--r-- | src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp index c1e8b2b3..74c6b4db 100644 --- a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp +++ b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp | |||
| @@ -3420,7 +3420,7 @@ private: | |||
| 3420 | 3420 | ||
| 3421 | 3421 | ||
| 3422 | static LRESULT CallDefaultWndProc( | 3422 | static LRESULT CallDefaultWndProc( |
| 3423 | __in CWixStandardBootstrapperApplication* pBA, | 3423 | __in_opt CWixStandardBootstrapperApplication* pBA, |
| 3424 | __in HWND hWnd, | 3424 | __in HWND hWnd, |
| 3425 | __in UINT uMsg, | 3425 | __in UINT uMsg, |
| 3426 | __in WPARAM wParam, | 3426 | __in WPARAM wParam, |
| @@ -3824,7 +3824,7 @@ private: | |||
| 3824 | 3824 | ||
| 3825 | SetState(WIXSTDBA_STATE_PLANNING, hr); | 3825 | SetState(WIXSTDBA_STATE_PLANNING, hr); |
| 3826 | 3826 | ||
| 3827 | hr = m_pEngine->Plan(action); | 3827 | hr = m_pEngine->Plan(action, BOOTSTRAPPER_SCOPE_DEFAULT/*TODO*/); |
| 3828 | BalExitOnFailure(hr, "Failed to start planning packages."); | 3828 | BalExitOnFailure(hr, "Failed to start planning packages."); |
| 3829 | 3829 | ||
| 3830 | LExit: | 3830 | LExit: |
| @@ -3848,7 +3848,7 @@ private: | |||
| 3848 | 3848 | ||
| 3849 | SetState(WIXSTDBA_STATE_PLANNING_PREREQS, hr); | 3849 | SetState(WIXSTDBA_STATE_PLANNING_PREREQS, hr); |
| 3850 | 3850 | ||
| 3851 | hr = m_pEngine->Plan(action); | 3851 | hr = m_pEngine->Plan(action, BOOTSTRAPPER_SCOPE_DEFAULT); |
| 3852 | BalExitOnFailure(hr, "Failed to start planning prereq packages."); | 3852 | BalExitOnFailure(hr, "Failed to start planning prereq packages."); |
| 3853 | 3853 | ||
| 3854 | LExit: | 3854 | LExit: |
| @@ -4546,6 +4546,8 @@ LExit: | |||
| 4546 | __out DWORD* pdwPageId | 4546 | __out DWORD* pdwPageId |
| 4547 | ) | 4547 | ) |
| 4548 | { | 4548 | { |
| 4549 | *pdwPageId = 0; | ||
| 4550 | |||
| 4549 | if (BOOTSTRAPPER_DISPLAY_PASSIVE == m_commandDisplay) | 4551 | if (BOOTSTRAPPER_DISPLAY_PASSIVE == m_commandDisplay) |
| 4550 | { | 4552 | { |
| 4551 | switch (state) | 4553 | switch (state) |
| @@ -4574,10 +4576,6 @@ LExit: | |||
| 4574 | case WIXSTDBA_STATE_EXECUTED: | 4576 | case WIXSTDBA_STATE_EXECUTED: |
| 4575 | *pdwPageId = m_rgdwPageIds[WIXSTDBA_PAGE_PROGRESS_PASSIVE] ? m_rgdwPageIds[WIXSTDBA_PAGE_PROGRESS_PASSIVE] : m_rgdwPageIds[WIXSTDBA_PAGE_PROGRESS]; | 4577 | *pdwPageId = m_rgdwPageIds[WIXSTDBA_PAGE_PROGRESS_PASSIVE] ? m_rgdwPageIds[WIXSTDBA_PAGE_PROGRESS_PASSIVE] : m_rgdwPageIds[WIXSTDBA_PAGE_PROGRESS]; |
| 4576 | break; | 4578 | break; |
| 4577 | |||
| 4578 | default: | ||
| 4579 | *pdwPageId = 0; | ||
| 4580 | break; | ||
| 4581 | } | 4579 | } |
| 4582 | } | 4580 | } |
| 4583 | else if (BOOTSTRAPPER_DISPLAY_FULL == m_commandDisplay) | 4581 | else if (BOOTSTRAPPER_DISPLAY_FULL == m_commandDisplay) |
