| 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 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui"> |
| 4 | <Fragment> |
| 5 | <ComponentGroup Id="ProductComponents" /> |
| 6 | |
| 7 | <ui:WixUI Id="WixUI_Minimal" /> |
| 8 | |
| 9 | <Binary Id="TestData" SourceFile="$(var.ManagedCA.TargetDir)testsub\testfile.txt" /> |
| 10 | <Binary Id="ManagedCA" SourceFile="$(var.ManagedCA.TargetDir)$(var.ManagedCA.TargetName).CA.dll" /> |
| 11 | <CustomAction Id="SampleCA1" BinaryRef="ManagedCA" DllEntry="SampleCA1" Execute="firstSequence" /> |
| 12 | <CustomAction Id="SampleCustomAction2" BinaryRef="ManagedCA" DllEntry="SampleCA2" Execute="firstSequence" Return="ignore" /> |
| 13 | |
| 14 | <InstallUISequence> |
| 15 | <Custom Action="SampleCA1" After="CostFinalize" Condition="NOT Installed" /> |
| 16 | <Custom Action="SampleCustomAction2" After="SampleCA1" Condition="NOT Installed" /> |
| 17 | </InstallUISequence> |
| 18 | |
| 19 | <InstallExecuteSequence> |
| 20 | <Custom Action="SampleCA1" After="CostFinalize" Condition="NOT Installed" /> |
| 21 | <Custom Action="SampleCustomAction2" After="SampleCA1" Condition="NOT Installed" /> |
| 22 | </InstallExecuteSequence> |
| 23 | </Fragment> |
| 24 | </Wix> |