aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Bal/wixprqba
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Bal/wixprqba')
-rw-r--r--src/ext/Bal/wixprqba/precomp.cpp3
-rw-r--r--src/ext/Bal/wixprqba/precomp.h47
-rw-r--r--src/ext/Bal/wixprqba/wixprqba.cpp25
-rw-r--r--src/ext/Bal/wixprqba/wixprqba.rc1
-rw-r--r--src/ext/Bal/wixprqba/wixprqba.vcxproj90
5 files changed, 166 insertions, 0 deletions
diff --git a/src/ext/Bal/wixprqba/precomp.cpp b/src/ext/Bal/wixprqba/precomp.cpp
new file mode 100644
index 00000000..37664a1c
--- /dev/null
+++ b/src/ext/Bal/wixprqba/precomp.cpp
@@ -0,0 +1,3 @@
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"
diff --git a/src/ext/Bal/wixprqba/precomp.h b/src/ext/Bal/wixprqba/precomp.h
new file mode 100644
index 00000000..8844d150
--- /dev/null
+++ b/src/ext/Bal/wixprqba/precomp.h
@@ -0,0 +1,47 @@
1#pragma once
2// 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.
3
4
5#include <windows.h>
6
7#pragma warning(push)
8#pragma warning(disable:4458) // declaration of 'xxx' hides class member
9#include <gdiplus.h>
10#pragma warning(pop)
11
12#include <msiquery.h>
13#include <objbase.h>
14#include <shlobj.h>
15#include <shlwapi.h>
16#include <stdlib.h>
17#include <strsafe.h>
18#include <stddef.h>
19
20#include <dutil.h>
21#include <apputil.h>
22#include <memutil.h>
23#include <dictutil.h>
24#include <dirutil.h>
25#include <fileutil.h>
26#include <locutil.h>
27#include <logutil.h>
28#include <pathutil.h>
29#include <resrutil.h>
30#include <shelutil.h>
31#include <strutil.h>
32#include <wndutil.h>
33#include <thmutil.h>
34#include <verutil.h>
35#include <uriutil.h>
36#include <xmlutil.h>
37
38#include <IBootstrapperEngine.h>
39#include <IBootstrapperApplication.h>
40
41#include <balutil.h>
42#include <balinfo.h>
43#include <balcondition.h>
44
45#include <BAFunctions.h>
46
47#include "WixStandardBootstrapperApplication.h"
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
5EXTERN_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
21LExit:
22 ReleaseObject(pApplication);
23
24 return 0;
25}
diff --git a/src/ext/Bal/wixprqba/wixprqba.rc b/src/ext/Bal/wixprqba/wixprqba.rc
new file mode 100644
index 00000000..a029458e
--- /dev/null
+++ b/src/ext/Bal/wixprqba/wixprqba.rc
@@ -0,0 +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.
diff --git a/src/ext/Bal/wixprqba/wixprqba.vcxproj b/src/ext/Bal/wixprqba/wixprqba.vcxproj
new file mode 100644
index 00000000..b992fe14
--- /dev/null
+++ b/src/ext/Bal/wixprqba/wixprqba.vcxproj
@@ -0,0 +1,90 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- 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. -->
3
4<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
5 <ItemGroup Label="ProjectConfigurations">
6 <ProjectConfiguration Include="Debug|ARM64">
7 <Configuration>Debug</Configuration>
8 <Platform>ARM64</Platform>
9 </ProjectConfiguration>
10 <ProjectConfiguration Include="Release|ARM64">
11 <Configuration>Release</Configuration>
12 <Platform>ARM64</Platform>
13 </ProjectConfiguration>
14 <ProjectConfiguration Include="Debug|Win32">
15 <Configuration>Debug</Configuration>
16 <Platform>Win32</Platform>
17 </ProjectConfiguration>
18 <ProjectConfiguration Include="Release|Win32">
19 <Configuration>Release</Configuration>
20 <Platform>Win32</Platform>
21 </ProjectConfiguration>
22 <ProjectConfiguration Include="Debug|x64">
23 <Configuration>Debug</Configuration>
24 <Platform>x64</Platform>
25 </ProjectConfiguration>
26 <ProjectConfiguration Include="Release|x64">
27 <Configuration>Release</Configuration>
28 <Platform>x64</Platform>
29 </ProjectConfiguration>
30 </ItemGroup>
31
32 <PropertyGroup Label="Globals">
33 <ProjectGuid>{662B4347-1BC1-4042-B628-EC92B1158F4F}</ProjectGuid>
34 <Keyword>Win32Proj</Keyword>
35 <ConfigurationType>Application</ConfigurationType>
36 <ProjectSubSystem>Windows</ProjectSubSystem>
37 <CharacterSet>Unicode</CharacterSet>
38 <Description>WiX Prerequisite Bootstrapper Application</Description>
39 </PropertyGroup>
40
41 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
42 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
43
44 <ImportGroup Label="ExtensionSettings">
45 </ImportGroup>
46
47 <ImportGroup Label="Shared">
48 </ImportGroup>
49
50 <PropertyGroup>
51 <ProjectAdditionalIncludeDirectories>$(ProjectDir)..\stdbas\inc</ProjectAdditionalIncludeDirectories>
52 <ProjectAdditionalLinkLibraries>comctl32.lib;gdiplus.lib;rpcrt4.lib;shlwapi.lib;wininet.lib;stdbas.res</ProjectAdditionalLinkLibraries>
53 </PropertyGroup>
54
55 <ItemDefinitionGroup>
56 <Link>
57 <DelayLoadDLLs>comctl32.dll;gdiplus.dll;shlwapi.dll;version.dll;wininet.dll</DelayLoadDLLs>
58 <AdditionalOptions>/DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)</AdditionalOptions>
59 </Link>
60 </ItemDefinitionGroup>
61
62 <ItemGroup>
63 <ClInclude Include="precomp.h" />
64 <ClInclude Include="resource.h" />
65 </ItemGroup>
66 <ItemGroup>
67 <ClCompile Include="precomp.cpp">
68 <PrecompiledHeader>Create</PrecompiledHeader>
69 </ClCompile>
70 <ClCompile Include="wixprqba.cpp" />
71 </ItemGroup>
72
73 <ItemGroup>
74 <Manifest Include="..\stdbas\stdbas.manifest" />
75 <ResourceCompile Include="wixprqba.rc" />
76 </ItemGroup>
77
78 <ItemGroup>
79 <ProjectReference Include="..\stdbas\stdbas.vcxproj">
80 <Project>{DBBF5F32-BAEA-46A8-99A0-17277A906456}</Project>
81 </ProjectReference>
82 </ItemGroup>
83
84 <ItemGroup>
85 <PackageReference Include="WixToolset.BalUtil" />
86 <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
87 </ItemGroup>
88
89 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
90</Project>