blob: be6e16a4dc183d471d7feeb058c78d10cb198ccc (
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
30
31
32
33
34
35
|
<!-- 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" />
</Fragment>
<Fragment>
<util:Group Id="ADMIN" Name="Administrators" />
<util:Group Id="POWER_USER" Name="Power Users" />
<Component Id="Component1" Guid="09624A9A-4BBC-4126-BBF9-0713C5217DB1" Directory="INSTALLFOLDER">
<File Source="$(sys.SOURCEFILEPATH)" KeyPath="yes" />
<util:User Id="TEST_USER1" Name="testName1" Password="test123!@#" PasswordExpired="yes" CreateUser="yes" RemoveOnUninstall="yes">
<util:GroupRef Id="ADMIN" />
<util:GroupRef Id="POWER_USER" />
</util:User>
<util:User Id="TEST_USER2" Name="testName2" Password="test123!@#" Disabled="yes" RemoveOnUninstall="no" PasswordNeverExpires="yes" UpdateIfExists="yes">
<util:GroupRef Id="POWER_USER" />
</util:User>
<util:User Id="TEST_USER3" Name="testName3" CreateUser="no">
<util:GroupRef Id="POWER_USER" />
</util:User>
</Component>
</Fragment>
</Wix>
|