diff options
Diffstat (limited to 'src/test/msi/TestData/CustomActionTests/ManagedCustomActions/Package.wxs')
-rw-r--r-- | src/test/msi/TestData/CustomActionTests/ManagedCustomActions/Package.wxs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/test/msi/TestData/CustomActionTests/ManagedCustomActions/Package.wxs b/src/test/msi/TestData/CustomActionTests/ManagedCustomActions/Package.wxs new file mode 100644 index 00000000..9b1d224a --- /dev/null +++ b/src/test/msi/TestData/CustomActionTests/ManagedCustomActions/Package.wxs | |||
@@ -0,0 +1,32 @@ | |||
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"> | ||
4 | <Package Name="~Managed Custom Actions" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="41B5F815-E7F6-44E0-B92A-AE95DFF683F9"> | ||
5 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | ||
6 | |||
7 | <Feature Id="ProductFeature" Title="Feature with merged modules"> | ||
8 | <Component Directory="INSTALLFOLDER"> | ||
9 | <File Source="$(sys.SOURCEFILEPATH)" /> | ||
10 | </Component> | ||
11 | </Feature> | ||
12 | |||
13 | <Binary Id="ManagedCA" SourceFile="TestCA.CA.dll" /> | ||
14 | |||
15 | <CustomAction Id="ImmediateCA" BinaryRef="ManagedCA" DllEntry="ImmediateCA" Execute="immediate" Return="check" /> | ||
16 | <CustomAction Id="DeferredCA" BinaryRef="ManagedCA" DllEntry="DeferredCA" Execute="deferred" Return="check" /> | ||
17 | |||
18 | <InstallUISequence> | ||
19 | <Custom Action="ImmediateCA" Before="CostFinalize" /> | ||
20 | </InstallUISequence> | ||
21 | |||
22 | <InstallExecuteSequence> | ||
23 | <Custom Action="DeferredCA" After="InstallFiles" /> | ||
24 | </InstallExecuteSequence> | ||
25 | </Package> | ||
26 | |||
27 | <Fragment> | ||
28 | <StandardDirectory Id="ProgramFilesFolder"> | ||
29 | <Directory Id="INSTALLFOLDER" Name="ManagedCA" /> | ||
30 | </StandardDirectory> | ||
31 | </Fragment> | ||
32 | </Wix> | ||