aboutsummaryrefslogtreecommitdiff
path: root/src/test/msi/TestData/UtilExtensionUserTests/ProductCommentFail/product_fail.wxs
blob: f36d5bd5d57a6b39730569bffe7d5bd35970dbea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!-- 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>

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

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

            <util:User Id="TEST_USER1" Name="testName1" Password="test123!@#" PasswordExpired="yes" CreateUser="yes" RemoveOnUninstall="yes" Comment="testComment1"/>
        </Component>
    </Fragment>
</Wix>