mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Have customised the WiX installer so that it has some nice backgrounds, and so that the title and description text is white on black rather than black on grey. It works well.
135 lines
6.5 KiB
XML
135 lines
6.5 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>
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
<ProductVersion>3.10</ProductVersion>
|
|
<ProjectGuid>dfd22d4d-f2e4-4ba4-b32a-7a990a35ba08</ProjectGuid>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<OutputName>DisplayMagicianSetup</OutputName>
|
|
<OutputType>Package</OutputType>
|
|
<Name>DisplayMagicianSetup</Name>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
<DefineConstants>Debug</DefineConstants>
|
|
<CompilerAdditionalOptions>
|
|
</CompilerAdditionalOptions>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
<CompilerAdditionalOptions />
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
|
|
<DefineConstants>DisplayMagicianFilesDir=H:\vscode-projects\DisplayMagician\DisplayMagician\bin\Debug;</DefineConstants>
|
|
<CompilerAdditionalOptions>-arch x64</CompilerAdditionalOptions>
|
|
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
|
|
<SuppressAllWarnings>False</SuppressAllWarnings>
|
|
<Pedantic>True</Pedantic>
|
|
<WixVariables>
|
|
</WixVariables>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
|
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
|
|
<SuppressAllWarnings>False</SuppressAllWarnings>
|
|
<Pedantic>True</Pedantic>
|
|
<DefineConstants>DisplayMagicianFilesDir=H:\vscode-projects\DisplayMagician\Debug</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="CustomDialogs\LicenseAgreementDialogOverwritten.wxs" />
|
|
<Compile Include="Fragments\DisplayMagicianFilesFragment.wxs" />
|
|
<Compile Include="Product.wxs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\DisplayMagicianLogReporter\DisplayMagicianLogReporter.csproj">
|
|
<Name>DisplayMagicianLogReporter</Name>
|
|
<Project>{76df2bcf-911b-4820-b63e-8f3468db5e79}</Project>
|
|
<Private>True</Private>
|
|
<DoNotHarvest>
|
|
</DoNotHarvest>
|
|
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
|
|
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\DisplayMagicianShared\DisplayMagicianShared.csproj">
|
|
<Name>DisplayMagicianShared</Name>
|
|
<Project>{1cacda43-01c7-4cd4-bf6e-9421a29510fc}</Project>
|
|
<Private>True</Private>
|
|
<DoNotHarvest>
|
|
</DoNotHarvest>
|
|
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
|
|
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\DisplayMagicianShellExtension\DisplayMagicianShellExtension.csproj">
|
|
<Name>DisplayMagicianShellExtension</Name>
|
|
<Project>{55d4ff65-edc7-48ef-933e-b6e7f3809b68}</Project>
|
|
<Private>True</Private>
|
|
<DoNotHarvest>
|
|
</DoNotHarvest>
|
|
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
|
|
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\DisplayMagician\DisplayMagician.csproj">
|
|
<Name>DisplayMagician</Name>
|
|
<Project>{608d941a-b431-400c-a91d-c6f971c29577}</Project>
|
|
<Private>True</Private>
|
|
<DoNotHarvest>
|
|
</DoNotHarvest>
|
|
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
|
|
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Includes" />
|
|
<Folder Include="Fragments" />
|
|
<Folder Include="CustomActions" />
|
|
<Folder Include="CustomDialogs" />
|
|
<Folder Include="Lang" />
|
|
<Folder Include="Lang\en-us" />
|
|
<Folder Include="Resources" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="Includes\DisplayMagicianVariables.wxi" />
|
|
<Content Include="Lang\en-us\EULA_en-us.rtf" />
|
|
<Content Include="Resources\DisplayMagician.ico" />
|
|
<Content Include="Resources\WixUIBannerBmp.png" />
|
|
<Content Include="Resources\WixUIDialogBmp.png" />
|
|
<Content Include="Resources\WixUIDialogBmpDarker.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Lang\en-us\Loc_en-us.wxl" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<WixExtension Include="WixUtilExtension">
|
|
<HintPath>C:\Program Files (x86)\WiX Toolset v3.14\bin\WixUtilExtension.dll</HintPath>
|
|
<Name>WixUtilExtension</Name>
|
|
</WixExtension>
|
|
<WixExtension Include="WixUIExtension">
|
|
<HintPath>C:\Program Files (x86)\WiX Toolset v3.14\bin\WixUIExtension.dll</HintPath>
|
|
<Name>WixUIExtension</Name>
|
|
</WixExtension>
|
|
<WixExtension Include="WixNetFxExtension">
|
|
<HintPath>C:\Program Files (x86)\WiX Toolset v3.14\bin\WixNetFxExtension.dll</HintPath>
|
|
<Name>WixNetFxExtension</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>"$(WIX)bin\heat.exe" dir H:\vscode-projects\DisplayMagician\DisplayMagician\bin\Debug -cg DisplayMagicianFiles -gg -scom -sreg -sfrag -srd -dr APPLICATIONROOTDIRECTORY -var var.DisplayMagicianFilesDir -out "$(ProjectDir)Fragments\DisplayMagicianFilesFragment.wxs"</PreBuildEvent>
|
|
</PropertyGroup>
|
|
<!--
|
|
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> |