summaryrefslogtreecommitdiff
path: root/src/ext/Dependency/wixlib/DependencyExtension_Platform.wxi
blob: e1feea286ba4613bc4bb8a245475163a33a2c9c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!-- 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 ?>
    
    <Fragment>
        <CustomAction Id="$(var.Prefix)DependencyRequire$(var.Suffix)" DllEntry="WixDependencyRequire" Execute="immediate" Return="check" SuppressModularization="yes" BinaryRef="DependencyCA$(var.Suffix)" />
        <InstallExecuteSequence>
            <Custom Action="$(var.Prefix)DependencyRequire$(var.Suffix)" Before="$(var.Prefix)DependencyCheck$(var.Suffix)" Overridable="yes" Condition="NOT DISABLEDEPENDENCYCHECK" />
        </InstallExecuteSequence>
        <UIRef Id="WixDependencyErrors" />
        <PropertyRef Id="DISABLEDEPENDENCYCHECK" />
    </Fragment>
    
    <Fragment>
        <CustomAction Id="$(var.Prefix)DependencyCheck$(var.Suffix)" DllEntry="WixDependencyCheck" Execute="immediate" Return="check" SuppressModularization="yes" BinaryRef="DependencyCA$(var.Suffix)" />
        <InstallExecuteSequence>
            <Custom Action="$(var.Prefix)DependencyCheck$(var.Suffix)" Before="InstallInitialize" Overridable="yes" Condition="(REMOVE OR MsiPatchRemovalList) AND NOT (UPGRADINGPRODUCTCODE OR IGNOREDEPENDENCIES=&quot;ALL&quot;)" />
        </InstallExecuteSequence>
        <UIRef Id="WixDependencyErrors" />
        <PropertyRef Id="IGNOREDEPENDENCIES" />
    </Fragment>
    
    <Fragment>
        <Binary Id="DependencyCA$(var.Suffix)" SourceFile="!(bindpath.$(var.platform))dependencyca.dll" />
    </Fragment>
</Include>