| 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 | |
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> |
| 5 | <Fragment> |
| 6 | <ComponentGroup Id="ProductComponents"> |
| 7 | <ComponentRef Id="Component1" /> |
| 8 | </ComponentGroup> |
| 9 | |
| 10 | <Property Id="TEMPDOMAIN" Secure="yes" /> |
| 11 | <Property Id="TEMPUSERNAME" Secure="yes" /> |
| 12 | |
| 13 | <InstallExecuteSequence> |
| 14 | <Custom Action="CaFail" After="Wix4ConfigureUsers_X86" /> |
| 15 | </InstallExecuteSequence> |
| 16 | </Fragment> |
| 17 | |
| 18 | <Fragment> |
| 19 | <util:Group Id="ADMIN" Name="Administrators" /> |
| 20 | <util:Group Id="POWER_USER" Name="Power Users" /> |
| 21 | |
| 22 | <Component Id="Component1" Guid="00030829-0000-0000-C000-000000000046" Directory="INSTALLFOLDER"> |
| 23 | <File Source="$(sys.SOURCEFILEPATH)" KeyPath="yes" /> |
| 24 | |
| 25 | <util:User Id="TEST_USER1" Name="testName1" Password="test123!@#" PasswordExpired="yes"> |
| 26 | <util:GroupRef Id="ADMIN" /> |
| 27 | <util:GroupRef Id="POWER_USER" /> |
| 28 | </util:User> |
| 29 | |
| 30 | <util:User Id="TEST_USER2" Name="testName2" Password="test123!@#" Disabled="yes" RemoveOnUninstall="no" PasswordNeverExpires="yes" UpdateIfExists="yes"> |
| 31 | <util:GroupRef Id="POWER_USER" /> |
| 32 | </util:User> |
| 33 | |
| 34 | <util:User Id="TEST_USER3" Name="testName3" CreateUser="no"> |
| 35 | <util:GroupRef Id="POWER_USER" /> |
| 36 | </util:User> |
| 37 | </Component> |
| 38 | </Fragment> |
| 39 | </Wix> |