aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-12-31 18:31:04 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-03 16:20:17 -0600
commit543a3f9a87204a32c9ded3f9f519ad6d42107ab7 (patch)
treeab97a8d20aac0d8c13cd21966b0bf12b9f878361
parent955e19df75296004377108ae3fc0a0a068d792f7 (diff)
downloadwix-543a3f9a87204a32c9ded3f9f519ad6d42107ab7.tar.gz
wix-543a3f9a87204a32c9ded3f9f519ad6d42107ab7.tar.bz2
wix-543a3f9a87204a32c9ded3f9f519ad6d42107ab7.zip
Don't embed cabs to match test in old repo.
-rw-r--r--src/TestData/MsiTransaction/BundleAv1/BundleAv1.wixproj2
-rw-r--r--src/TestData/MsiTransaction/BundleAv2/BundleAv2.wixproj2
-rw-r--r--src/TestData/MsiTransaction/PackageA/PackageA.wixproj1
-rw-r--r--src/TestData/MsiTransaction/PackageBv1/PackageBv1.wixproj3
-rw-r--r--src/TestData/MsiTransaction/PackageCv1/PackageCv1.wixproj3
-rw-r--r--src/TestData/Templates/Package.wxs4
-rw-r--r--src/Wix.Build.targets1
7 files changed, 12 insertions, 4 deletions
diff --git a/src/TestData/MsiTransaction/BundleAv1/BundleAv1.wixproj b/src/TestData/MsiTransaction/BundleAv1/BundleAv1.wixproj
index bf50fff2..4e92a102 100644
--- a/src/TestData/MsiTransaction/BundleAv1/BundleAv1.wixproj
+++ b/src/TestData/MsiTransaction/BundleAv1/BundleAv1.wixproj
@@ -5,13 +5,11 @@
5 <SuppressSpecificWarnings>1151</SuppressSpecificWarnings> 5 <SuppressSpecificWarnings>1151</SuppressSpecificWarnings>
6 </PropertyGroup> 6 </PropertyGroup>
7 <ItemGroup> 7 <ItemGroup>
8 <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" />
9 <ProjectReference Include="..\PackageA\PackageA.wixproj" /> 8 <ProjectReference Include="..\PackageA\PackageA.wixproj" />
10 <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" /> 9 <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" />
11 <ProjectReference Include="..\PackageCv1\PackageCv1.wixproj" /> 10 <ProjectReference Include="..\PackageCv1\PackageCv1.wixproj" />
12 </ItemGroup> 11 </ItemGroup>
13 <ItemGroup> 12 <ItemGroup>
14 <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" /> 13 <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" />
15 <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.56" />
16 </ItemGroup> 14 </ItemGroup>
17</Project> \ No newline at end of file 15</Project> \ No newline at end of file
diff --git a/src/TestData/MsiTransaction/BundleAv2/BundleAv2.wixproj b/src/TestData/MsiTransaction/BundleAv2/BundleAv2.wixproj
index d1f067eb..7d1a42c5 100644
--- a/src/TestData/MsiTransaction/BundleAv2/BundleAv2.wixproj
+++ b/src/TestData/MsiTransaction/BundleAv2/BundleAv2.wixproj
@@ -6,13 +6,11 @@
6 <Version>2.0.0.0</Version> 6 <Version>2.0.0.0</Version>
7 </PropertyGroup> 7 </PropertyGroup>
8 <ItemGroup> 8 <ItemGroup>
9 <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" />
10 <ProjectReference Include="..\PackageBv2\PackageBv2.wixproj" /> 9 <ProjectReference Include="..\PackageBv2\PackageBv2.wixproj" />
11 <ProjectReference Include="..\PackageCv2\PackageCv2.wixproj" /> 10 <ProjectReference Include="..\PackageCv2\PackageCv2.wixproj" />
12 <ProjectReference Include="..\PackageD\PackageD.wixproj" /> 11 <ProjectReference Include="..\PackageD\PackageD.wixproj" />
13 </ItemGroup> 12 </ItemGroup>
14 <ItemGroup> 13 <ItemGroup>
15 <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" /> 14 <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" />
16 <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.56" />
17 </ItemGroup> 15 </ItemGroup>
18</Project> \ No newline at end of file 16</Project> \ No newline at end of file
diff --git a/src/TestData/MsiTransaction/PackageA/PackageA.wixproj b/src/TestData/MsiTransaction/PackageA/PackageA.wixproj
index bc18cd44..2ef7c05e 100644
--- a/src/TestData/MsiTransaction/PackageA/PackageA.wixproj
+++ b/src/TestData/MsiTransaction/PackageA/PackageA.wixproj
@@ -1,6 +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<Project Sdk="WixToolset.Sdk"> 2<Project Sdk="WixToolset.Sdk">
3 <PropertyGroup> 3 <PropertyGroup>
4 <CabPrefix>a</CabPrefix>
4 <UpgradeCode>{7772FCDF-5FDB-497D-B5DF-C6D17D667976}</UpgradeCode> 5 <UpgradeCode>{7772FCDF-5FDB-497D-B5DF-C6D17D667976}</UpgradeCode>
5 </PropertyGroup> 6 </PropertyGroup>
6 <ItemGroup> 7 <ItemGroup>
diff --git a/src/TestData/MsiTransaction/PackageBv1/PackageBv1.wixproj b/src/TestData/MsiTransaction/PackageBv1/PackageBv1.wixproj
index 7b6f83a3..6dc1e4d8 100644
--- a/src/TestData/MsiTransaction/PackageBv1/PackageBv1.wixproj
+++ b/src/TestData/MsiTransaction/PackageBv1/PackageBv1.wixproj
@@ -1,4 +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<Project Sdk="WixToolset.Sdk"> 2<Project Sdk="WixToolset.Sdk">
3 <Import Project="PackageB.props" /> 3 <Import Project="PackageB.props" />
4 <PropertyGroup>
5 <CabPrefix>bv1</CabPrefix>
6 </PropertyGroup>
4</Project> \ No newline at end of file 7</Project> \ No newline at end of file
diff --git a/src/TestData/MsiTransaction/PackageCv1/PackageCv1.wixproj b/src/TestData/MsiTransaction/PackageCv1/PackageCv1.wixproj
index 45615706..617e61c3 100644
--- a/src/TestData/MsiTransaction/PackageCv1/PackageCv1.wixproj
+++ b/src/TestData/MsiTransaction/PackageCv1/PackageCv1.wixproj
@@ -1,4 +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<Project Sdk="WixToolset.Sdk"> 2<Project Sdk="WixToolset.Sdk">
3 <Import Project="PackageC.props" /> 3 <Import Project="PackageC.props" />
4 <PropertyGroup>
5 <CabPrefix>cv1</CabPrefix>
6 </PropertyGroup>
4</Project> \ No newline at end of file 7</Project> \ No newline at end of file
diff --git a/src/TestData/Templates/Package.wxs b/src/TestData/Templates/Package.wxs
index ff5e71c7..6cf47775 100644
--- a/src/TestData/Templates/Package.wxs
+++ b/src/TestData/Templates/Package.wxs
@@ -9,7 +9,11 @@
9<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> 9<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
10 <Package Name="~$(var.TestGroupName) - $(var.PackageName)" Language="1033" Version="$(var.Version)" Manufacturer="Microsoft Corporation" UpgradeCode="$(var.UpgradeCode)" Compressed="yes"> 10 <Package Name="~$(var.TestGroupName) - $(var.PackageName)" Language="1033" Version="$(var.Version)" Manufacturer="Microsoft Corporation" UpgradeCode="$(var.UpgradeCode)" Compressed="yes">
11 <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> 11 <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
12 <?ifndef CabPrefix?>
12 <MediaTemplate EmbedCab="yes" /> 13 <MediaTemplate EmbedCab="yes" />
14 <?else?>
15 <MediaTemplate CabinetTemplate="{0}$(var.CabPrefix).cab" />
16 <?endif?>
13 17
14 <Property Id="MsiLogging" Value="voicewarmup" /> 18 <Property Id="MsiLogging" Value="voicewarmup" />
15 <PropertyRef Id="TestVersion" /> 19 <PropertyRef Id="TestVersion" />
diff --git a/src/Wix.Build.targets b/src/Wix.Build.targets
index e2caf069..6a35b172 100644
--- a/src/Wix.Build.targets
+++ b/src/Wix.Build.targets
@@ -4,6 +4,7 @@
4 <PropertyGroup> 4 <PropertyGroup>
5 <PackageName Condition=" '$(PackageName)' == '' ">$(MSBuildProjectName)</PackageName> 5 <PackageName Condition=" '$(PackageName)' == '' ">$(MSBuildProjectName)</PackageName>
6 <DefineConstants>TestGroupName=$(TestGroupName);PackageName=$(PackageName);$(DefineConstants)</DefineConstants> 6 <DefineConstants>TestGroupName=$(TestGroupName);PackageName=$(PackageName);$(DefineConstants)</DefineConstants>
7 <DefineConstants Condition=" '$(CabPrefix)' != '' ">CabPrefix=$(CabPrefix);$(DefineConstants)</DefineConstants>
7 <DefineConstants Condition=" '$(UpgradeCode)' != '' ">UpgradeCode=$(UpgradeCode);$(DefineConstants)</DefineConstants> 8 <DefineConstants Condition=" '$(UpgradeCode)' != '' ">UpgradeCode=$(UpgradeCode);$(DefineConstants)</DefineConstants>
8 <DefineConstants Condition=" '$(Version)' != '' ">Version=$(Version);$(DefineConstants)</DefineConstants> 9 <DefineConstants Condition=" '$(Version)' != '' ">Version=$(Version);$(DefineConstants)</DefineConstants>
9 </PropertyGroup> 10 </PropertyGroup>