﻿<?xml version="1.0" encoding="UTF-8"?>
<!--
<PC-cillin> element
- version          :

<Registry> element
- Root (Required)  : "HKCR"               -> HKEY_CLASSES_ROOT
                     "HKCU"               -> HKEY_CURRENT_USER
                     "HKLM"               -> HKEY_LOCAL_MACHINE
                     "HKU"                -> HKEY_USERS
- Path (Required)  : Path of subkey
- AccessMode       : "32bitKey"           -> 32/64bit process > 32bit registry key
                   : "64bitKey"           -> 32/64bit process > 64bit registry key
                   : "default"            -> 32/64bit process > 32/64bit registry key (32>32, 64>64)

<Key> element
- Name             : registry value name. If you does not set this element, This element specifies not "entry" but "subkey" with <Path> element.
- Type             : "uint32"             -> The value is interpreted and stored as DWORD
                   : "uint64"             -> The value is interpreted and stored as QWORD
                   : "string"             -> The value is interpreted and stored as a string
                   : "binary"             -> The value is interpreted and stored as a hexadecimal value
- Action (Required): "append"             -> Appends the specified value as string/binary.
                   : "create"             -> Creates a subkey
                   : "write"              -> Writes a subkey or value
                   : "remove"             -> Removes a subkey or value
- OverWrite        : "yes"                -> OverWrite registry when it already exists
                   : "no"                 -> Do not overWrite registry when it already exists
- AllAccess        : "yes"                -> Store registry values with all access
                   : "no"                 -> Store registry values with suitable access
- Value            : registry value.
- target           : must be "registry"

<IniFile> element
- Path (Required)  : Path of Inifile. You can use the following path;
                   : $INSTALL$ (installed folder) $WINDOWS$ (windows folder), $SYSTEM$ (system folder), and $CURRENT$ (process current folder))
- Section(Requierd): Name of section

<Entry element>
- Name             : registry value name. If you does not set this element, This element specifies not "entry" but "subkey" with <Path> element.
- Type             : "uint32"             -> The value is interpreted and stored as UINT32
                   : "string"             -> The value is interpreted and stored as a string
- Action (Required): "append"             -> Appends the specified value as string.
                   : "write"              -> Writes a subkey or value
                   : "remove"             -> Removes a subkey or value
- OverWrite        : "yes"                -> OverWrite registry when it already exists
                   : "no"                 -> Do not overWrite registry when it already exists
- Value            : registry value.
- target           : must be "inifile"


*** Examples for starting root element ***

<PC-cillin version="16.00.0000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SfFnLcUp.xsd">

*** Examples for setting parent registry ***

  <Registry label="Registry for PC-cillin 16" minversion="16.00.0000" maxversion="16.99.9999" product="all" language="all" platform="all">
    <Root>HKLM</Root>
    <Path>Software\TrendMicro\PC-cillin\16</Path>
    <AccessMode>eModeDefault</AccessMode>

*** Examples for Creating subkey (Not set <Name> element.) ***

    <Key label="Creat subkey " target="registry" minversion="16.00.0000" maxversion="16.99.9999" product="all" language="all" platform="all" >
      <Action>create</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>no</AllAccess>
    </Key>

*** Examples for Writing value - DWORD (<Value> element is readed with the decimal system.) ***

    <Key label="Write DWORD value " target="registry" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all">
      <Name>AAAAAA</Name>
      <Type>uint32</Type>
      <Action>write</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>no</AllAccess>
      <Value>32</Value>
    </Key>

*** Examples for Writing value - BINARY (<Value> element is readed as hexa-string.) ***

    <Key label="Write BINARY value" target="registry" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all">
      <Name>BBBBBB</Name>
      <Type>binary</Type>
      <Action>write</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>no</AllAccess>
      <Value>0001020304050607080910111213141516171819</Value>
    </Key>

*** Examples for Appending value (<Type> element match the type of appended value.) ***

    <Key label="Append String value" target="registry" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all">
      <Name>CCCCCC</Name>
      <Type>string</Type>
      <Action>append</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>no</AllAccess>
      <Value>cccccc</Value>
    </Key>

*** Examples for Removing value ***

    <Key label="Remove value" target="registry" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all">
      <Name>DDDDDD</Name>
      <Action>remove</Action>
    </Key>    

