diff options
| author | Rob Mensching <rob@firegiant.com> | 2024-03-21 00:59:21 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2024-03-21 13:07:14 -0700 |
| commit | 90cdebbe94c7f60db86965ffb97d9ba51d0bc9fc (patch) | |
| tree | 8701442f92b68fc5d7d24ebc09449419b6824cd5 | |
| parent | a2b75ebed82be8c488f2840c359a512e865d682c (diff) | |
| download | wix-90cdebbe94c7f60db86965ffb97d9ba51d0bc9fc.tar.gz wix-90cdebbe94c7f60db86965ffb97d9ba51d0bc9fc.tar.bz2 wix-90cdebbe94c7f60db86965ffb97d9ba51d0bc9fc.zip | |
Simplify BootstrapperApplication header files
Take this breaking change opportunity to simplify the header files used by
BA devs.
34 files changed, 75 insertions, 154 deletions
diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/WixToolset.BootstrapperApplicationApi.nuspec b/src/api/burn/WixToolset.BootstrapperApplicationApi/WixToolset.BootstrapperApplicationApi.nuspec index 22099635..4c850cdf 100644 --- a/src/api/burn/WixToolset.BootstrapperApplicationApi/WixToolset.BootstrapperApplicationApi.nuspec +++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/WixToolset.BootstrapperApplicationApi.nuspec | |||
| @@ -37,8 +37,8 @@ | |||
| 37 | <file src="v143\x86\mbanative.dll" target="runtimes\win-x86\native" /> | 37 | <file src="v143\x86\mbanative.dll" target="runtimes\win-x86\native" /> |
| 38 | 38 | ||
| 39 | <file src="$projectFolder$\..\balutil\inc\*" target="build\native\include" /> | 39 | <file src="$projectFolder$\..\balutil\inc\*" target="build\native\include" /> |
| 40 | <file src="$projectFolder$\..\inc\BootstrapperApplication.h" target="build\native\include" /> | 40 | <file src="$projectFolder$\..\inc\BootstrapperApplicationTypes.h" target="build\native\include" /> |
| 41 | <file src="$projectFolder$\..\inc\BootstrapperEngine.h" target="build\native\include" /> | 41 | <file src="$projectFolder$\..\inc\BootstrapperEngineTypes.h" target="build\native\include" /> |
| 42 | <file src="v141\x86\balutil.lib" target="build\native\v14\x86" /> | 42 | <file src="v141\x86\balutil.lib" target="build\native\v14\x86" /> |
| 43 | <file src="v141\x64\balutil.lib" target="build\native\v14\x64" /> | 43 | <file src="v141\x64\balutil.lib" target="build\native\v14\x64" /> |
| 44 | <file src="v141\ARM64\balutil.lib" target="build\native\v14\ARM64" /> | 44 | <file src="v141\ARM64\balutil.lib" target="build\native\v14\ARM64" /> |
diff --git a/src/api/burn/balutil/balutil.cpp b/src/api/burn/balutil/balutil.cpp index 7f774b6c..5d8bfa9c 100644 --- a/src/api/burn/balutil/balutil.cpp +++ b/src/api/burn/balutil/balutil.cpp | |||
| @@ -38,7 +38,7 @@ static void MsgProc( | |||
| 38 | 38 | ||
| 39 | // prototypes | 39 | // prototypes |
| 40 | 40 | ||
| 41 | DAPI_(HRESULT) BootstrapperApplicationRun( | 41 | EXTERN_C HRESULT __stdcall BootstrapperApplicationRun( |
| 42 | __in IBootstrapperApplication* pApplication | 42 | __in IBootstrapperApplication* pApplication |
| 43 | ) | 43 | ) |
| 44 | { | 44 | { |
diff --git a/src/api/burn/balutil/balutil.vcxproj b/src/api/burn/balutil/balutil.vcxproj index 7d539b5b..2b0fd23f 100644 --- a/src/api/burn/balutil/balutil.vcxproj +++ b/src/api/burn/balutil/balutil.vcxproj | |||
| @@ -63,7 +63,7 @@ | |||
| 63 | <ClCompile Include="msg.cpp" /> | 63 | <ClCompile Include="msg.cpp" /> |
| 64 | </ItemGroup> | 64 | </ItemGroup> |
| 65 | <ItemGroup> | 65 | <ItemGroup> |
| 66 | <ClInclude Include="inc\BalBaseBootstrapperApplication.h" /> | 66 | <ClInclude Include="inc\BootstrapperApplicationBase.h" /> |
| 67 | <ClInclude Include="inc\balcondition.h" /> | 67 | <ClInclude Include="inc\balcondition.h" /> |
| 68 | <ClInclude Include="inc\balinfo.h" /> | 68 | <ClInclude Include="inc\balinfo.h" /> |
| 69 | <ClInclude Include="inc\balretry.h" /> | 69 | <ClInclude Include="inc\balretry.h" /> |
diff --git a/src/api/burn/balutil/inc/BootstrapperApplication.h b/src/api/burn/balutil/inc/BootstrapperApplication.h new file mode 100644 index 00000000..d11fccf0 --- /dev/null +++ b/src/api/burn/balutil/inc/BootstrapperApplication.h | |||
| @@ -0,0 +1,21 @@ | |||
| 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 | #include "IBootstrapperApplication.h" | ||
| 5 | |||
| 6 | #if defined(__cplusplus) | ||
| 7 | extern "C" { | ||
| 8 | #endif | ||
| 9 | |||
| 10 | /******************************************************************* | ||
| 11 | BootstrapperApplicationRun - runs the IBootstrapperApplication until | ||
| 12 | the application quits. | ||
| 13 | |||
| 14 | ********************************************************************/ | ||
| 15 | HRESULT __stdcall BootstrapperApplicationRun( | ||
| 16 | __in IBootstrapperApplication* pApplication | ||
| 17 | ); | ||
| 18 | |||
| 19 | #if defined(__cplusplus) | ||
| 20 | } | ||
| 21 | #endif | ||
diff --git a/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h b/src/api/burn/balutil/inc/BootstrapperApplicationBase.h index 09f1f7a2..a3a3643f 100644 --- a/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h +++ b/src/api/burn/balutil/inc/BootstrapperApplicationBase.h | |||
| @@ -9,9 +9,9 @@ | |||
| 9 | #include "balinfo.h" | 9 | #include "balinfo.h" |
| 10 | #include "balretry.h" | 10 | #include "balretry.h" |
| 11 | 11 | ||
| 12 | #define CBalBaseBootstrapperApplication CBootstrapperApplication | 12 | #define CBalBaseBootstrapperApplication CBootstrapperApplicationBase |
| 13 | 13 | ||
| 14 | class CBootstrapperApplication : public IBootstrapperApplication | 14 | class CBootstrapperApplicationBase : public IBootstrapperApplication |
| 15 | { | 15 | { |
| 16 | public: // IUnknown | 16 | public: // IUnknown |
| 17 | virtual STDMETHODIMP QueryInterface( | 17 | virtual STDMETHODIMP QueryInterface( |
| @@ -1187,7 +1187,7 @@ protected: | |||
| 1187 | return m_fCanceled; | 1187 | return m_fCanceled; |
| 1188 | } | 1188 | } |
| 1189 | 1189 | ||
| 1190 | CBalBaseBootstrapperApplication( | 1190 | CBootstrapperApplicationBase( |
| 1191 | __in DWORD dwRetryCount = 0, | 1191 | __in DWORD dwRetryCount = 0, |
| 1192 | __in DWORD dwRetryTimeout = 1000 | 1192 | __in DWORD dwRetryTimeout = 1000 |
| 1193 | ) | 1193 | ) |
| @@ -1208,7 +1208,7 @@ protected: | |||
| 1208 | BalRetryInitialize(dwRetryCount, dwRetryTimeout); | 1208 | BalRetryInitialize(dwRetryCount, dwRetryTimeout); |
| 1209 | } | 1209 | } |
| 1210 | 1210 | ||
| 1211 | virtual ~CBalBaseBootstrapperApplication() | 1211 | virtual ~CBootstrapperApplicationBase() |
| 1212 | { | 1212 | { |
| 1213 | BalInfoUninitializeCommandLine(&m_BalInfoCommand); | 1213 | BalInfoUninitializeCommandLine(&m_BalInfoCommand); |
| 1214 | BalRetryUninitialize(); | 1214 | BalRetryUninitialize(); |
diff --git a/src/api/burn/balutil/inc/IBootstrapperApplication.h b/src/api/burn/balutil/inc/IBootstrapperApplication.h index 3f57f095..a08f6863 100644 --- a/src/api/burn/balutil/inc/IBootstrapperApplication.h +++ b/src/api/burn/balutil/inc/IBootstrapperApplication.h | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | #pragma once | 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. | 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 | 3 | ||
| 4 | #include <BootstrapperApplication.h> | 4 | #include "BootstrapperApplicationTypes.h" |
| 5 | #include <IBootstrapperEngine.h> | 5 | #include "IBootstrapperEngine.h" |
| 6 | 6 | ||
| 7 | DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-AB06-099D717C67FE") | 7 | DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-AB06-099D717C67FE") |
| 8 | { | 8 | { |
diff --git a/src/api/burn/balutil/inc/IBootstrapperEngine.h b/src/api/burn/balutil/inc/IBootstrapperEngine.h index ef3b9812..02094aa5 100644 --- a/src/api/burn/balutil/inc/IBootstrapperEngine.h +++ b/src/api/burn/balutil/inc/IBootstrapperEngine.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #pragma once | 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. | 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 | 3 | ||
| 4 | #include "BootstrapperEngine.h" | 4 | #include "BootstrapperEngineTypes.h" |
| 5 | 5 | ||
| 6 | DECLARE_INTERFACE_IID_(IBootstrapperEngine, IUnknown, "6480D616-27A0-44D7-905B-81512C29C2FB") | 6 | DECLARE_INTERFACE_IID_(IBootstrapperEngine, IUnknown, "6480D616-27A0-44D7-905B-81512C29C2FB") |
| 7 | { | 7 | { |
diff --git a/src/api/burn/balutil/inc/balutil.h b/src/api/burn/balutil/inc/balutil.h index d77b3599..32190b56 100644 --- a/src/api/burn/balutil/inc/balutil.h +++ b/src/api/burn/balutil/inc/balutil.h | |||
| @@ -43,15 +43,6 @@ static const HRESULT E_PREREQBA_INFINITE_LOOP = MAKE_HRESULT(SEVERITY_ERROR, FAC | |||
| 43 | 43 | ||
| 44 | 44 | ||
| 45 | /******************************************************************* | 45 | /******************************************************************* |
| 46 | BootstrapperApplicationRun - runs the IBootstrapperApplication until | ||
| 47 | the application quits. | ||
| 48 | |||
| 49 | ********************************************************************/ | ||
| 50 | DAPI_(HRESULT) BootstrapperApplicationRun( | ||
| 51 | __in IBootstrapperApplication* pApplication | ||
| 52 | ); | ||
| 53 | |||
| 54 | /******************************************************************* | ||
| 55 | BalDebuggerCheck - allows bootstrapper application to explicitly check | 46 | BalDebuggerCheck - allows bootstrapper application to explicitly check |
| 56 | whether a debugger should be attached to the boostrapper application. | 47 | whether a debugger should be attached to the boostrapper application. |
| 57 | 48 | ||
diff --git a/src/api/burn/balutil/precomp.h b/src/api/burn/balutil/precomp.h index 753bc21f..3123143e 100644 --- a/src/api/burn/balutil/precomp.h +++ b/src/api/burn/balutil/precomp.h | |||
| @@ -30,7 +30,7 @@ | |||
| 30 | #include <thmutil.h> | 30 | #include <thmutil.h> |
| 31 | #include <xmlutil.h> | 31 | #include <xmlutil.h> |
| 32 | 32 | ||
| 33 | #include "IBootstrapperApplication.h" | 33 | #include "BootstrapperApplication.h" |
| 34 | 34 | ||
| 35 | #include "balutil.h" | 35 | #include "balutil.h" |
| 36 | #include "BalBootstrapperEngine.h" | 36 | #include "BalBootstrapperEngine.h" |
diff --git a/src/api/burn/bextutil/bextutil.nuspec b/src/api/burn/bextutil/bextutil.nuspec index c710f424..436c0028 100644 --- a/src/api/burn/bextutil/bextutil.nuspec +++ b/src/api/burn/bextutil/bextutil.nuspec | |||
| @@ -21,8 +21,8 @@ | |||
| 21 | <file src="$projectFolder$\build\$id$.props" target="build\" /> | 21 | <file src="$projectFolder$\build\$id$.props" target="build\" /> |
| 22 | <file src="$projectFolder$\..\..\..\internal\images\wix.png" /> | 22 | <file src="$projectFolder$\..\..\..\internal\images\wix.png" /> |
| 23 | <file src="$projectFolder$\inc\*" target="build\native\include" /> | 23 | <file src="$projectFolder$\inc\*" target="build\native\include" /> |
| 24 | <file src="$projectFolder$\..\inc\BootstrapperExtension.h" target="build\native\include" /> | 24 | <file src="$projectFolder$\..\inc\BootstrapperExtensionTypes.h" target="build\native\include" /> |
| 25 | <file src="$projectFolder$\..\inc\BootstrapperExtensionEngine.h" target="build\native\include" /> | 25 | <file src="$projectFolder$\..\inc\BootstrapperExtensionEngineTypes.h" target="build\native\include" /> |
| 26 | <file src="..\..\v141\x86\bextutil.lib" target="build\native\v14\x86" /> | 26 | <file src="..\..\v141\x86\bextutil.lib" target="build\native\v14\x86" /> |
| 27 | <file src="..\..\v141\x64\bextutil.lib" target="build\native\v14\x64" /> | 27 | <file src="..\..\v141\x64\bextutil.lib" target="build\native\v14\x64" /> |
| 28 | <file src="..\..\v141\ARM64\bextutil.lib" target="build\native\v14\ARM64" /> | 28 | <file src="..\..\v141\ARM64\bextutil.lib" target="build\native\v14\ARM64" /> |
diff --git a/src/api/burn/bextutil/inc/IBootstrapperExtension.h b/src/api/burn/bextutil/inc/IBootstrapperExtension.h index 4005a9fd..19df0516 100644 --- a/src/api/burn/bextutil/inc/IBootstrapperExtension.h +++ b/src/api/burn/bextutil/inc/IBootstrapperExtension.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #pragma once | 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. | 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 | 3 | ||
| 4 | #include <BootstrapperExtension.h> | 4 | #include "BootstrapperExtensionTypes.h" |
| 5 | 5 | ||
| 6 | DECLARE_INTERFACE_IID_(IBootstrapperExtension, IUnknown, "93123C9D-796B-4FCD-A507-6EDEF9A925FD") | 6 | DECLARE_INTERFACE_IID_(IBootstrapperExtension, IUnknown, "93123C9D-796B-4FCD-A507-6EDEF9A925FD") |
| 7 | { | 7 | { |
diff --git a/src/api/burn/bextutil/inc/IBootstrapperExtensionEngine.h b/src/api/burn/bextutil/inc/IBootstrapperExtensionEngine.h index b23a57b7..a78868f2 100644 --- a/src/api/burn/bextutil/inc/IBootstrapperExtensionEngine.h +++ b/src/api/burn/bextutil/inc/IBootstrapperExtensionEngine.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #pragma once | 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. | 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 | 3 | ||
| 4 | #include <BootstrapperExtensionEngine.h> | 4 | #include "BootstrapperExtensionEngineTypes.h" |
| 5 | 5 | ||
| 6 | DECLARE_INTERFACE_IID_(IBootstrapperExtensionEngine, IUnknown, "9D027A39-F6B6-42CC-9737-C185089EB263") | 6 | DECLARE_INTERFACE_IID_(IBootstrapperExtensionEngine, IUnknown, "9D027A39-F6B6-42CC-9737-C185089EB263") |
| 7 | { | 7 | { |
diff --git a/src/api/burn/inc/BootstrapperApplication.h b/src/api/burn/inc/BootstrapperApplicationTypes.h index 8b945b77..c7eaa3d3 100644 --- a/src/api/burn/inc/BootstrapperApplication.h +++ b/src/api/burn/inc/BootstrapperApplicationTypes.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #pragma once | 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. | 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 | 3 | ||
| 4 | #include "BootstrapperEngine.h" | 4 | #include "BootstrapperEngineTypes.h" |
| 5 | 5 | ||
| 6 | #if defined(__cplusplus) | 6 | #if defined(__cplusplus) |
| 7 | extern "C" { | 7 | extern "C" { |
| @@ -1535,57 +1535,6 @@ struct BA_ONUNREGISTERCOMPLETE_RESULTS | |||
| 1535 | DWORD dwApiVersion; | 1535 | DWORD dwApiVersion; |
| 1536 | }; | 1536 | }; |
| 1537 | 1537 | ||
| 1538 | #ifdef TODO_DELETE | ||
| 1539 | |||
| 1540 | extern "C" typedef HRESULT(WINAPI *PFN_BOOTSTRAPPER_APPLICATION_PROC)( | ||
| 1541 | __in BOOTSTRAPPER_APPLICATION_MESSAGE message, | ||
| 1542 | __in const LPVOID pvArgs, | ||
| 1543 | __inout LPVOID pvResults, | ||
| 1544 | __in_opt LPVOID pvContext | ||
| 1545 | ); | ||
| 1546 | |||
| 1547 | struct BOOTSTRAPPER_DESTROY_ARGS | ||
| 1548 | { | ||
| 1549 | DWORD dwApiVersion; | ||
| 1550 | BOOL fReload; | ||
| 1551 | }; | ||
| 1552 | |||
| 1553 | struct BOOTSTRAPPER_DESTROY_RESULTS | ||
| 1554 | { | ||
| 1555 | DWORD dwApiVersion; | ||
| 1556 | BOOL fDisableUnloading; // indicates the BA dll must not be unloaded after BootstrapperApplicationDestroy. | ||
| 1557 | }; | ||
| 1558 | |||
| 1559 | extern "C" typedef void (WINAPI *PFN_BOOTSTRAPPER_APPLICATION_DESTROY)( | ||
| 1560 | __in const BOOTSTRAPPER_DESTROY_ARGS* pArgs, | ||
| 1561 | __inout BOOTSTRAPPER_DESTROY_RESULTS* pResults | ||
| 1562 | ); | ||
| 1563 | |||
| 1564 | |||
| 1565 | |||
| 1566 | struct BOOTSTRAPPER_CREATE_ARGS | ||
| 1567 | { | ||
| 1568 | DWORD dwApiVersion; | ||
| 1569 | DWORD64 qwEngineAPIVersion; | ||
| 1570 | PFN_BOOTSTRAPPER_ENGINE_PROC pfnBootstrapperEngineProc; | ||
| 1571 | LPVOID pvBootstrapperEngineProcContext; | ||
| 1572 | BOOTSTRAPPER_COMMAND* pCommand; | ||
| 1573 | }; | ||
| 1574 | |||
| 1575 | struct BOOTSTRAPPER_CREATE_RESULTS | ||
| 1576 | { | ||
| 1577 | DWORD dwApiVersion; | ||
| 1578 | PFN_BOOTSTRAPPER_APPLICATION_PROC pfnBootstrapperApplicationProc; | ||
| 1579 | LPVOID pvBootstrapperApplicationProcContext; | ||
| 1580 | }; | ||
| 1581 | |||
| 1582 | extern "C" typedef HRESULT(WINAPI *PFN_BOOTSTRAPPER_APPLICATION_CREATE)( | ||
| 1583 | __in const BOOTSTRAPPER_CREATE_ARGS* pArgs, | ||
| 1584 | __inout BOOTSTRAPPER_CREATE_RESULTS* pResults | ||
| 1585 | ); | ||
| 1586 | |||
| 1587 | #endif | ||
| 1588 | |||
| 1589 | #if defined(__cplusplus) | 1538 | #if defined(__cplusplus) |
| 1590 | } | 1539 | } |
| 1591 | #endif | 1540 | #endif |
diff --git a/src/api/burn/inc/BootstrapperEngine.h b/src/api/burn/inc/BootstrapperEngineTypes.h index 7af41d97..e2634383 100644 --- a/src/api/burn/inc/BootstrapperEngine.h +++ b/src/api/burn/inc/BootstrapperEngineTypes.h | |||
| @@ -448,13 +448,6 @@ typedef struct _BAENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS | |||
| 448 | DWORD cchValue; | 448 | DWORD cchValue; |
| 449 | } BAENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS; | 449 | } BAENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS; |
| 450 | 450 | ||
| 451 | // extern "C" typedef HRESULT(WINAPI *PFN_BOOTSTRAPPER_ENGINE_PROC)( | ||
| 452 | // __in BOOTSTRAPPER_ENGINE_MESSAGE message, | ||
| 453 | // __in const LPVOID pvArgs, | ||
| 454 | // __inout LPVOID pvResults, | ||
| 455 | // __in_opt LPVOID pvContext | ||
| 456 | // ); | ||
| 457 | |||
| 458 | #if defined(__cplusplus) | 451 | #if defined(__cplusplus) |
| 459 | } | 452 | } |
| 460 | #endif | 453 | #endif |
diff --git a/src/api/burn/inc/BootstrapperExtensionEngine.h b/src/api/burn/inc/BootstrapperExtensionEngineTypes.h index 24c304c6..24c304c6 100644 --- a/src/api/burn/inc/BootstrapperExtensionEngine.h +++ b/src/api/burn/inc/BootstrapperExtensionEngineTypes.h | |||
diff --git a/src/api/burn/inc/BootstrapperExtension.h b/src/api/burn/inc/BootstrapperExtensionTypes.h index b1fa6408..4d45b59d 100644 --- a/src/api/burn/inc/BootstrapperExtension.h +++ b/src/api/burn/inc/BootstrapperExtensionTypes.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #pragma once | 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. | 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 | 3 | ||
| 4 | #include <BootstrapperExtensionEngine.h> | 4 | #include "BootstrapperExtensionEngineTypes.h" |
| 5 | 5 | ||
| 6 | #if defined(__cplusplus) | 6 | #if defined(__cplusplus) |
| 7 | extern "C" { | 7 | extern "C" { |
diff --git a/src/api/burn/test/BalUtilUnitTest/TestBootstrapperApplication.cpp b/src/api/burn/test/BalUtilUnitTest/TestBootstrapperApplication.cpp index b345ab9f..d0b38064 100644 --- a/src/api/burn/test/BalUtilUnitTest/TestBootstrapperApplication.cpp +++ b/src/api/burn/test/BalUtilUnitTest/TestBootstrapperApplication.cpp | |||
| @@ -1,12 +1,11 @@ | |||
| 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. | 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 | 2 | ||
| 3 | #include "precomp.h" | 3 | #include "precomp.h" |
| 4 | #include "BalBaseBootstrapperApplication.h" | ||
| 5 | 4 | ||
| 6 | class CTestBootstrapperApplication : public CBalBaseBootstrapperApplication | 5 | class CTestBootstrapperApplication : public CBootstrapperApplicationBase |
| 7 | { | 6 | { |
| 8 | public: | 7 | public: |
| 9 | CTestBootstrapperApplication() : CBalBaseBootstrapperApplication() | 8 | CTestBootstrapperApplication() : CBootstrapperApplicationBase() |
| 10 | { | 9 | { |
| 11 | } | 10 | } |
| 12 | }; | 11 | }; |
diff --git a/src/api/burn/test/BalUtilUnitTest/precomp.h b/src/api/burn/test/BalUtilUnitTest/precomp.h index 78add593..0edf4664 100644 --- a/src/api/burn/test/BalUtilUnitTest/precomp.h +++ b/src/api/burn/test/BalUtilUnitTest/precomp.h | |||
| @@ -15,9 +15,7 @@ | |||
| 15 | #include <dutil.h> | 15 | #include <dutil.h> |
| 16 | #include <dictutil.h> | 16 | #include <dictutil.h> |
| 17 | 17 | ||
| 18 | #include <IBootstrapperApplication.h> | 18 | #include <BootstrapperApplicationBase.h> |
| 19 | #include <balutil.h> | ||
| 20 | #include <balretry.h> | ||
| 21 | 19 | ||
| 22 | #include "TestBootstrapperApplication.h" | 20 | #include "TestBootstrapperApplication.h" |
| 23 | 21 | ||
diff --git a/src/burn/engine/engine.vcxproj b/src/burn/engine/engine.vcxproj index c4b64c36..7e2e80b6 100644 --- a/src/burn/engine/engine.vcxproj +++ b/src/burn/engine/engine.vcxproj | |||
| @@ -101,10 +101,10 @@ | |||
| 101 | <ItemGroup> | 101 | <ItemGroup> |
| 102 | <ClInclude Include="apply.h" /> | 102 | <ClInclude Include="apply.h" /> |
| 103 | <ClInclude Include="approvedexe.h" /> | 103 | <ClInclude Include="approvedexe.h" /> |
| 104 | <ClInclude Include="..\..\api\burn\inc\BootstrapperApplication.h" /> | 104 | <ClInclude Include="..\..\api\burn\inc\BootstrapperApplicationTypes.h" /> |
| 105 | <ClInclude Include="..\..\api\burn\inc\BootstrapperEngine.h" /> | 105 | <ClInclude Include="..\..\api\burn\inc\BootstrapperEngineTypes.h" /> |
| 106 | <ClInclude Include="..\..\api\burn\inc\BootstrapperExtension.h" /> | 106 | <ClInclude Include="..\..\api\burn\inc\BootstrapperExtensionTypes.h" /> |
| 107 | <ClInclude Include="..\..\api\burn\inc\BootstrapperExtensionEngine.h" /> | 107 | <ClInclude Include="..\..\api\burn\inc\BootstrapperExtensionEngineTypes.h" /> |
| 108 | <ClInclude Include="ba.h" /> | 108 | <ClInclude Include="ba.h" /> |
| 109 | <ClInclude Include="bacallback.h" /> | 109 | <ClInclude Include="bacallback.h" /> |
| 110 | <ClInclude Include="bundlepackageengine.h" /> | 110 | <ClInclude Include="bundlepackageengine.h" /> |
diff --git a/src/burn/engine/precomp.h b/src/burn/engine/precomp.h index 72c1e789..3ee32fb0 100644 --- a/src/burn/engine/precomp.h +++ b/src/burn/engine/precomp.h | |||
| @@ -61,8 +61,8 @@ | |||
| 61 | #include <dpiutil.h> | 61 | #include <dpiutil.h> |
| 62 | #include <butil.h> | 62 | #include <butil.h> |
| 63 | 63 | ||
| 64 | #include "BootstrapperApplication.h" | 64 | #include "BootstrapperApplicationTypes.h" |
| 65 | #include "BootstrapperExtension.h" | 65 | #include "BootstrapperExtensionTypes.h" |
| 66 | 66 | ||
| 67 | #include "platform.h" | 67 | #include "platform.h" |
| 68 | #include "variant.h" | 68 | #include "variant.h" |
diff --git a/src/burn/test/BurnUnitTest/precomp.h b/src/burn/test/BurnUnitTest/precomp.h index d0105107..f07f5968 100644 --- a/src/burn/test/BurnUnitTest/precomp.h +++ b/src/burn/test/BurnUnitTest/precomp.h | |||
| @@ -37,8 +37,8 @@ | |||
| 37 | #include <deputil.h> | 37 | #include <deputil.h> |
| 38 | #include <butil.h> | 38 | #include <butil.h> |
| 39 | 39 | ||
| 40 | #include "BootstrapperApplication.h" | 40 | #include "BootstrapperApplicationTypes.h" |
| 41 | #include "BootstrapperExtension.h" | 41 | #include "BootstrapperExtensionTypes.h" |
| 42 | 42 | ||
| 43 | #include "platform.h" | 43 | #include "platform.h" |
| 44 | #include "variant.h" | 44 | #include "variant.h" |
diff --git a/src/ext/Bal/Samples/bafunctions/precomp.h b/src/ext/Bal/Samples/bafunctions/precomp.h index 542ac606..4e88a4a0 100644 --- a/src/ext/Bal/Samples/bafunctions/precomp.h +++ b/src/ext/Bal/Samples/bafunctions/precomp.h | |||
| @@ -34,12 +34,7 @@ | |||
| 34 | //#include "xmlutil.h" | 34 | //#include "xmlutil.h" |
| 35 | #include "regutil.h" | 35 | #include "regutil.h" |
| 36 | 36 | ||
| 37 | //#include "IBootstrapperApplication.h" | 37 | #include "BootstrapperApplicationBase.h" |
| 38 | |||
| 39 | #include "BalBaseBootstrapperApplication.h" | ||
| 40 | //#include "balinfo.h" | ||
| 41 | //#include "balcondition.h" | ||
| 42 | #include "balutil.h" | ||
| 43 | 38 | ||
| 44 | #include "BAFunctions.h" | 39 | #include "BAFunctions.h" |
| 45 | #include "IBAFunctions.h" | 40 | #include "IBAFunctions.h" |
diff --git a/src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp b/src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp index a8967a31..23db7c5f 100644 --- a/src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp +++ b/src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp | |||
| @@ -1,7 +1,6 @@ | |||
| 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. | 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 | 2 | ||
| 3 | #include "precomp.h" | 3 | #include "precomp.h" |
| 4 | #include "BalBaseBootstrapperApplication.h" | ||
| 5 | 4 | ||
| 6 | static const LPCWSTR WIXIUIBA_WINDOW_CLASS = L"WixInternalUIBA"; | 5 | static const LPCWSTR WIXIUIBA_WINDOW_CLASS = L"WixInternalUIBA"; |
| 7 | 6 | ||
| @@ -15,10 +14,10 @@ enum WM_WIXIUIBA | |||
| 15 | }; | 14 | }; |
| 16 | 15 | ||
| 17 | 16 | ||
| 18 | class CWixInternalUIBootstrapperApplication : public CBalBaseBootstrapperApplication | 17 | class CWixInternalUIBootstrapperApplication : public CBootstrapperApplicationBase |
| 19 | { | 18 | { |
| 20 | public: // IBootstrapperApplication | 19 | public: // IBootstrapperApplication |
| 21 | STDMETHODIMP OnCreate( | 20 | virtual STDMETHODIMP OnCreate( |
| 22 | __in IBootstrapperEngine* pEngine, | 21 | __in IBootstrapperEngine* pEngine, |
| 23 | __in BOOTSTRAPPER_COMMAND* pCommand | 22 | __in BOOTSTRAPPER_COMMAND* pCommand |
| 24 | ) | 23 | ) |
| @@ -26,7 +25,7 @@ public: // IBootstrapperApplication | |||
| 26 | HRESULT hr = S_OK; | 25 | HRESULT hr = S_OK; |
| 27 | 26 | ||
| 28 | hr = __super::OnCreate(pEngine, pCommand); | 27 | hr = __super::OnCreate(pEngine, pCommand); |
| 29 | BalExitOnFailure(hr, "CBalBaseBootstrapperApplication initialization failed."); | 28 | BalExitOnFailure(hr, "CBootstrapperApplicationBase initialization failed."); |
| 30 | 29 | ||
| 31 | m_commandAction = pCommand->action; | 30 | m_commandAction = pCommand->action; |
| 32 | m_commandDisplay = pCommand->display; | 31 | m_commandDisplay = pCommand->display; |
| @@ -794,7 +793,7 @@ public: | |||
| 794 | // | 793 | // |
| 795 | CWixInternalUIBootstrapperApplication( | 794 | CWixInternalUIBootstrapperApplication( |
| 796 | __in HMODULE hModule | 795 | __in HMODULE hModule |
| 797 | ) : CBalBaseBootstrapperApplication(3, 3000) | 796 | ) : CBootstrapperApplicationBase(3, 3000) |
| 798 | { | 797 | { |
| 799 | m_hModule = hModule; | 798 | m_hModule = hModule; |
| 800 | m_commandAction = BOOTSTRAPPER_ACTION_UNKNOWN; | 799 | m_commandAction = BOOTSTRAPPER_ACTION_UNKNOWN; |
diff --git a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp index 233cabbc..c86a4a1d 100644 --- a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp +++ b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp | |||
| @@ -1,7 +1,6 @@ | |||
| 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. | 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 | 2 | ||
| 3 | #include "precomp.h" | 3 | #include "precomp.h" |
| 4 | #include "BalBaseBootstrapperApplication.h" | ||
| 5 | 4 | ||
| 6 | static const LPCWSTR WIXBUNDLE_VARIABLE_CANRESTART = L"WixCanRestart"; | 5 | static const LPCWSTR WIXBUNDLE_VARIABLE_CANRESTART = L"WixCanRestart"; |
| 7 | static const LPCWSTR WIXBUNDLE_VARIABLE_ELEVATED = L"WixBundleElevated"; | 6 | static const LPCWSTR WIXBUNDLE_VARIABLE_ELEVATED = L"WixBundleElevated"; |
| @@ -178,10 +177,10 @@ static LPCSTR LoggingMsiFeatureStateToString( | |||
| 178 | ); | 177 | ); |
| 179 | 178 | ||
| 180 | 179 | ||
| 181 | class CWixStandardBootstrapperApplication : public CBalBaseBootstrapperApplication | 180 | class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase |
| 182 | { | 181 | { |
| 183 | public: // IBootstrapperApplication | 182 | public: // IBootstrapperApplication |
| 184 | STDMETHODIMP OnCreate( | 183 | virtual STDMETHODIMP OnCreate( |
| 185 | __in IBootstrapperEngine* pEngine, | 184 | __in IBootstrapperEngine* pEngine, |
| 186 | __in BOOTSTRAPPER_COMMAND* pCommand | 185 | __in BOOTSTRAPPER_COMMAND* pCommand |
| 187 | ) | 186 | ) |
| @@ -189,7 +188,7 @@ public: // IBootstrapperApplication | |||
| 189 | HRESULT hr = S_OK; | 188 | HRESULT hr = S_OK; |
| 190 | 189 | ||
| 191 | hr = __super::OnCreate(pEngine, pCommand); | 190 | hr = __super::OnCreate(pEngine, pCommand); |
| 192 | BalExitOnFailure(hr, "CBalBaseBootstrapperApplication initialization failed."); | 191 | BalExitOnFailure(hr, "CBootstrapperApplicationBase initialization failed."); |
| 193 | 192 | ||
| 194 | m_commandAction = pCommand->action; | 193 | m_commandAction = pCommand->action; |
| 195 | m_commandDisplay = pCommand->display; | 194 | m_commandDisplay = pCommand->display; |
| @@ -388,7 +387,7 @@ public: // IBootstrapperApplication | |||
| 388 | } | 387 | } |
| 389 | 388 | ||
| 390 | LExit: | 389 | LExit: |
| 391 | return CBalBaseBootstrapperApplication::OnDetectRelatedBundle(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel); | 390 | return CBootstrapperApplicationBase::OnDetectRelatedBundle(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel); |
| 392 | } | 391 | } |
| 393 | 392 | ||
| 394 | 393 | ||
| @@ -563,7 +562,7 @@ public: // IBootstrapperApplication | |||
| 563 | *pRequestedType = BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE_NONE; | 562 | *pRequestedType = BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE_NONE; |
| 564 | } | 563 | } |
| 565 | 564 | ||
| 566 | return CBalBaseBootstrapperApplication::OnPlanRelatedBundleType(wzBundleId, recommendedType, pRequestedType, pfCancel); | 565 | return CBootstrapperApplicationBase::OnPlanRelatedBundleType(wzBundleId, recommendedType, pRequestedType, pfCancel); |
| 567 | } | 566 | } |
| 568 | 567 | ||
| 569 | 568 | ||
| @@ -633,7 +632,7 @@ public: // IBootstrapperApplication | |||
| 633 | } | 632 | } |
| 634 | } | 633 | } |
| 635 | 634 | ||
| 636 | return CBalBaseBootstrapperApplication::OnPlanPackageBegin(wzPackageId, state, fCached, installCondition, repairCondition, recommendedState, recommendedCacheType, pRequestState, pRequestedCacheType, pfCancel); | 635 | return CBootstrapperApplicationBase::OnPlanPackageBegin(wzPackageId, state, fCached, installCondition, repairCondition, recommendedState, recommendedCacheType, pRequestState, pRequestedCacheType, pfCancel); |
| 637 | } | 636 | } |
| 638 | 637 | ||
| 639 | 638 | ||
| @@ -4778,7 +4777,7 @@ public: | |||
| 4778 | CWixStandardBootstrapperApplication( | 4777 | CWixStandardBootstrapperApplication( |
| 4779 | __in HMODULE hModule, | 4778 | __in HMODULE hModule, |
| 4780 | __in BOOL fRunAsPrereqBA | 4779 | __in BOOL fRunAsPrereqBA |
| 4781 | ) : CBalBaseBootstrapperApplication(3, 3000) | 4780 | ) : CBootstrapperApplicationBase(3, 3000) |
| 4782 | { | 4781 | { |
| 4783 | THEME_ASSIGN_CONTROL_ID* pAssignControl = NULL; | 4782 | THEME_ASSIGN_CONTROL_ID* pAssignControl = NULL; |
| 4784 | DWORD dwAutomaticBehaviorType = THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_ENABLED | THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_VISIBLE | THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_ACTION | THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_VALUE; | 4783 | DWORD dwAutomaticBehaviorType = THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_ENABLED | THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_VISIBLE | THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_ACTION | THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_VALUE; |
diff --git a/src/ext/Bal/stdbas/precomp.h b/src/ext/Bal/stdbas/precomp.h index 00d0d03f..a6c4cfe4 100644 --- a/src/ext/Bal/stdbas/precomp.h +++ b/src/ext/Bal/stdbas/precomp.h | |||
| @@ -36,13 +36,9 @@ | |||
| 36 | #include <uriutil.h> | 36 | #include <uriutil.h> |
| 37 | #include <xmlutil.h> | 37 | #include <xmlutil.h> |
| 38 | 38 | ||
| 39 | #include <IBootstrapperApplication.h> | 39 | #include <BootstrapperApplicationBase.h> |
| 40 | |||
| 41 | #include <balutil.h> | ||
| 42 | #include <balinfo.h> | ||
| 43 | #include <balcondition.h> | ||
| 44 | |||
| 45 | #include <BAFunctions.h> | 40 | #include <BAFunctions.h> |
| 41 | #include <balcondition.h> | ||
| 46 | 42 | ||
| 47 | #include "stdbas.messages.h" | 43 | #include "stdbas.messages.h" |
| 48 | #include "WixStandardBootstrapperApplication.h" | 44 | #include "WixStandardBootstrapperApplication.h" |
diff --git a/src/ext/Bal/test/WixStdFnUnitTest/TestBootstrapperApplication.cpp b/src/ext/Bal/test/WixStdFnUnitTest/TestBootstrapperApplication.cpp index b345ab9f..d0b38064 100644 --- a/src/ext/Bal/test/WixStdFnUnitTest/TestBootstrapperApplication.cpp +++ b/src/ext/Bal/test/WixStdFnUnitTest/TestBootstrapperApplication.cpp | |||
| @@ -1,12 +1,11 @@ | |||
| 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. | 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 | 2 | ||
| 3 | #include "precomp.h" | 3 | #include "precomp.h" |
| 4 | #include "BalBaseBootstrapperApplication.h" | ||
| 5 | 4 | ||
| 6 | class CTestBootstrapperApplication : public CBalBaseBootstrapperApplication | 5 | class CTestBootstrapperApplication : public CBootstrapperApplicationBase |
| 7 | { | 6 | { |
| 8 | public: | 7 | public: |
| 9 | CTestBootstrapperApplication() : CBalBaseBootstrapperApplication() | 8 | CTestBootstrapperApplication() : CBootstrapperApplicationBase() |
| 10 | { | 9 | { |
| 11 | } | 10 | } |
| 12 | }; | 11 | }; |
diff --git a/src/ext/Bal/test/WixStdFnUnitTest/precomp.h b/src/ext/Bal/test/WixStdFnUnitTest/precomp.h index 4cdd262c..23bc7a6c 100644 --- a/src/ext/Bal/test/WixStdFnUnitTest/precomp.h +++ b/src/ext/Bal/test/WixStdFnUnitTest/precomp.h | |||
| @@ -15,10 +15,8 @@ | |||
| 15 | #include <dutil.h> | 15 | #include <dutil.h> |
| 16 | #include <dictutil.h> | 16 | #include <dictutil.h> |
| 17 | 17 | ||
| 18 | #include <IBootstrapperApplication.h> | 18 | #include <BootstrapperApplicationBase.h> |
| 19 | #include <IBAFunctions.h> | 19 | #include <IBAFunctions.h> |
| 20 | #include <balutil.h> | ||
| 21 | #include <balretry.h> | ||
| 22 | 20 | ||
| 23 | #include "TestBAFunctions.h" | 21 | #include "TestBAFunctions.h" |
| 24 | #include "TestBootstrapperApplication.h" | 22 | #include "TestBootstrapperApplication.h" |
diff --git a/src/ext/Bal/wixiuiba/precomp.h b/src/ext/Bal/wixiuiba/precomp.h index 782c0b1b..a4ce6776 100644 --- a/src/ext/Bal/wixiuiba/precomp.h +++ b/src/ext/Bal/wixiuiba/precomp.h | |||
| @@ -15,10 +15,6 @@ | |||
| 15 | #include <strutil.h> | 15 | #include <strutil.h> |
| 16 | #include <xmlutil.h> | 16 | #include <xmlutil.h> |
| 17 | 17 | ||
| 18 | #include <IBootstrapperApplication.h> | 18 | #include <BootstrapperApplication.h> |
| 19 | |||
| 20 | #include <balutil.h> | ||
| 21 | #include <balinfo.h> | ||
| 22 | #include <balcondition.h> | ||
| 23 | 19 | ||
| 24 | #include "WixInternalUIBootstrapperApplication.h" | 20 | #include "WixInternalUIBootstrapperApplication.h" |
diff --git a/src/ext/Bal/wixprqba/precomp.h b/src/ext/Bal/wixprqba/precomp.h index a47f411b..b6178be3 100644 --- a/src/ext/Bal/wixprqba/precomp.h +++ b/src/ext/Bal/wixprqba/precomp.h | |||
| @@ -35,12 +35,7 @@ | |||
| 35 | #include <uriutil.h> | 35 | #include <uriutil.h> |
| 36 | #include <xmlutil.h> | 36 | #include <xmlutil.h> |
| 37 | 37 | ||
| 38 | #include <IBootstrapperApplication.h> | 38 | #include <BootstrapperApplication.h> |
| 39 | |||
| 40 | #include <balutil.h> | ||
| 41 | #include <balinfo.h> | ||
| 42 | #include <balcondition.h> | ||
| 43 | |||
| 44 | #include <BAFunctions.h> | 39 | #include <BAFunctions.h> |
| 45 | 40 | ||
| 46 | #include "WixStandardBootstrapperApplication.h" | 41 | #include "WixStandardBootstrapperApplication.h" |
diff --git a/src/ext/Bal/wixstdba/precomp.h b/src/ext/Bal/wixstdba/precomp.h index a47f411b..66c5152d 100644 --- a/src/ext/Bal/wixstdba/precomp.h +++ b/src/ext/Bal/wixstdba/precomp.h | |||
| @@ -35,12 +35,8 @@ | |||
| 35 | #include <uriutil.h> | 35 | #include <uriutil.h> |
| 36 | #include <xmlutil.h> | 36 | #include <xmlutil.h> |
| 37 | 37 | ||
| 38 | #include <IBootstrapperApplication.h> | 38 | #include <BootstrapperApplication.h> |
| 39 | |||
| 40 | #include <balutil.h> | 39 | #include <balutil.h> |
| 41 | #include <balinfo.h> | ||
| 42 | #include <balcondition.h> | ||
| 43 | |||
| 44 | #include <BAFunctions.h> | 40 | #include <BAFunctions.h> |
| 45 | 41 | ||
| 46 | #include "WixStandardBootstrapperApplication.h" | 42 | #include "WixStandardBootstrapperApplication.h" |
diff --git a/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/precomp.h b/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/precomp.h index 2e14786a..95a015ab 100644 --- a/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/precomp.h +++ b/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/precomp.h | |||
| @@ -30,8 +30,7 @@ | |||
| 30 | #include "regutil.h" | 30 | #include "regutil.h" |
| 31 | #include "xmlutil.h" | 31 | #include "xmlutil.h" |
| 32 | 32 | ||
| 33 | #include "BalBaseBootstrapperApplication.h" | 33 | #include <BootstrapperApplicationBase.h> |
| 34 | #include "balutil.h" | ||
| 35 | 34 | ||
| 36 | #include "BAFunctions.h" | 35 | #include "BAFunctions.h" |
| 37 | #include "IBAFunctions.h" | 36 | #include "IBAFunctions.h" |
diff --git a/src/test/burn/TestData/Manual/BafThmutilTesting/precomp.h b/src/test/burn/TestData/Manual/BafThmutilTesting/precomp.h index 2e14786a..95a015ab 100644 --- a/src/test/burn/TestData/Manual/BafThmutilTesting/precomp.h +++ b/src/test/burn/TestData/Manual/BafThmutilTesting/precomp.h | |||
| @@ -30,8 +30,7 @@ | |||
| 30 | #include "regutil.h" | 30 | #include "regutil.h" |
| 31 | #include "xmlutil.h" | 31 | #include "xmlutil.h" |
| 32 | 32 | ||
| 33 | #include "BalBaseBootstrapperApplication.h" | 33 | #include <BootstrapperApplicationBase.h> |
| 34 | #include "balutil.h" | ||
| 35 | 34 | ||
| 36 | #include "BAFunctions.h" | 35 | #include "BAFunctions.h" |
| 37 | #include "IBAFunctions.h" | 36 | #include "IBAFunctions.h" |
diff --git a/src/test/burn/TestData/PrereqBaTests/PrereqBaf/PrereqBaf.cpp b/src/test/burn/TestData/PrereqBaTests/PrereqBaf/PrereqBaf.cpp index 5e26faac..1eaebe63 100644 --- a/src/test/burn/TestData/PrereqBaTests/PrereqBaf/PrereqBaf.cpp +++ b/src/test/burn/TestData/PrereqBaTests/PrereqBaf/PrereqBaf.cpp | |||
| @@ -9,7 +9,7 @@ class CPrereqBaf : public CBalBaseBAFunctions | |||
| 9 | public: // IBAFunctions | 9 | public: // IBAFunctions |
| 10 | 10 | ||
| 11 | public: //IBootstrapperApplication | 11 | public: //IBootstrapperApplication |
| 12 | STDMETHODIMP OnCreate( | 12 | virtual STDMETHODIMP OnCreate( |
| 13 | __in IBootstrapperEngine* pEngine, | 13 | __in IBootstrapperEngine* pEngine, |
| 14 | __in BOOTSTRAPPER_COMMAND* pCommand | 14 | __in BOOTSTRAPPER_COMMAND* pCommand |
| 15 | ) | 15 | ) |
| @@ -17,7 +17,7 @@ public: //IBootstrapperApplication | |||
| 17 | HRESULT hr = S_OK; | 17 | HRESULT hr = S_OK; |
| 18 | 18 | ||
| 19 | hr = __super::OnCreate(pEngine, pCommand); | 19 | hr = __super::OnCreate(pEngine, pCommand); |
| 20 | ExitOnFailure(hr, "CBalBaseBootstrapperApplication initialization failed."); | 20 | ExitOnFailure(hr, "CPrereqBaf initialization failed."); |
| 21 | 21 | ||
| 22 | hr = StrAllocString(&m_sczBARuntimeDirectory, pCommand->wzBootstrapperWorkingFolder, 0); | 22 | hr = StrAllocString(&m_sczBARuntimeDirectory, pCommand->wzBootstrapperWorkingFolder, 0); |
| 23 | ExitOnFailure(hr, "Failed to copy working folder"); | 23 | ExitOnFailure(hr, "Failed to copy working folder"); |
diff --git a/src/test/burn/TestData/PrereqBaTests/PrereqBaf/precomp.h b/src/test/burn/TestData/PrereqBaTests/PrereqBaf/precomp.h index 8320bdd8..f39f9de7 100644 --- a/src/test/burn/TestData/PrereqBaTests/PrereqBaf/precomp.h +++ b/src/test/burn/TestData/PrereqBaTests/PrereqBaf/precomp.h | |||
| @@ -18,8 +18,7 @@ | |||
| 18 | #include "pathutil.h" | 18 | #include "pathutil.h" |
| 19 | #include "strutil.h" | 19 | #include "strutil.h" |
| 20 | 20 | ||
| 21 | #include "BalBaseBootstrapperApplication.h" | 21 | #include <BootstrapperApplicationBase.h> |
| 22 | #include "balutil.h" | ||
| 23 | 22 | ||
| 24 | #include "BAFunctions.h" | 23 | #include "BAFunctions.h" |
| 25 | #include "IBAFunctions.h" | 24 | #include "IBAFunctions.h" |
