<?xml version="1.0" encoding="utf-8"?>

<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   revision="1.0"
                   schemaVersion="1.0"
                   xmlns=" http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">

    <policyNamespaces>
        <target prefix="thinapp-config" namespace="VMware.Policies.ThinApp.InventoryName" />
        <using prefix="thinapp-base" namespace="VMware.Policies.ThinApp" />
        <using prefix="windows" namespace="Microsoft.Policies.Windows" />
    </policyNamespaces>

    <resources minRequiredRevision="1.0" />

    <categories>
        <category name="Category-ThinApp-App"
                  displayName="$(string.Category_DisplayName_App)">
            <parentCategory ref="thinapp-base:Category-ThinApp-Base" />
        </category>
    </categories>

    <policies>

        <policy name="Policy-AppSync"
                class="Machine"
                displayName="$(string.Policy_AppSync_DisplayName)"
                explainText="$(string.Policy_AppSync_ExplainText)"
                presentation="$(presentation.Presentation-AppSync)"
                key="Software\Policies\ThinApp\Management\InventoryName"
                valueName="AppSync">

            <parentCategory ref="Category-ThinApp-App" />
            <supportedOn ref="windows:SUPPORTED_WindowsXP" />

            <enabledValue> <decimal value="1" /> </enabledValue>
            <disabledValue> <decimal value="0" /> </disabledValue>

            <elements>
                <text id="TXT_SyncURL" key="Software\Policies\ThinApp\Management\InventoryName\AppSync" valueName="SyncURL" required="true" />
                <text id="TXT_UpdFreq" key="Software\Policies\ThinApp\Management\InventoryName\AppSync" valueName="UpdateFrequency" />
                <text id="TXT_UpdMsg" key="Software\Policies\ThinApp\Management\InventoryName\AppSync" valueName="UpdatedMessage" />
                <text id="TXT_ExpPrd" key="Software\Policies\ThinApp\Management\InventoryName\AppSync" valueName="ExpirePeriod" />
                <text id="TXT_ExpMsg" key="Software\Policies\ThinApp\Management\InventoryName\AppSync" valueName="ExpireMessage" />
                <text id="TXT_WarnPrd" key="Software\Policies\ThinApp\Management\InventoryName\AppSync" valueName="WarningPeriod" />
                <text id="TXT_WarnFreq" key="Software\Policies\ThinApp\Management\InventoryName\AppSync" valueName="WarningFrequency" />
                <text id="TXT_WarnMsg" key="Software\Policies\ThinApp\Management\InventoryName\AppSync" valueName="WarningMessage" />
                <boolean id="CHK_ClearSB" key="Software\Policies\ThinApp\Management\InventoryName\AppSync" valueName="ClearSandboxOnUpdate">
                    <trueValue> <decimal value="1" /> </trueValue>
                    <falseValue> <delete /> </falseValue>
                </boolean>
            </elements>
        </policy>

        <policy name="Policy-AppLink"
                class="Machine"
                displayName="$(string.Policy_AppLink_DisplayName)"
                explainText="$(string.Policy_AppLink_ExplainText)"
                presentation="$(presentation.Presentation-AppLink)"
                key="Software\Policies\ThinApp\Management\InventoryName"
                valueName="AppLink">

            <parentCategory ref="Category-ThinApp-App" />
            <supportedOn ref="windows:SUPPORTED_WindowsXP" />

            <enabledValue> <decimal value="1" /> </enabledValue>
            <disabledValue> <decimal value="0" /> </disabledValue>

            <elements>
               <list id="LST_ReqAppLnk" key="Software\Policies\ThinApp\Management\InventoryName\AppLink\Required" valuePrefix="Link" />
               <list id="LST_OptAppLnk" key="Software\Policies\ThinApp\Management\InventoryName\AppLink\Optional" valuePrefix="Link" />
            </elements>

        </policy>

        <policy name="Policy-DisableEntryPointShortcuts"
                class="Machine"
                displayName="$(string.Policy_DisableEntryPointShortcuts_DisplayName)"
                explainText="$(string.Policy_DisableEntryPointShortcuts_ExplainText)"
                presentation="$(presentation.Presentation-DisableEntryPointShortcuts)" 
                key="Software\Policies\ThinApp\Management\InventoryName" >

            <parentCategory ref="Category-ThinApp-App" />
            <supportedOn ref="windows:SUPPORTED_WindowsXP" />

            <elements>
               <list id="LST_DisableEPShortcuts" key="Software\Policies\ThinApp\Management\InventoryName\DisableShortcuts" valuePrefix="Shortcut"/>
            </elements>
        </policy>

    </policies>

</policyDefinitions>