<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?simatic-application progid="Ssc_service_x.Setup"?>
<t:sscSetup xmlns:t="http://www.siemens.com/automation/2005/SimaticSecurityControl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.siemens.com/automation/2005/SimaticSecurityControl ssc_schema_x.xsd">
	<!-- t.name="" ist equivalent to localhost -->
	<t:host name="">
		<!-- PRODUCT setup -->
		<!-- Product package provides a file named "package.setup", it is -->
		<!-- the responsability of the install programm to rename that file -->
		<!-- "package(2).setup" for the second installation -->
		<!-- "package(n).setup" for the nth installation -->
		<!-- so a package may not be concerned by multiple installations. -->
		<!-- The setup service will trace multiple installations -->
		<!-- of the same package in the "resume file" as follow :  -->
		<!-- first  installation, name ist like value="NAME" -->
		<!-- second installation, name ist like value="NAME" install="2" -->
		<!-- nth    installation, name ist like value="NAME" install="n" -->
		<t:products>
			<t:product value="Automation License Manager Service"/>
			<t:checksum value="-1027887376000000000000000000000"/>
		</t:products>
		<t:body>
			<t:fileSystemPermissions>
				<t:fileSystemPath value="C:\ProgramData\Siemens\Automation\Automation License Manager\config">
					<t:inheritFromParentToChild value="false" inherited="CopyInherited"/>
					<t:filePermissions applyOnto="This folder, subfolders and files" user="Users">
						<t:createFiles_writeData allow="false" deny="false"/>
						<t:createFolders_appendData allow="false" deny="false"/>
						<t:writeAttributes allow="false" deny="false"/>
						<t:writeExtendedAttributes allow="false" deny="false"/>
						<!-- Due to a bug in Secon, all users rights are deleted instead of only the 2 listed above, we've to add at least the following -->
						<t:traverseFolder_executeFile allow="true" deny="false"/>
						<t:listFolder_readData allow="true" deny="false"/>
						<t:readAttributes allow="true" deny="false"/>
						<t:readExtendedAttributes allow="true" deny="false"/>
						<t:readPermissions allow="true" deny="false"/>
					</t:filePermissions>
					<t:replaceAllChild value="false"/>
				</t:fileSystemPath>
				<t:fileSystemPath value="C:\ProgramData\Siemens\Automation\Automation License Manager\repository\admin">
					<t:inheritFromParentToChild value="false" inherited="CopyInherited"/>
					<t:filePermissions applyOnto="This folder, subfolders and files" user="Users">
						<t:traverseFolder_executeFile allow="false" deny="false"/>
						<t:createFiles_writeData allow="false" deny="false"/>
						<t:createFolders_appendData allow="false" deny="false"/>
						<t:listFolder_readData allow="false" deny="false"/>
					</t:filePermissions>
					<t:replaceAllChild value="false"/>
				</t:fileSystemPath>
			</t:fileSystemPermissions>
		</t:body>
	</t:host>
</t:sscSetup>
