| 1 | <!-- 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. --> |
| 2 | |
| 3 | |
| 4 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <?include ..\..\caDecor.wxi ?> |
| 6 | |
| 7 | <Fragment> |
| 8 | <CustomAction Id="$(var.Prefix)DependencyRequire$(var.Suffix)" DllEntry="WixDependencyRequire" Execute="immediate" Return="check" SuppressModularization="yes" BinaryRef="DependencyCA$(var.Suffix)" /> |
| 9 | <InstallExecuteSequence> |
| 10 | <Custom Action="virtual $(var.Prefix)DependencyRequire$(var.Suffix)" Before="$(var.Prefix)DependencyCheck$(var.Suffix)" Condition="NOT DISABLEDEPENDENCYCHECK" /> |
| 11 | </InstallExecuteSequence> |
| 12 | |
| 13 | <UIRef Id="WixDependencyErrors" /> |
| 14 | |
| 15 | <PropertyRef Id="DISABLEDEPENDENCYCHECK" /> |
| 16 | </Fragment> |
| 17 | |
| 18 | <Fragment> |
| 19 | <CustomAction Id="$(var.Prefix)DependencyCheck$(var.Suffix)" DllEntry="WixDependencyCheck" Execute="immediate" Return="check" SuppressModularization="yes" BinaryRef="DependencyCA$(var.Suffix)" /> |
| 20 | <InstallExecuteSequence> |
| 21 | <Custom Action="virtual $(var.Prefix)DependencyCheck$(var.Suffix)" Before="InstallInitialize" Condition="(REMOVE OR MsiPatchRemovalList) AND NOT (UPGRADINGPRODUCTCODE OR IGNOREDEPENDENCIES="ALL")" /> |
| 22 | </InstallExecuteSequence> |
| 23 | |
| 24 | <UIRef Id="WixDependencyErrors" /> |
| 25 | |
| 26 | <PropertyRef Id="IGNOREDEPENDENCIES" /> |
| 27 | </Fragment> |
| 28 | |
| 29 | <Fragment> |
| 30 | <Binary Id="DependencyCA$(var.Suffix)" SourceFile="!(bindpath.$(var.platform))dependencyca.dll" /> |
| 31 | </Fragment> |
| 32 | </Include> |