aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Util/test/WixToolsetTest.Util/TestData/PermissionEx/PackageComponents.wxs
blob: 09f0a72417eb9e2d825a76420cfcc5417ed6c488 (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
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
    <Fragment>
        <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
            <Component>
                <File Source="example.txt">
                    <util:PermissionEx User="Everyone" GenericAll="yes" />
                </File>
                <CreateFolder>
                    <util:PermissionEx User="Everyone" GenericAll="yes" />
                </CreateFolder>
                <ServiceInstall Name="testsvc" Type="ownProcess" Start="disabled" ErrorControl="normal">
                    <util:PermissionEx User="Everyone" GenericAll="yes" />
                </ServiceInstall>
                <RegistryKey Id="ExampleRegistryKey" ForceCreateOnInstall="yes" Root="HKLM" Key="TestRegistryKey">
                    <util:PermissionEx User="Everyone" GenericAll="yes" />
                </RegistryKey>
                <RegistryValue Root="HKLM" Key="TestRegistryValueKey" Value="abc">
                    <!--
                      Example of placing the namespace on the extension element. This is NOT recommended
                      in v4 and its converter will move namespaces to the root, but WiX v3 allowed it so
                      we'll continued to do so for now.
                    -->
                    <PermissionEx User="Everyone" GenericAll="yes" xmlns="http://wixtoolset.org/schemas/v4/wxs/util" />
                </RegistryValue>
            </Component>
        </ComponentGroup>
    </Fragment>
</Wix>