| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> |
| 2 | <Fragment> |
| 3 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> |
| 4 | <Component> |
| 5 | <File Source="example.txt"> |
| 6 | <util:PermissionEx User="Everyone" GenericAll="yes" /> |
| 7 | </File> |
| 8 | <CreateFolder> |
| 9 | <util:PermissionEx User="Everyone" GenericAll="yes" /> |
| 10 | </CreateFolder> |
| 11 | <ServiceInstall Name="testsvc" Type="ownProcess" Start="disabled" ErrorControl="normal"> |
| 12 | <util:PermissionEx User="Everyone" GenericAll="yes" /> |
| 13 | </ServiceInstall> |
| 14 | <RegistryKey Id="ExampleRegistryKey" ForceCreateOnInstall="yes" Root="HKLM" Key="TestRegistryKey"> |
| 15 | <util:PermissionEx User="Everyone" GenericAll="yes" /> |
| 16 | </RegistryKey> |
| 17 | <RegistryValue Root="HKLM" Key="TestRegistryValueKey" Value="abc"> |
| 18 | <!-- |
| 19 | Example of placing the namespace on the extension element. This is NOT recommended |
| 20 | in v4 and its converter will move namespaces to the root, but WiX v3 allowed it so |
| 21 | we'll continued to do so for now. |
| 22 | --> |
| 23 | <PermissionEx User="Everyone" GenericAll="yes" xmlns="http://wixtoolset.org/schemas/v4/wxs/util" /> |
| 24 | </RegistryValue> |
| 25 | </Component> |
| 26 | </ComponentGroup> |
| 27 | </Fragment> |
| 28 | </Wix> |