From bd3ee565f342bc0bb015594f303d13b67285a958 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Thu, 23 Apr 2020 12:17:32 +1000 Subject: Update ManagedHost tests to run off of a bundle. --- src/wixstdba/WixStandardBootstrapperApplication.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wixstdba') 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( HRESULT hr = S_OK; CWixStandardBootstrapperApplication* pApplication = NULL; + if (BOOTSTRAPPER_DISPLAY_UNKNOWN == pArgs->pCommand->display) + { + ExitOnFailure(hr = E_INVALIDARG, "Engine requested Unknown display type."); + } + pApplication = new CWixStandardBootstrapperApplication(hModule, fPrereq, hrHostInitialization, pEngine, pArgs); ExitOnNull(pApplication, hr, E_OUTOFMEMORY, "Failed to create new standard bootstrapper application object."); -- cgit v1.2.3-55-g6feb