aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-05-23 22:52:24 -0700
committerRob Mensching <rob@firegiant.com>2019-10-20 01:06:43 -0700
commitc8c22de1957f8eeb2c9fc03df12db6af41613ca9 (patch)
tree9bb7684a5e2e67116a9503df5a5011f71c78396e /src
parent70d459c39d1716b2d26ffcbd2c4037d646b9ec37 (diff)
downloadwix-c8c22de1957f8eeb2c9fc03df12db6af41613ca9.tar.gz
wix-c8c22de1957f8eeb2c9fc03df12db6af41613ca9.tar.bz2
wix-c8c22de1957f8eeb2c9fc03df12db6af41613ca9.zip
Fix versioning of thmviewer and include MSI package in build
Diffstat (limited to 'src')
-rw-r--r--src/ThmViewerPackage/Package.wxs2
-rw-r--r--src/test/WixToolsetTest.BuildTasks/WixBuildTaskFixture.cs6
-rw-r--r--src/thmviewer/thmviewer.vcxproj4
-rw-r--r--src/wix/wix.csproj2
4 files changed, 8 insertions, 6 deletions
diff --git a/src/ThmViewerPackage/Package.wxs b/src/ThmViewerPackage/Package.wxs
index cfa041ba..6609dbed 100644
--- a/src/ThmViewerPackage/Package.wxs
+++ b/src/ThmViewerPackage/Package.wxs
@@ -6,7 +6,7 @@
6 <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> 6 <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
7 7
8 <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> 8 <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
9 <MediaTemplate /> 9 <MediaTemplate EmbedCab="yes" />
10 10
11 <Feature Id="Main"> 11 <Feature Id="Main">
12 <ComponentGroupRef Id="Components" /> 12 <ComponentGroupRef Id="Components" />
diff --git a/src/test/WixToolsetTest.BuildTasks/WixBuildTaskFixture.cs b/src/test/WixToolsetTest.BuildTasks/WixBuildTaskFixture.cs
index c4a69cdd..cb839011 100644
--- a/src/test/WixToolsetTest.BuildTasks/WixBuildTaskFixture.cs
+++ b/src/test/WixToolsetTest.BuildTasks/WixBuildTaskFixture.cs
@@ -55,9 +55,9 @@ namespace WixToolsetTest.BuildTasks
55 var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); 55 var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir"));
56 var section = intermediate.Sections.Single(); 56 var section = intermediate.Sections.Single();
57 57
58 var wixFile = section.Tuples.OfType<WixFileTuple>().Single(); 58 var fileTuple = section.Tuples.OfType<FileTuple>().Single();
59 Assert.Equal(Path.Combine(folder, @"data\test.txt"), wixFile[WixFileTupleFields.Source].AsPath().Path); 59 Assert.Equal(Path.Combine(folder, @"data\test.txt"), fileTuple[FileTupleFields.Source].AsPath().Path);
60 Assert.Equal(@"test.txt", wixFile[WixFileTupleFields.Source].PreviousValue.AsPath().Path); 60 Assert.Equal(@"test.txt", fileTuple[FileTupleFields.Source].PreviousValue.AsPath().Path);
61 } 61 }
62 } 62 }
63 } 63 }
diff --git a/src/thmviewer/thmviewer.vcxproj b/src/thmviewer/thmviewer.vcxproj
index 0c4612f2..ea589b4c 100644
--- a/src/thmviewer/thmviewer.vcxproj
+++ b/src/thmviewer/thmviewer.vcxproj
@@ -31,7 +31,6 @@
31 </ImportGroup> 31 </ImportGroup>
32 32
33 <ImportGroup Label="Shared"> 33 <ImportGroup Label="Shared">
34 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" />
35 </ImportGroup> 34 </ImportGroup>
36 35
37 <PropertyGroup> 36 <PropertyGroup>
@@ -62,6 +61,9 @@
62 </ItemGroup> 61 </ItemGroup>
63 62
64 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 63 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
64 <ImportGroup Label="ExtensionTargets">
65 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" />
66 </ImportGroup>
65 67
66 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 68 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
67 <PropertyGroup> 69 <PropertyGroup>
diff --git a/src/wix/wix.csproj b/src/wix/wix.csproj
index 398952af..1f2c61e0 100644
--- a/src/wix/wix.csproj
+++ b/src/wix/wix.csproj
@@ -26,7 +26,7 @@
26 </ItemGroup> 26 </ItemGroup>
27 27
28 <ItemGroup> 28 <ItemGroup>
29 <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All"/> 29 <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All" />
30 <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" /> 30 <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" />
31 </ItemGroup> 31 </ItemGroup>
32</Project> 32</Project>