69 lines
3.8 KiB
XML
69 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<InstallerPlatform>x64</InstallerPlatform>
|
|
<ProductVersion>3.10</ProductVersion>
|
|
<ProjectGuid>6017abe2-e82f-476d-b3da-18b634e092f2</ProjectGuid>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<OutputName>XIVChat Desktop Installer</OutputName>
|
|
<OutputType>Package</OutputType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
<DefineConstants>Debug</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Product.wxs"/>
|
|
<Compile Include="XIVChat Desktop.wxs"/>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<WixExtension Include="WixBalExtension">
|
|
<HintPath>$(WixExtDir)\WixBalExtension.dll</HintPath>
|
|
<Name>WixBalExtension</Name>
|
|
</WixExtension>
|
|
<WixExtension Include="WixUIExtension">
|
|
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
|
|
<Name>WixUIExtension</Name>
|
|
</WixExtension>
|
|
</ItemGroup>
|
|
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' "/>
|
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') "/>
|
|
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
|
|
<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/"/>
|
|
</Target>
|
|
<PropertyGroup>
|
|
<PreBuildEvent>
|
|
</PreBuildEvent>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
|
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
|
<OutputPath>bin\x64\Release\</OutputPath>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
</PropertyGroup>
|
|
<Target Name="BeforeBuild">
|
|
<Exec Command="dotnet publish "..\XIVChat Desktop\XIVChat Desktop.csproj" -c $(Configuration)"/>
|
|
<PropertyGroup>
|
|
<LinkerBaseInputPaths>..\XIVChat Desktop\bin\$(Configuration)\net5.0-windows10.0.18362.0\publish</LinkerBaseInputPaths>
|
|
<DefineConstants>BasePath=..\XIVChat Desktop\bin\$(Configuration)\net5.0-windows10.0.18362.0\publish</DefineConstants>
|
|
</PropertyGroup>
|
|
<HeatDirectory OutputFile="XIVChat Desktop.wxs" DirectoryRefId="INSTALLFOLDER" ComponentGroupName="XIVChat_Desktop" SuppressCom="true" Directory="..\XIVChat Desktop\bin\$(Configuration)\net5.0-windows10.0.18362.0\publish" SuppressFragments="true" SuppressRegistry="true" SuppressRootDirectory="true" AutoGenerateGuids="false" GenerateGuidsNow="true" ToolPath="$(WixToolPath)" PreprocessorVariable="var.BasePath"/>
|
|
</Target>
|
|
<!--
|
|
To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Wix.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
</Project>
|