diff options
Diffstat (limited to 'src/test/msi/TestData/CustomActionTests/TestCA/CustomAction.cs')
-rw-r--r-- | src/test/msi/TestData/CustomActionTests/TestCA/CustomAction.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/test/msi/TestData/CustomActionTests/TestCA/CustomAction.cs b/src/test/msi/TestData/CustomActionTests/TestCA/CustomAction.cs new file mode 100644 index 00000000..6891f8da --- /dev/null +++ b/src/test/msi/TestData/CustomActionTests/TestCA/CustomAction.cs | |||
@@ -0,0 +1,28 @@ | |||
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 | namespace WixToolsetTest.TestCA | ||
4 | { | ||
5 | using System; | ||
6 | using System.Collections.Generic; | ||
7 | using System.Linq; | ||
8 | using WixToolset.Dtf.WindowsInstaller; | ||
9 | |||
10 | public class CustomActions | ||
11 | { | ||
12 | [CustomAction] | ||
13 | public static ActionResult ImmediateCA(Session session) | ||
14 | { | ||
15 | session.Log("Begin ImmediateCA"); | ||
16 | |||
17 | return ActionResult.Success; | ||
18 | } | ||
19 | |||
20 | [CustomAction] | ||
21 | public static ActionResult DeferredCA(Session session) | ||
22 | { | ||
23 | session.Log("Begin DeferredCA"); | ||
24 | |||
25 | return ActionResult.Success; | ||
26 | } | ||
27 | } | ||
28 | } | ||