aboutsummaryrefslogtreecommitdiff
path: root/src/ext/DirectX/wixlib/DirectXExtension_Platform.wxi
blob: efcaaad2828d2844a398e3703c3a52d802fe2d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- 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. -->


<Include xmlns="http://wixtoolset.org/schemas/v4/wxs">
    <?include ..\..\caDecor.wxi ?>

    <!-- DirectX Custom Action DLL Definitions -->
    <Fragment>
        <Binary Id="$(var.Prefix)DXCA$(var.Suffix)" SourceFile="!(bindpath.$(var.platform))dxca.dll" />
    </Fragment>

    <Fragment>
        <CustomAction Id="$(var.Prefix)QueryDirectXCaps$(var.Suffix)" DllEntry="WixQueryDirectXCaps" Return="ignore" BinaryRef="$(var.Prefix)DXCA$(var.Suffix)" />

        <InstallUISequence>
            <Custom Action="virtual $(var.Prefix)QueryDirectXCaps$(var.Suffix)" Before="LaunchConditions" />
        </InstallUISequence>

        <InstallExecuteSequence>
            <Custom Action="virtual $(var.Prefix)QueryDirectXCaps$(var.Suffix)" Before="LaunchConditions" />
        </InstallExecuteSequence>
    </Fragment>
</Include>