aboutsummaryrefslogtreecommitdiff
path: root/src/ext/DirectX/wixlib/DirectXExtension_Platform.wxi
blob: 317e75d45c3b3cfb8f533a430f5016831ef679d6 (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="$(var.Prefix)QueryDirectXCaps$(var.Suffix)" Before="LaunchConditions" Overridable="yes" />
        </InstallUISequence>

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