Skip to content

Commit dd5cce7

Browse files
committed
Upgraded Setup to WiX toolset 6.0.2.
Signed-off-by: Robert F. Frasca <[email protected]>
1 parent 9f37a11 commit dd5cce7

File tree

4 files changed

+738
-437
lines changed

4 files changed

+738
-437
lines changed

src/Build/GetSumatraPDF.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# * with PDFKeeper. If not, see <https://www.gnu.org/licenses/>.
1919
# *****************************************************************************
2020

21-
$folder = "..\..\..\..\vendor"
21+
$folder = "..\..\..\..\..\vendor"
2222
$version = "3.5.2"
2323
$zipFileUrl = "https://www.sumatrapdfreader.org/dl/rel/$version/SumatraPDF-$version-64.zip"
2424
$zipFile = "$folder\SumatraPDF-$version-64.zip"
-1.18 KB
Binary file not shown.
Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,19 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="WixToolset.Sdk/6.0.2">
32
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
53
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
6-
<ProductVersion>3.10</ProductVersion>
7-
<ProjectGuid>97756c6a-853a-4cba-8507-d33b20b6dd07</ProjectGuid>
8-
<SchemaVersion>2.0</SchemaVersion>
94
<OutputName>PDFKeeper-11.3.0</OutputName>
10-
<OutputType>Package</OutputType>
115
</PropertyGroup>
126
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
13-
<OutputPath>bin\$(Configuration)\</OutputPath>
14-
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
157
<DefineConstants>Debug</DefineConstants>
168
</PropertyGroup>
179
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
18-
<OutputPath>bin\$(Configuration)\</OutputPath>
19-
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
2010
<SuppressPdbOutput>True</SuppressPdbOutput>
21-
<SuppressValidation>False</SuppressValidation>
11+
<SuppressValidation>false</SuppressValidation>
2212
<SuppressIces>
2313
</SuppressIces>
2414
</PropertyGroup>
2515
<ItemGroup>
26-
<Compile Include="Product.wxs" />
27-
</ItemGroup>
28-
<ItemGroup>
29-
<Content Include="PDFKeeper.Setup.wax" />
30-
</ItemGroup>
31-
<ItemGroup>
32-
<WixExtension Include="WixNetFxExtension">
33-
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
34-
<Name>WixNetFxExtension</Name>
35-
</WixExtension>
16+
<PackageReference Include="WixToolset.Netfx.wixext" Version="6.0.2" />
3617
</ItemGroup>
3718
<ItemGroup>
3819
<ProjectReference Include="..\PDFKeeper.Core\PDFKeeper.Core.csproj">
@@ -60,17 +41,4 @@
6041
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
6142
</ProjectReference>
6243
</ItemGroup>
63-
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
64-
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
65-
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
66-
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
67-
</Target>
68-
<!--
69-
To modify your build process, add your task inside one of the targets below and uncomment it.
70-
Other similar extension points exist, see Wix.targets.
71-
<Target Name="BeforeBuild">
72-
</Target>
73-
<Target Name="AfterBuild">
74-
</Target>
75-
-->
76-
</Project>
44+
</Project>

0 commit comments

Comments
 (0)