aboutsummaryrefslogtreecommitdiff
path: root/src/test/msi/TestData/UtilExtensionGroupTests/ProductFail/product_fail.wxs
blob: 3013e5a024f598f8231836864a4e0df9c5849bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!-- 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. -->


<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
    <Fragment>
        <ComponentGroup Id="ProductComponents">
            <ComponentRef Id="Component1" />
        </ComponentGroup>

        <Property Id="TEMPDOMAIN" Secure="yes" />
        <Property Id="TEMPUSERNAME" Secure="yes" />

        <InstallExecuteSequence>
            <Custom Action="CaFail" After="Wix6ConfigureGroups_X86" />
        </InstallExecuteSequence>
    </Fragment>

    <Fragment>
        <Component Id="Component1" Guid="00030829-0000-0000-C000-000000000046" Directory="INSTALLFOLDER">
            <File Source="$(sys.SOURCEFILEPATH)" KeyPath="yes" />

            <util:Group Id="TEST_GROUP1" Name="testName1" />

            <util:Group Id="TEST_GROUP2" Name="testName2" RemoveOnUninstall="no" UpdateIfExists="yes" />

            <util:Group Id="TEST_GROUP3" Name="testName3" CreateGroup="no" />
        </Component>
    </Fragment>
</Wix>