diff options
Diffstat (limited to 'src/ext/Bal/wixprqba/wixprqba.cpp')
-rw-r--r-- | src/ext/Bal/wixprqba/wixprqba.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/ext/Bal/wixprqba/wixprqba.cpp b/src/ext/Bal/wixprqba/wixprqba.cpp new file mode 100644 index 00000000..c6e5dfef --- /dev/null +++ b/src/ext/Bal/wixprqba/wixprqba.cpp | |||
@@ -0,0 +1,25 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | #include "precomp.h" | ||
4 | |||
5 | EXTERN_C int WINAPI wWinMain( | ||
6 | __in HINSTANCE hInstance, | ||
7 | __in_opt HINSTANCE /* hPrevInstance */, | ||
8 | __in_z_opt LPWSTR /*lpCmdLine*/, | ||
9 | __in int /*nCmdShow*/ | ||
10 | ) | ||
11 | { | ||
12 | HRESULT hr = S_OK; | ||
13 | IBootstrapperApplication* pApplication = NULL; | ||
14 | |||
15 | hr = CreateWixPrerequisiteBootstrapperApplication(hInstance, &pApplication); | ||
16 | ExitOnFailure(hr, "Failed to create WiX prerequisite bootstrapper application."); | ||
17 | |||
18 | hr = BootstrapperApplicationRun(pApplication); | ||
19 | ExitOnFailure(hr, "Failed to run WiX prerequisite bootstrapper application."); | ||
20 | |||
21 | LExit: | ||
22 | ReleaseObject(pApplication); | ||
23 | |||
24 | return 0; | ||
25 | } | ||