diff options
Diffstat (limited to 'src/wixstdba/WixStandardBootstrapperApplication.cpp')
-rw-r--r-- | src/wixstdba/WixStandardBootstrapperApplication.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wixstdba/WixStandardBootstrapperApplication.cpp b/src/wixstdba/WixStandardBootstrapperApplication.cpp index 4aef8ce5..88a26534 100644 --- a/src/wixstdba/WixStandardBootstrapperApplication.cpp +++ b/src/wixstdba/WixStandardBootstrapperApplication.cpp | |||
@@ -3752,6 +3752,11 @@ HRESULT CreateBootstrapperApplication( | |||
3752 | HRESULT hr = S_OK; | 3752 | HRESULT hr = S_OK; |
3753 | CWixStandardBootstrapperApplication* pApplication = NULL; | 3753 | CWixStandardBootstrapperApplication* pApplication = NULL; |
3754 | 3754 | ||
3755 | if (BOOTSTRAPPER_DISPLAY_UNKNOWN == pArgs->pCommand->display) | ||
3756 | { | ||
3757 | ExitOnFailure(hr = E_INVALIDARG, "Engine requested Unknown display type."); | ||
3758 | } | ||
3759 | |||
3755 | pApplication = new CWixStandardBootstrapperApplication(hModule, fPrereq, hrHostInitialization, pEngine, pArgs); | 3760 | pApplication = new CWixStandardBootstrapperApplication(hModule, fPrereq, hrHostInitialization, pEngine, pArgs); |
3756 | ExitOnNull(pApplication, hr, E_OUTOFMEMORY, "Failed to create new standard bootstrapper application object."); | 3761 | ExitOnNull(pApplication, hr, E_OUTOFMEMORY, "Failed to create new standard bootstrapper application object."); |
3757 | 3762 | ||