aboutsummaryrefslogtreecommitdiff
path: root/src/test/msi/WixToolsetTest.MsiE2E/CustomActionTests.cs
blob: a30cf36fea0fe122733dd74df8366cea38d60de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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.

namespace WixToolsetTest.MsiE2E
{
    using System;
    using WixTestTools;
    using Xunit;
    using Xunit.Abstractions;

    public class CustomActionTests : MsiE2ETests
    {
        public CustomActionTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { }

        [RuntimeFact]
        public void CanInstallAndUninstallWithManagedCustomAction()
        {
            var product = this.CreatePackageInstaller("ManagedCustomActions");
            product.InstallProduct(MSIExec.MSIExecReturnCode.SUCCESS);

            product.UninstallProduct(MSIExec.MSIExecReturnCode.SUCCESS);
        }
    }
}