Update to WiX v7

This commit is contained in:
Cameron Gutman
2026-04-08 20:49:46 -05:00
parent 4ec682dc72
commit 07b00a6987
2 changed files with 12 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
<Project Sdk="WixToolset.Sdk/6.0.2" ToolsVersion="5.0">
<Project Sdk="WixToolset.Sdk/7.0.0" ToolsVersion="5.0">
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefineConstants>Debug</DefineConstants>
</PropertyGroup>
@@ -9,6 +9,9 @@
<PropertyGroup>
<DefineConstants>DeployDir=$(DEPLOY_FOLDER);BuildDir=$(BUILD_FOLDER)</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<AcceptEula>wix7</AcceptEula>
</PropertyGroup>
<PropertyGroup Condition="$(SIGN)!=''">
<SignOutput>true</SignOutput>
</PropertyGroup>
@@ -16,8 +19,7 @@
<Exec Command='signtool.exe $(SIGNTOOL_PARAMS) %(SignMsi.FullPath)' />
</Target>
<ItemGroup>
<PackageReference Include="WixToolset.Firewall.wixext" Version="6.0.2" />
<PackageReference Include="WixToolset.Util.wixext" Version="6.0.2" />
<PackageReference Include="WixToolset.Heat" Version="6.0.2" />
<PackageReference Include="WixToolset.Firewall.wixext" Version="7.0.0" />
<PackageReference Include="WixToolset.Util.wixext" Version="7.0.0" />
</ItemGroup>
</Project>

View File

@@ -1,4 +1,4 @@
<Project Sdk="WixToolset.Sdk/6.0.2">
<Project Sdk="WixToolset.Sdk/7.0.0">
<PropertyGroup>
<OutputType>Bundle</OutputType>
</PropertyGroup>
@@ -9,6 +9,9 @@
<OutputPath>$(INSTALLER_FOLDER)\</OutputPath>
<IntermediateOutputPath>$(BUILD_FOLDER)\</IntermediateOutputPath>
</PropertyGroup>
<PropertyGroup>
<AcceptEula>wix7</AcceptEula>
</PropertyGroup>
<PropertyGroup Condition="$(SIGN)!=''">
<SignOutput>true</SignOutput>
</PropertyGroup>
@@ -19,7 +22,7 @@
<Exec Command='signtool.exe $(SIGNTOOL_PARAMS) %(SignBundle.FullPath)' />
</Target>
<ItemGroup>
<PackageReference Include="WixToolset.Bal.wixext" Version="6.0.2" />
<PackageReference Include="WixToolset.Util.wixext" Version="6.0.2" />
<PackageReference Include="WixToolset.Bal.wixext" Version="7.0.0" />
<PackageReference Include="WixToolset.Util.wixext" Version="7.0.0" />
</ItemGroup>
</Project>