diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-26 11:31:05 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-05-11 11:14:01 -0700 |
| commit | df016066100df955d5ff98811e113fb2b1bd4b8a (patch) | |
| tree | a27b35a3651ca7b1d8c4bb7c7483ec2f92583e08 /src/ext/Bal/wixlib | |
| parent | dc6022da6cdbb9d7ca54c4a36485ceead07feaaf (diff) | |
| download | wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.gz wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.bz2 wix-df016066100df955d5ff98811e113fb2b1bd4b8a.zip | |
Implement integrated build process
Diffstat (limited to 'src/ext/Bal/wixlib')
| -rw-r--r-- | src/ext/Bal/wixlib/BalExtension_arm64.wxs | 2 | ||||
| -rw-r--r-- | src/ext/Bal/wixlib/BalExtension_platform.wxi | 14 | ||||
| -rw-r--r-- | src/ext/Bal/wixlib/BalExtension_x64.wxs | 1 | ||||
| -rw-r--r-- | src/ext/Bal/wixlib/BalExtension_x86.wxs | 1 | ||||
| -rw-r--r-- | src/ext/Bal/wixlib/Mbahost_platform.wxi | 19 | ||||
| -rw-r--r-- | src/ext/Bal/wixlib/bal.wixproj | 29 |
6 files changed, 39 insertions, 27 deletions
diff --git a/src/ext/Bal/wixlib/BalExtension_arm64.wxs b/src/ext/Bal/wixlib/BalExtension_arm64.wxs index 1b9e11d2..9a1ca60c 100644 --- a/src/ext/Bal/wixlib/BalExtension_arm64.wxs +++ b/src/ext/Bal/wixlib/BalExtension_arm64.wxs | |||
| @@ -1,7 +1,7 @@ | |||
| 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 | |||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <?define platform=arm64 ?> | 4 | <?define platform=arm64 ?> |
| 6 | <?include BalExtension_platform.wxi ?> | 5 | <?include BalExtension_platform.wxi ?> |
| 6 | <?include Mbahost_platform.wxi ?> | ||
| 7 | </Wix> | 7 | </Wix> |
diff --git a/src/ext/Bal/wixlib/BalExtension_platform.wxi b/src/ext/Bal/wixlib/BalExtension_platform.wxi index 33122fb2..6978ba99 100644 --- a/src/ext/Bal/wixlib/BalExtension_platform.wxi +++ b/src/ext/Bal/wixlib/BalExtension_platform.wxi | |||
| @@ -16,20 +16,6 @@ | |||
| 16 | </BootstrapperApplication> | 16 | </BootstrapperApplication> |
| 17 | <BootstrapperApplicationRef Id="WixDotNetCoreBootstrapperApplicationHost$(var.Suffix)" /> | 17 | <BootstrapperApplicationRef Id="WixDotNetCoreBootstrapperApplicationHost$(var.Suffix)" /> |
| 18 | </Fragment> | 18 | </Fragment> |
| 19 | |||
| 20 | <Fragment> | ||
| 21 | <BootstrapperApplication Id="WixManagedBootstrapperApplicationHost$(var.Suffix)"> | ||
| 22 | <BootstrapperApplicationDll Id="WixManagedBootstrapperApplicationHost" SourceFile="!(bindpath.$(var.platform))\mbahost.dll" /> | ||
| 23 | <Payload SourceFile="!(bindpath.$(var.platform))\wixstdba.dll" Name="mbapreq.dll" /> | ||
| 24 | <PayloadGroupRef Id="WixManagedBootstrapperApplicationHostManagedPayloads" /> | ||
| 25 | </BootstrapperApplication> | ||
| 26 | </Fragment> | ||
| 27 | <Fragment> | ||
| 28 | <BootstrapperApplication Id="WixManagedBootstrapperApplicationHost.Standard$(var.Suffix)"> | ||
| 29 | <PayloadGroupRef Id="MbaPreqStandardPayloads" /> | ||
| 30 | </BootstrapperApplication> | ||
| 31 | <BootstrapperApplicationRef Id="WixManagedBootstrapperApplicationHost$(var.Suffix)" /> | ||
| 32 | </Fragment> | ||
| 33 | 19 | ||
| 34 | <Fragment> | 20 | <Fragment> |
| 35 | <BootstrapperApplication Id="WixStandardBootstrapperApplication$(var.Suffix)"> | 21 | <BootstrapperApplication Id="WixStandardBootstrapperApplication$(var.Suffix)"> |
diff --git a/src/ext/Bal/wixlib/BalExtension_x64.wxs b/src/ext/Bal/wixlib/BalExtension_x64.wxs index 69a597ae..e5252718 100644 --- a/src/ext/Bal/wixlib/BalExtension_x64.wxs +++ b/src/ext/Bal/wixlib/BalExtension_x64.wxs | |||
| @@ -4,4 +4,5 @@ | |||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <?define platform=x64 ?> | 5 | <?define platform=x64 ?> |
| 6 | <?include BalExtension_platform.wxi ?> | 6 | <?include BalExtension_platform.wxi ?> |
| 7 | <?include Mbahost_platform.wxi ?> | ||
| 7 | </Wix> | 8 | </Wix> |
diff --git a/src/ext/Bal/wixlib/BalExtension_x86.wxs b/src/ext/Bal/wixlib/BalExtension_x86.wxs index 3cdd4015..1045160d 100644 --- a/src/ext/Bal/wixlib/BalExtension_x86.wxs +++ b/src/ext/Bal/wixlib/BalExtension_x86.wxs | |||
| @@ -4,4 +4,5 @@ | |||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <?define platform=x86 ?> | 5 | <?define platform=x86 ?> |
| 6 | <?include BalExtension_platform.wxi ?> | 6 | <?include BalExtension_platform.wxi ?> |
| 7 | <?include Mbahost_platform.wxi ?> | ||
| 7 | </Wix> | 8 | </Wix> |
diff --git a/src/ext/Bal/wixlib/Mbahost_platform.wxi b/src/ext/Bal/wixlib/Mbahost_platform.wxi new file mode 100644 index 00000000..06d7f1fc --- /dev/null +++ b/src/ext/Bal/wixlib/Mbahost_platform.wxi | |||
| @@ -0,0 +1,19 @@ | |||
| 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 | |||
| 4 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 5 | <?include caDecor.wxi ?> | ||
| 6 | <Fragment> | ||
| 7 | <BootstrapperApplication Id="WixManagedBootstrapperApplicationHost$(var.Suffix)"> | ||
| 8 | <BootstrapperApplicationDll Id="WixManagedBootstrapperApplicationHost" SourceFile="!(bindpath.$(var.platform))\mbahost.dll" /> | ||
| 9 | <Payload SourceFile="!(bindpath.$(var.platform))\wixstdba.dll" Name="mbapreq.dll" /> | ||
| 10 | <PayloadGroupRef Id="WixManagedBootstrapperApplicationHostManagedPayloads" /> | ||
| 11 | </BootstrapperApplication> | ||
| 12 | </Fragment> | ||
| 13 | <Fragment> | ||
| 14 | <BootstrapperApplication Id="WixManagedBootstrapperApplicationHost.Standard$(var.Suffix)"> | ||
| 15 | <PayloadGroupRef Id="MbaPreqStandardPayloads" /> | ||
| 16 | </BootstrapperApplication> | ||
| 17 | <BootstrapperApplicationRef Id="WixManagedBootstrapperApplicationHost$(var.Suffix)" /> | ||
| 18 | </Fragment> | ||
| 19 | </Include> | ||
diff --git a/src/ext/Bal/wixlib/bal.wixproj b/src/ext/Bal/wixlib/bal.wixproj index fdcc7475..147b1a74 100644 --- a/src/ext/Bal/wixlib/bal.wixproj +++ b/src/ext/Bal/wixlib/bal.wixproj | |||
| @@ -1,10 +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 | <Project Sdk="WixToolset.Sdk" ToolsVersion="4.0"> | 2 | <Project Sdk="WixToolset.Sdk"> |
| 3 | <PropertyGroup> | 3 | <PropertyGroup> |
| 4 | <OutputType>Library</OutputType> | 4 | <OutputType>Library</OutputType> |
| 5 | <BindFiles>true</BindFiles> | 5 | <BindFiles>true</BindFiles> |
| 6 | <Cultures>en-us</Cultures> | 6 | <Cultures>en-us</Cultures> |
| 7 | </PropertyGroup> | 7 | </PropertyGroup> |
| 8 | |||
| 8 | <ItemGroup> | 9 | <ItemGroup> |
| 9 | <BindInputPaths Include="..\wixstdba\Resources\" /> | 10 | <BindInputPaths Include="..\wixstdba\Resources\" /> |
| 10 | <BindInputPaths Include="$(OutputPath)netcoreapp3.1" /> | 11 | <BindInputPaths Include="$(OutputPath)netcoreapp3.1" /> |
| @@ -13,24 +14,28 @@ | |||
| 13 | <BindInputPaths Include="$(OutputPath)x64" BindName="x64" /> | 14 | <BindInputPaths Include="$(OutputPath)x64" BindName="x64" /> |
| 14 | <BindInputPaths Include="$(OutputPath)arm64" BindName="arm64" /> | 15 | <BindInputPaths Include="$(OutputPath)arm64" BindName="arm64" /> |
| 15 | </ItemGroup> | 16 | </ItemGroup> |
| 17 | |||
| 16 | <ItemGroup> | 18 | <ItemGroup> |
| 17 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=ARM64" /> | 19 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=x86" ReferenceOutputAssembly="false" /> |
| 18 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=ARM64" /> | 20 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=x64" ReferenceOutputAssembly="false" /> |
| 19 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=ARM64" /> | 21 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=ARM64" ReferenceOutputAssembly="false" /> |
| 20 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=x86" /> | 22 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=x86" ReferenceOutputAssembly="false" /> |
| 21 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=x86" /> | 23 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=x64" ReferenceOutputAssembly="false" /> |
| 22 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=x86" /> | 24 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=ARM64" ReferenceOutputAssembly="false" /> |
| 23 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=x64" /> | 25 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=x86" ReferenceOutputAssembly="false" /> |
| 24 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=x64" /> | 26 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=x64" ReferenceOutputAssembly="false" /> |
| 25 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=x64" /> | 27 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=ARM64" ReferenceOutputAssembly="false" /> |
| 26 | </ItemGroup> | 28 | </ItemGroup> |
| 29 | |||
| 27 | <ItemGroup> | 30 | <ItemGroup> |
| 28 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> | 31 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> |
| 32 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
| 29 | </ItemGroup> | 33 | </ItemGroup> |
| 34 | |||
| 30 | <!-- Workaround for bug in ProjectReferenceDefineConstants, they're not needed for this project anyway --> | 35 | <!-- Workaround for bug in ProjectReferenceDefineConstants, they're not needed for this project anyway --> |
| 31 | <Target Name="ClearProjectReferenceDefineConstants" AfterTargets="CalculateDefineConstants"> | 36 | <Target Name="ClearProjectReferenceDefineConstants" AfterTargets="CalculateDefineConstants"> |
| 32 | <PropertyGroup> | 37 | <PropertyGroup> |
| 33 | <ProjectReferenceDefineConstants></ProjectReferenceDefineConstants> | 38 | <ProjectReferenceDefineConstants></ProjectReferenceDefineConstants> |
| 34 | </PropertyGroup> | 39 | </PropertyGroup> |
| 35 | </Target> | 40 | </Target> |
| 36 | </Project> \ No newline at end of file | 41 | </Project> |
