aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2019-02-02 12:54:41 -0600
committerSean Hall <r.sean.hall@gmail.com>2019-02-02 12:54:41 -0600
commitc7bed5a084324ba94aae5108bac94374ce9dfe39 (patch)
treec9156a8e7a8cae8767dc17b61215a20bb5dcb253 /src/wixlib
parent29159bacb7ac1f88557b5f2fa6e7774c67ecddf7 (diff)
downloadwix-c7bed5a084324ba94aae5108bac94374ce9dfe39.tar.gz
wix-c7bed5a084324ba94aae5108bac94374ce9dfe39.tar.bz2
wix-c7bed5a084324ba94aae5108bac94374ce9dfe39.zip
Import code from old v4 repo
Diffstat (limited to 'src/wixlib')
-rw-r--r--src/wixlib/DirectXExtension.wixproj24
-rw-r--r--src/wixlib/DirectXExtension.wxs34
2 files changed, 58 insertions, 0 deletions
diff --git a/src/wixlib/DirectXExtension.wixproj b/src/wixlib/DirectXExtension.wixproj
new file mode 100644
index 00000000..e98970e9
--- /dev/null
+++ b/src/wixlib/DirectXExtension.wixproj
@@ -0,0 +1,24 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4
5<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
6 <PropertyGroup>
7 <ProjectGuid>{4D8DDEC7-AAAC-4A32-87D0-5992FE382ED9}</ProjectGuid>
8 <OutputName>directx</OutputName>
9 <OutputType>Library</OutputType>
10 <BindFiles>true</BindFiles>
11 <Pedantic>true</Pedantic>
12 <Cultures>en-us</Cultures>
13 </PropertyGroup>
14
15 <ItemGroup>
16 <Compile Include="DirectXExtension.wxs" />
17 </ItemGroup>
18
19 <ItemGroup>
20 <ProjectReference Include="..\ca\directx.vcxproj" />
21 </ItemGroup>
22
23 <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.targets" />
24</Project>
diff --git a/src/wixlib/DirectXExtension.wxs b/src/wixlib/DirectXExtension.wxs
new file mode 100644
index 00000000..022ea5a5
--- /dev/null
+++ b/src/wixlib/DirectXExtension.wxs
@@ -0,0 +1,34 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4
5<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
6 <?include caerr.wxi ?>
7
8 <!-- DirectX Custom Action DLL Definitions -->
9 <Fragment>
10 <Binary Id="WixDirectXCA" SourceFile="directx.dll" />
11 </Fragment>
12
13 <Fragment>
14 <CustomAction Id="WixQueryDirectXCaps" BinaryKey="WixDirectXCA" DllEntry="WixQueryDirectXCaps" Return="ignore" />
15
16 <InstallUISequence>
17 <Custom Action="WixQueryDirectXCaps" Before="LaunchConditions" Overridable="yes">VersionNT &gt; 400</Custom>
18 </InstallUISequence>
19
20 <InstallExecuteSequence>
21 <Custom Action="WixQueryDirectXCaps" Before="LaunchConditions" Overridable="yes">VersionNT &gt; 400</Custom>
22 </InstallExecuteSequence>
23 </Fragment>
24
25 <Fragment>
26 <Property Id="WIX_DIRECTX_VERTEXSHADERVERSION" Secure="yes" Value="NotSet" />
27 <CustomActionRef Id="WixQueryDirectXCaps" />
28 </Fragment>
29
30 <Fragment>
31 <Property Id="WIX_DIRECTX_PIXELSHADERVERSION" Secure="yes" Value="NotSet" />
32 <CustomActionRef Id="WixQueryDirectXCaps" />
33 </Fragment>
34</Wix>