*** Examples for Removing subkey ((Not set <Name> element.) ***

    <Key label="Remove subkey" target="registry" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all">
      <Action>remove</Action>
    </Key>    

*** Examples for ending parent subkey ***

  </Registry>  



*** Examples for setting inifile section ***

  <IniFile label="Action Check" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all" >
    <Path>D:\work\TIS16\MySrc\ClassFactoryNew\TmPfw.ini</Path>
    <Section>Action</Section>

*** Examples for Writing value - DWORD (<Value> element is readed with the decimal system.) ***

    <Entry label="Write for DWORD value" target="inifile" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all">
      <Name>EEEEEE</Name>
      <Type>uint32</Type>
      <Action>write</Action>
      <OverWrite>yes</OverWrite>
      <Value>32</Value>
    </Entry>

*** Examples for Appending value (<Type> element match the type of appended value.) ***

   <Entry label="Append String value" target="inifile" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all">
      <Name>FFFFFF</Name>
      <Type>string</Type>
      <Action>append</Action>
      <OverWrite>yes</OverWrite>
      <Value>ffffff</Value>
    </Entry>

*** Examples for Removing value ***

    <Entry label="Remove value" target="inifile" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all">
      <Name>GGGGGG</Name>
      <Action>remove</Action>
    </Entry>

*** Examples for Removing section ((Not set <Name> element.) ***

    <Entry label="Remove secton" target="inifile" minversion="15.00.0000" maxversion="17.00.0000" product="all" language="all" platform="all">
      <Action>remove</Action>
    </Entry>

*** Examples for ending parent subkey ***

  </IniFile>


*** Examples for ending root element ***

</PC-cillin>

-->

<PC-cillin version="16.00.0000" check="yes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SfIsSchm.xsd">
  <Registry label="Vsapi filtrer setting" minversion="16.00.0000" maxversion="16.99.9999" product="all" language="all" platform="all">
    <Root>HKLM</Root>
    <Path>SYSTEM\CurrentControlSet\Services\tmpreflt\Parameters</Path>
    <AccessMode>eModeDefault</AccessMode>
    <Key label="EnableMiniFilter" target="registry" minversion="16.00.0000" maxversion="16.99.9999"  product="all" language="all" platform="all" >
      <Name>EnableMiniFilter</Name>
      <Type>uint32</Type>
      <Action>write</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>no</AllAccess>
      <Value>1</Value>
    </Key>
    <Key label="FilterMode" target="registry" minversion="16.00.0000" maxversion="16.99.9999"  product="all" language="all" platform="all" >
      <Name>FilterMode</Name>
      <Type>uint32</Type>
      <Action>write</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>no</AllAccess>
      <Value>1</Value>
    </Key>
  </Registry>
  <Registry label="URL Filter Log Extension" minversion="16.00.0000" maxversion="16.99.9999" product="all" language="all" platform="all">
    <Root>HKLM</Root>
    <Path>SOFTWARE\TrendMicro\NSC\TmProxy\Scan\http\URLFilter</Path>
    <AccessMode>eModeDefault</AccessMode>
    <Key label="LogExtension" target="registry" minversion="16.00.0000" maxversion="16.99.9999" product="tisorpro" language="all" platform="all">
      <Name>LogExtension</Name>
      <Type>string</Type>
      <Action>write</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>yes</AllAccess>
      <Value>ULG,HLG</Value>
    </Key> 
  </Registry>
  <Registry label="PID" minversion="16.00.0000" maxversion="16.99.9999" product="all" language="all" platform="all">
    <Root>HKLM</Root>
    <Path>Software\TrendMicro\PC-cillin</Path>
    <AccessMode>eModeDefault</AccessMode>
    <Key label="PID for TAV" target="registry" minversion="16.00.0000" maxversion="16.99.9999" product="tav" language="all" platform="all">
      <Name>PID</Name>
      <Type>string</Type>
      <Action>write</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>yes</AllAccess>
      <Value>CBG1</Value>
    </Key>
    <Key label="PID for TIS" target="registry" minversion="16.00.0000" maxversion="16.99.9999" product="tis" language="all" platform="all">
      <Name>PID</Name>
      <Type>string</Type>
      <Action>write</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>yes</AllAccess>
      <Value>CIG1</Value>
    </Key>
    <Key label="PID for TISPro" target="registry" minversion="16.00.0000" maxversion="16.99.9999" product="tispro" language="all" platform="all">
      <Name>PID</Name>
      <Type>string</Type>
      <Action>write</Action>
      <OverWrite>yes</OverWrite>
      <AllAccess>yes</AllAccess>
      <Value>CEG1</Value>
    </Key>
  </Registry>
  <IniFile>
    <Path></Path>
    <Section></Section>
  </IniFile>
</PC-cillin>