diff options
Diffstat (limited to 'src/wixlib/DirectXExtension.wxs')
-rw-r--r-- | src/wixlib/DirectXExtension.wxs | 34 |
1 files changed, 34 insertions, 0 deletions
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 > 400</Custom> | ||
18 | </InstallUISequence> | ||
19 | |||
20 | <InstallExecuteSequence> | ||
21 | <Custom Action="WixQueryDirectXCaps" Before="LaunchConditions" Overridable="yes">VersionNT > 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> | ||