<?xml version="1.0" encoding="utf-8"?>
<!-- 
  This XML file includes options and settings that drive the functionality of the Xerox Driver Installer.
  Available command line arguments to pass the installer include the following...
  PARAMETER:
    /XMLFILE:
  DESCRIPTION:
	This parameter allows the installer to be executed while using a custom installer XML file (rather than the
    default XDriverInstall.xml file).
  OPTIONS:
    Simply include the custom XML filename that resides in the same directory as the installer executable
  PARAMETER:
    /INSTALLTYPE:
  DESCRIPTION:
	This parameter allows the installer to be executed while specifying the type of install to perform.
  OPTIONS:
    PRINTER_ONLY - Run a print driver only install
    SCANNER_ONLY - Run a scan driver only install
    PRINTER_AND_SCANNER - Run a print driver install followed by a scan driver install
    GLOBAL_DRIVER - Run a global print driver install
  EXAMPLE:
    The following command would execute the installer using a custom XML file by the name of Device1.xml and
	install a print driver only...
	"XDriverInstaller.exe /XMLFILE:Device1.xml /INSTALLTYPE:PRINTER_ONLY"
  -->
<XDriverInstaller>
	<!-- 
  EDITS ALLOWED: YES
  DESCRIPTION:
    This section contains administrator configurable options that customize the functionality and features used
    throughout the install process for the device being installed.  Feel free to edit the options in this section
    to customize the behavior of the installer in order to achieve the desired results.
    -->
	<AdminSection>
		<!--
    MAIN TAG NAME(s):
     <AdminDialog>
     <AdminDialogCaption>
     <AdminDialogMessage>
    DESCRIPTION:
	   Administrator Defined Message Box -
	   This setting allows an administrator to specify a dialog caption and message that will be used to display
     a messagebox at the beginning of the install process.
    OPTIONS:
     Set <AdminDialog> to 1 and enter text to use for the dialog caption and message in the corresponding tags
     below to invoke this feature.
     0 - Do not display administrator defined message box
     1 - Display adminstrator defined message box
     -->
		<AdminDialog>0</AdminDialog>
		<AdminDialogCaption>Dialog Caption Goes Here</AdminDialogCaption>
		<AdminDialogMessage>Dialog Message Goes Here</AdminDialogMessage>
		<!--
    MAIN TAG NAME(s):
      <EULAFormat>
    DESCRIPTION:
	    This setting informs the installer which format the EULA text file is stored in for the current product.
    OPTIONS:
      0 - Unicode
      1 - Ansi
      -->
		<EULAFormat>0</EULAFormat>
		<!-- 
    MAIN TAG NAME(s):
      <InstallType>
    DESCRIPTION:
      This setting defines the type of install to run.
      NOTE: If the installer is launched by Startup or launched manually with INSTALLTYPE specified on the command
      line, then the value contained in this XML will be over-written.  The same goes if this is a web package and
      the install directory contains a dummyfile (such as scanonlyinstall.txt or printandscaninstall.txt).
    OPTIONS:
      1 - Printer Only Install
      2 - Scanner Only Install
      3 - Printer And Scanner Install
      -->
		<InstallType>3</InstallType>
		<!-- 
    MAIN TAG NAME(s):
      <InstallScreen>
    DESCRIPTION:
      This setting defines the default option that will be selected when the main installer dialog is displayed.
    OPTIONS:
	    0 - Let installation decide what to default to
	    2 - Default to discovery window selection
	    5 - Default to manually specify IP/DNS selection
      -->
		<InstallScreen>0</InstallScreen>
		<!-- 
    MAIN TAG NAME(s):
      <PortValue>
    DESCRIPTION:
      This setting defines the value to automatically populate in the edit control where you would specify the IP Address or DNS Name of a device to 
      install manually.
    OPTIONS:
      Enter an IP Address or DNS Name to populate the edit control with.
      -->
		<PortValue></PortValue>
		<!-- 
    MAIN TAG NAME(s):
      <Gateway>
      <SubnetMask>
    DESCRIPTION:
      The following two settings are used to define a default value for the Gateway and SubnetMask fields used
      in the Advanced Network Search dialog when the Advanced Search button is clicked.
    OPTIONS:
      Enter a Gateway address or a SubnetMask address in the corresponding tags below to invoke this feature.
      -->
		<Gateway></Gateway>
		<SubnetMask></SubnetMask>
		<!-- 
    MAIN TAG NAME(s):
      <CommunityName>
    DESCRIPTION:
      This will allow the customer to to enter a custom SNMP community name so that the installers discovery function 
	    can perform correctly when a customer has changed the devices default SNMP community name
    OPTIONS:
      Enter a community name, default is set to "public"  
      -->
		<CommunityName>public</CommunityName>
		<!-- 
    MAIN TAG NAME(s):
      <DiscoveryMethods>
    DESCRIPTION:
      The following settings define which methods to use to discover additional devices.
    OPTIONS:
      0 - Do not search for printer/scanner using this method
      1 - Search for printer/scanner using this method
      NOTE: We do not support discovery via USB or LPT for scanners
      -->
		<DiscoveryMethods>
			<PrintUSBSearch>1</PrintUSBSearch>
			<PrintNETSearch>1</PrintNETSearch>
			<ScanNETSearch>1</ScanNETSearch>
		</DiscoveryMethods>
		<!-- 
    MAIN TAG NAME(s):
      <DiscoveryProtocols>
    DESCRIPTION:
      The following settings define which network protocols to use to discover additional devices.
    OPTIONS:
      0 - Do not search for printer/scanner using this method
      1 - Search for printer/scanner using this method
      -->
		<DiscoveryProtocols>
			<TekDLP>0</TekDLP>
			<SNMP>1</SNMP>
		</DiscoveryProtocols>
		<!-- 
    MAIN TAG NAME(s):
      <InstallMethods>
    DESCRIPTION:
      The following settings define which installations methods are allowed.
    OPTIONS:
      0 - Do not allow installs for printer/scanner using this method
      1 - Allow installs for printer/scanner using this method
      NOTE: If install method is set to 0, regardless of what the same discovery method
      value is set to, discovery for that particular protocol and device will be disabled.
      -->
		<InstallMethods>
			<PrintUSBInstall>1</PrintUSBInstall>
			<PrintNETInstall>1</PrintNETInstall>
			<ScanUSBInstall>0</ScanUSBInstall>
			<ScanNETInstall>1</ScanNETInstall>
		</InstallMethods>
		<!-- 
    MAIN TAG NAME(s):
      <SetContactLocation>
    DESCRIPTION:
      This setting defines whether the installer will display the "Set Contact/Location" button on the finish
      dialog at the end of the install to allow for setting the contact and location information of the device.
      NOTE: There must be communication with the device in order for this feature to work.
    OPTIONS:
      - <ContactLocationBehavior>
        DESCRIPTION:
          This setting defines the behavior of setting the contact and location information
        OPTIONS:
          0 - Setting contact and location is disabled
          1 - Setting contact and location is enabled and the button will be displayed regardless of if the
              information has already been set or not
          2 - Setting contact and location is enabled but the button will only be displayed if the information
              has NOT already been set
      - <DefaultDeviceContact>
        DESCRIPTION:
          This setting defines the default contact information that is initially set in the device (this is used
          to determine if the information has already been set)
      - <DefaultDeviceLocation>
        DESCRIPTION:
          This setting defines the default location information that is initially set in the device (this is used
          to determine if the information has already been set)
      - <SupportedFields>
        DESCRIPTION:
          This setting defines which fields are supported for the current device.
        OPTIONS:
          1 - Device Contact and Device Location
          2 - Admin Contact, Admin Contact Phone, Admin Contact Location, and Device Location
      -->
		<SetContactLocation>
			<ContactLocationBehavior>2</ContactLocationBehavior>
			<DeviceContactSNMPOID>1.3.6.1.2.1.1.4.0</DeviceContactSNMPOID>
			<DeviceLocationSNMPOID>1.3.6.1.2.1.1.6.0</DeviceLocationSNMPOID>
			<DefaultDeviceContact>System Administrator name not set</DefaultDeviceContact>
			<DefaultDeviceLocation>machine location not set</DefaultDeviceLocation>
			<SupportedFields>2</SupportedFields>
		</SetContactLocation>
		<!-- 
    MAIN TAG NAME(s):
      <SetPrinterAsDefault>
    DESCRIPTION:
      This setting defines the behavior of the "Set Printer As Default" checkbox on the finish dialog and also
      the default behavior of whether the installer will set the printer currently being installed as the default
      print queue.
    OPTIONS:
	    0 - Let installer/user decide whether printer should be set as default (will be set as default if no other printer is currently set as default - checkbox will be provided to change setting)
	    1 - Set printer as default but provide checkbox to change setting
	    2 - Never set printer as default and hide checkbox so user can't change setting
	    3 - Always set printer as default and hide checkbox so user can't change setting
      4 - Never set printer as default but show disabled checkbox (user still can't change setting)
      5 - Always set printer as default but show disabled checkbox (user still can't change setting)
      6 - Do not set printer as default but provide checkbox to change setting
      -->
		<SetPrinterAsDefault>0</SetPrinterAsDefault>
		<!-- 
    MAIN TAG NAME(s):
      <SkipDefault>
    DESCRIPTION:
      This setting defines whether the installer will set the printer being installed as the default based on the manufacturer
      name of the print queue that is currently set as the default on the target operating system (this works in conjunction with
      the <SetPrinterAsDefault> tag above).  If the installer is currently defined to set the printer being installed as the 
      default print queue, it will then iterate through the list of Manufacturers defined below and compare the string values 
      contained within these tags with the manufacturer of the print queue that is currently set as the default on the target 
      operating system.  If it finds a match between these strings, it will NOT set the printer as the default.  But if no match 
      is found, it will then proceed to set the printer being installed as the default print queue.
    OPTIONS:
      Add a <Manufacturer> tag with the manufacturer name for any printers that are currently set as the default print queue that
      belong to this manufacturer and that you do not wish to replace with the printer currently being installed.
      -->
		<SkipDefault>
			<Manufacturer>Xerox</Manufacturer>
			<Manufacturer>Tektronix</Manufacturer>
		</SkipDefault>
		<!-- 
    MAIN TAG NAME(s):
      <PrintTestPage>
    DESCRIPTION:
      This setting defines the behavior of the "Print A Test Page" checkbox on the finish dialog and also
      the default behavior of whether the installer will print a test page after an install completes successfully
      for the printer currently being installed.
    OPTIONS:
      0 - Do not print a test page after install but provide checkbox to change setting
	    1 - Print a test page after install but provide checkbox to change setting
	    2 - Never print a test page after install and hide checkbox so user can't change setting
	    3 - Always print a test page after install and hide checkbox so user can't change setting
      4 - Never print a test page after install but show disabled checkbox (user still can't change setting)
      5 - Always print a test page after install but show disabled checkbox (user still can't change setting)
      -->
		<PrintTestPage>1</PrintTestPage>
		<!-- 
    MAIN TAG NAME(s):
      <WebDownload>
    DESCRIPTION:
      This setting defines the behavior of the "Download Files From Internet" checkbox on the options dialog and 
      also the default behavior of whether the installer will check to download necessary files from the Xerox 
      website during install.
    OPTIONS:
      0 - Let installer decide.
	    1 - Check the "download file from internet" checkbox, but allow the user to change the selection.
	    2 - Force the installer NOT to download files from internet and hide the checkbox so the user can't select it.
	    3 - Force the installer to download files from internet and hide the checkbox so the user can't de-select it.
	    4 - Let the installer try all methods BUT HIDE the checkbox so the user can't select/de-select it.
	    5 - Force the installer NOT to download files from internet BUT SHOW the disabled checkbox (user can't select it).
	    6 - Force the installer to download files from internet BUT SHOW the disabled checkbox (user can't de-select it).
	    7 - Uncheck the "download files from internet" checkbox, but allow the user to change the selection.
      -->
		<WebDownload>0</WebDownload>
		<!-- 
    MAIN TAG NAME(s):
      <SharePrinter>
    DESCRIPTION:
      This setting defines the behavior of the "Share Printer" checkbox on the finish dialog and also
      the default behavior of whether the installer will share the print queue created after an install completes
      successfully for the printer currently being installed.
    OPTIONS:
	    0 - Let installer/user decide whether printer should be shared
	    1 - Set printer as shared but provide checkbox to change setting
	    2 - Never set printer as shared and hide checkbox so user can't change setting
	    3 - Always set printer as shared and hide checkbox so user can't change setting
      4 - Never set printer as shared but show disabled checkbox (user still can't change setting)
      5 - Always set printer as shared but show disabled checkbox (user still can't change setting)
      6 - Do not set printer as shared but provide checkbox to change setting
      -->
		<SharePrinter>0</SharePrinter>
		<!-- 
    MAIN TAG NAME(s):
      <SupportedPrintDrivers> & <PrintDriver> tag set
    DESCRIPTION:
      The following settings define which print drivers are supported for install.  For each additional driver 
      supported a <PrintDriver> tag set should be created with the set of sub-tags as described below.
      NOTE: Currently we support a maximum of 3 driver types.
    OPTIONS:
      - <Name>
        DESCRIPTION:
          This setting defines the name of the particular driver we are adding support for.
      - <OSList>
        DESCRIPTION:
          This setting contains a list of comma delimited values that represent the supported Operating Systems for
          the current driver.
        OPTIONS:
          Available values: Win2000,WinXP32,WinXP64,WinServer2003_32,WinServer2003_64,Vista32,Vista64,WinServer2008_32,WinServer2008_64,Win7_32,Win7_64,Other
      - <Default>
        DESCRIPTION:
          This setting defines whether or not the current driver should be used as the default during install.
        OPTIONS:
          0 - Do NOT use the current driver as the default
          1 - Use the current driver as the default
          NOTE: You can also leave this tag out altogether and it won't use the current driver as the default
      -->
		<SupportedPrintDrivers>
			<PrintDriver>
				<Name>PostScript</Name>
				<Default>1</Default>
			</PrintDriver>
			<PrintDriver>
				<Name>PCL6</Name>
			</PrintDriver>			
		</SupportedPrintDrivers>
		<!-- 
    MAIN TAG NAME(s):
      <WarnOnPostScriptUncheck>
    DESCRIPTION:
      This setting defines whether the installer will display a dialog confirming the de-selection of the PostScript 
      print driver from the options dialog.
    OPTIONS:
	    0 - Do not prompt user if the PostScript print driver is de-selected
	    1 - Prompt user if the PostScript print driver is de-selected
      -->
		<WarnOnPostScriptUncheck>0</WarnOnPostScriptUncheck>
		<!-- 
    MAIN TAG NAME(s):
      <SupportedScanDrivers> & <ScanDriver> tag set
    DESCRIPTION:
      The following settings define which scan drivers are supported for install.  For each additional driver 
      supported a <ScanDriver> tag set should be created with the set of sub-tags as described below.
      NOTE: Currently we support a maximum of 3 driver types.
    OPTIONS:
      - <Name>
        DESCRIPTION:
          This setting defines the name of the particular driver we are adding support for.
      - <OSList>
        DESCRIPTION:
          This setting contains a list of comma delimited values that represent the supported Operating Systems for
          the current driver.
        OPTIONS:
          Available values: Win2000,WinXP32,WinXP64,WinServer2003_32,WinServer2003_64,Vista32,Vista64,WinServer2008_32,WinServer2008_64,Win7_32,Win7_64,Other
      - <Default>
        DESCRIPTION:
          This setting defines whether or not the current driver should be used as the default during install.
        OPTIONS:
          0 - Do NOT use the current driver as the default
          1 - Use the current driver as the default
          NOTE: You can also leave this tag out altogether and it won't use the current driver as the default
      -->
		<SupportedScanDrivers>
			<ScanDriver>
				<Name>TWAIND2</Name>
				<Default>1</Default>
			</ScanDriver>
      <ScanDriver>
        <Name>WIAD2</Name>
      </ScanDriver>
		</SupportedScanDrivers>
		<!-- 
    MAIN TAG NAME(s):
      <ScanDriverSupportsIPv6>
    DESCRIPTION:
      This setting defines whether the scanner supports IPv6. If not, then the user will be prompted to input
      a IPv4 address if they try to use IPv6 addressing.
    OPTIONS:
	    0 - Does not support IPv6.
	    1 - Supports IPv6.
      -->
		<ScanDriverSupportsIPv6>0</ScanDriverSupportsIPv6>
    <!-- 
		MAIN TAG NAME(s):
      <CheckTwainDeviceSetting>
    DESCRIPTION:
      These settings define whether to check for the TWAIN setting on the device and whether it's enabled or disabled.
      If disabled, the installer will provide a NOTE: within the finish dialog that provides a link to enable this setting
      using the device's built in web page.
    OPTIONS:
      - <TwainSettingSNMPOID>
        DESCRIPTION:
          This setting defines the SNMP OID that is queried to determine if the TWAIN setting is disabled on the device.
      - <TwainSettingDisabledValue>
        DESCRIPTION:
          This setting defines the value that is returned from the SNMP query above which would indicate the TWAIN setting is 
          currently disabled.
      - <TwainSettingURL>
        DESCRIPTION:
          This setting defines the URL of the built in web page that would allow a user to enable the TWAIN setting.
      -->
		<CheckTwainDeviceSetting>
			<TwainSettingSNMPOID>1.3.6.1.4.1.253.8.74.6.2.1.7.31.101.143.22</TwainSettingSNMPOID>
			<TwainSettingDisabledValue>2</TwainSettingDisabledValue>
      <TwainSettingURL>http://!IPADDRESSORDNS!/apps/index.html#hashConnectkey/hashApps</TwainSettingURL>
		</CheckTwainDeviceSetting>
		<!-- 
    MAIN TAG NAME(s):
      <WalkupInstall>
      <WalkupHTMLFile>
    DESCRIPTION:
      These settings define whether Walk-Up installation support will be enabled or disabled and also provides the file path and name of the Walk-Up
      HTML file to use if enabled.
    OPTIONS:
      Set <WalkupInstall> to 1 and enter the file path and name of the Walk-Up HTML file to use within the <WalkupHTMLFile> tag in order to invoke 
      this feature.
	    0 - Disable Walk-Up installation support
	    1 - Enable Walk-Up installation support
      -->
		<!--// As per Puneet, no longer supported for NextGen drivers.
    <WalkupInstall>0</WalkupInstall>
		<WalkupHTMLFile></WalkupHTMLFile>-->
		<!-- 
    MAIN TAG NAME(s):
      <Registration>
    DESCRIPTION:
      These settings define whether electronic registration support will be enabled or disabled along with providing the information
      necessary to execute the registration utility.
      If enabled, the installer will launch the registration utility at the end of install after the finish button is clicked
      and only if at least one driver and queue were successfully installed.
    OPTIONS:
      - <Enabled>
        DESCRIPTION:
          This setting defines whether Registration will be enabled or disabled.
        OPTIONS:
          0 - Registration support is disabled
          1 - Registration support is enabled
      - <SerialSNMPOID>
        DESCRIPTION:
          This setting defines the SNMP OID used to obtain the serial number of the device we are trying to register
          which is then passed to the registration utility so that it is auto populated.
      - <FileSrc>
        DESCRIPTION:
          This setting defines the source location and filename of the registration utility that we will copy locally 
          before using it to register the device at the end of a successful install if enabled.
      - <FileDst>
        DESCRIPTION:
          This setting defines the destination location and filename that we will copy the registration utility to before
          using it to register the device at the end of a successful install if enabled.
      -->
    <Registration>
      <Enabled>1</Enabled>
      <SerialSNMPOID>1.3.6.1.2.1.43.5.1.1.17.1</SerialSNMPOID>
      <FileSrc>!CDROOT!\Windows Utilities\Installer!OSBITS!\XReg.exe</FileSrc>
      <FileDst>!TEMPDIR!\Xerox\XReg\XReg.exe</FileDst>
    </Registration>
		<!-- 
    MAIN TAG NAME(s):
      <DisablePrintingScout>
    DESCRIPTION:
      This setting defines whether PrintingScout will be enabled, disabled or left alone after a successful installation.
    OPTIONS:
	    0 - No change made by the installer (Default)
	    1 - Disable PrintingScout
	    2 - Enable PrintingScout
      -->
		<DisablePrintingScout>0</DisablePrintingScout>
		<!-- 
    MAIN TAG NAME(s):
      <ForcePrinterDetection>
    DESCRIPTION:
      This setting defines whether communication with a printer is required before installation can occur.  If it is required, the installer
      will not proceed until successful communication with a valid device has been made.  If it is not required and the installer was unable
      to communicate with the device address entered, the installer will prompt for the selection of a supported model before continuing.
    OPTIONS:
      0 - Do NOT force printer detection in order to install
      1 - Force printer detection in order to install
      -->
		<ForcePrinterDetection>0</ForcePrinterDetection>
		<!-- 
    MAIN TAG NAME(s):
      <BidiSetting>
    DESCRIPTION:
      This setting defines which option will be selected for bi-directional communication in the driver after a successful install.
    OPTIONS:
      0 - (Default) Automatic
      2 - Off
      -->
		<BidiSetting>0</BidiSetting>
		<!-- 
    MAIN TAG NAME(s):
      <ProductBanner>
    DESCRIPTION:
      This setting defines which product banner to display for about box and for installer.
    OPTIONS:
      1 - FX
      -->
		<ProductBanner>0</ProductBanner>
		<!-- 
    MAIN TAG NAME(s):
      <SilentInstall>
    DESCRIPTION:
      These settings define whether the installer will attempt to run a silent install using a specific IP Address or DNS Name.  A silent install
      consists of no prompts or user interaction during install.  If the install is unable to complete successfully or communication with the device
      is required but can't be established, then prompts and user interaction may be required.
    OPTIONS:
      - <Enabled>
        DESCRIPTION:
          This setting defines whether the SilentInstall section is enabled or disabled.
        OPTIONS:
          0 - Do not run silent install
          1 - Run silent install
      - <DeviceIPOrDNS>
        DESCRIPTION:
          This setting defines the IP Address or DNS name of the device you want to silently install.
          NOTE: If <Enabled> is set to 1 but no value is specified for <DeviceIPOrDNS>, the installer will start a typical install without attempting
              a silent install.
      - <DeviceModelName>
        DESCRIPTION:
          This setting defines the device model one wants to install silently without popping up the model selection dialog.
          NOTE: - If value entered is wrong then installer goes ahead and installs first model in it's list silently without giving user a chance to select 
                  model of his choice.
                - If no value is entered then dialog will be popped up with list of models for selection.
      - <SilentTestPage>
        DESCRIPTION:
          This setting defines whether a test page will be printed once the silent install has completed.
        OPTIONS:
          0 - Do not print test page once the silent install has completed
          1 - Print test page once the silent install has completed
      - <SilentDefaultPrinter>
        DESCRIPTION:
          This setting defines whether the printer will be set as the default once the silent install has completed.
        OPTIONS:
          0 - Do not set the printer as the default once the silent install has completed
          1 - Set the printer as the default once the silent install has completed
      - <SilentSharePrinter>
        DESCRIPTION:
          This setting defines whether the printer will be automatically shared once the silent install has completed.
        OPTIONS:
          0 - Do not share printer once the silent install has completed
          1 - Share printer once the silent install has completed
    -->
		<SilentInstall>
			<Enabled>0</Enabled>
			<DeviceIPOrDNS></DeviceIPOrDNS>
			<DeviceModelName></DeviceModelName>
			<SilentTestPage>1</SilentTestPage>
			<SilentDefaultPrinter>1</SilentDefaultPrinter>
			<SilentSharePrinter>0</SilentSharePrinter>
		</SilentInstall>
		<!-- 
    MAIN TAG NAME(s):
      <LaunchExecutable>
    DESCRIPTION:
      The following section defines one or more programs to be executed at various points throughout the install process.  In order to create multiple programs to
      execute, simply add a new set of <LaunchExecutable> tags.
    OPTIONS:
      - <Enabled>
        DESCRIPTION:
          This setting defines whether the current <LaunchExecutable> section is enabled or disabled.
        OPTIONS:
          0 - This current <LaunchExecutable> section is disabled
          1 - This current <LaunchExecutable> section is enabled
      - <Path>
        DESCRIPTION:
          This setting defines the file path and name of the executable to launch.
        OPTIONS:
          Enter the file path and name as one string (ie: C:\MyDirectory\MyFile.exe)
          You can also use pre-defined installer values such as...
          !CDROOT! - Inserts the root directory of the CD without a following \
      - <Status>
        DESCRIPTION:
          This setting defines whether to launch the executable based on the result of the installation.
        OPTIONS:
		      0 = Execute the application only if a successful install has completed (if this is a print & scan install, BOTH must be successful in order to execute the app)
		      1 = Execute the application only if a successful print install has completed (if this is a scan only install, we will never execute the app)
          2 = Execute the application only if a successful scan install has completed (if this is a print only install, we will never execute the app)
          3 = Execute the application no matter what happens during install
      - <Time>
        DESCRIPTION:
          This setting defines at what point during the installation process to launch the executable.
        OPTIONS:
          0 - Execute the application after the installation process is complete and the user has dismissed the finish dialog (by clicking finish/close)
          1 - Execute the application after the installation process is complete for a print install (if this is a print & scan install, it will execute after the print install has completed but before the scan install has started.  If you use this setting, NEVER set <Status> to 0 with a print & scan install or 2 with a print only or scan only install, otherwise the installer will never execute the application)
          2 - Execute the application after the installation process is complete for a scan install (this is essentially the same setting as 4 below since it will execute once the scan install has completed, but before the finish dialog is displayed)
          3 - Execute the application after the installation process is complete but before the finish dialog is displayed (if this is a print & scan install, it will execute after the scan install but before the finish dialog is displayed)
          4 - Execute the application before the install process has started.  If this setting is used, any <Status> setting will be ignored.
          5 - Execute the application after the whole install process has completed (including after the registration dialog has been dismissed if applicable)
      - <Wait>
        DESCRIPTION:
          This setting defines how you want the installer to wait for the executable to finish before continuing.
        OPTIONS:
       		0 = NOWAIT (do not wait for the executable to finish, just continue on immediately)
		      1 = WaitForInputIdle INFINITE (wait for the UI before continuing)
		      2 = WaitForSingleObject INFINITE (wait for the executable process to complete before continuing on)
		      NOTE: If you set to 1 or 2, you are suspending execution of the installer until the executable process is 
          idle or completes.  Use these settings with caution.
      - <Params>
        DESCRIPTION:
          This setting defines any parameters that should be passed on to the program being executed when it is called.
        OPTIONS:
          Enter any parameters to pass to the executable being called within this tag.
    -->
			<LaunchExecutable>
			<Enabled>1</Enabled>
			<!-- We use a hard coded path for 32bit as we want to run this on 32bit AND 64bit OS's -->
			<Path>!CDROOT!\Windows Scan TWAIN\32-bit_x86\vcredist_x86.exe</Path>
			<Status>0</Status>
			<Time>6</Time>
			<Wait>2</Wait>
			<Params>/i vc_red.msi /quiet</Params>
		</LaunchExecutable>
		<LaunchExecutable>
			<Enabled>1</Enabled>
			<!-- We use a predefined variable (!OSBITS!) for 64bit as we only want to run this on 64bit OS's -->
			<Path>!CDROOT!\Windows Scan TWAIN\!OSBITS!-bit_x64\vcredist_x64.exe</Path>
			<Status>0</Status>
			<Time>6</Time>
			<Wait>2</Wait>
			<Params>/i vc_red.msi /quiet</Params>
		</LaunchExecutable>
		<!-- VC++ 2005 Redistributable -->
		<LaunchExecutable>
			<Enabled>1</Enabled>
			<!-- We use a hard coded path for 32bit as we want to run this on 32bit AND 64bit OS's -->
			<Path>!CDROOT!\Windows Scan TWAIN\32-bit_x86\vcredist_2k5_x86.exe</Path>
			<Status>0</Status>
			<Time>6</Time>
			<Wait>2</Wait>
			<Params>/q:a /c:"VCREDI~3.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" "</Params>
		</LaunchExecutable>
		<LaunchExecutable>
			<Enabled>1</Enabled>
			<!-- We use a predefined variable (!OSBITS!) for 64bit as we only want to run this on 64bit OS's -->
			<Path>!CDROOT!\Windows Scan TWAIN\!OSBITS!-bit_x64\vcredist_2k5_x64.exe</Path>
			<Status>0</Status>
			<Time>6</Time>
			<Wait>2</Wait>
			<Params>/q:a /c:"VCREDI~2.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" "</Params>
		</LaunchExecutable>
		<!-- 
    MAIN TAG NAME(s):
      <CreateRegistry>
    DESCRIPTION:
      The following section defines one or more registry entries to create at various points throughout the install process.  In order to create multiple registry entries, 
      simply add a new set of <CreateRegistry> tags.
    OPTIONS:
      - <Enabled>
        DESCRIPTION:
          This setting defines whether the current <CreateRegistry> section is enabled or disabled.
        OPTIONS:
          0 - This current <CreateRegistry> section is disabled
          1 - This current <CreateRegistry> section is enabled
      - <HKEYRoot>
        DESCRIPTION:
          This setting defines the ROOT HKEY to use.
        OPTIONS:
		      0 = HKEY_CLASSES_ROOT
		      1 = HKEY_CURRENT_CONFIG
		      2 = HKEY_CURRENT_USER
		      3 = HKEY_LOCAL_MACHINE
		      4 = HKEY_USERS
      - <SubKeyName>
        DESCRIPTION:
          This setting defines the name of the subkey to create (or open if it exists)
        OPTIONS:
          Enter the subkey name to create or open.
          NOTE: This setting can be left blank if attempting to create a registry entry at the root HKEY level.
      - <ValueName>
        DESCRIPTION:
          This setting defines the name of the value to create within the subkey.
        OPTIONS:
          Enter the value name to create.
          NOTE: This setting can be left blank if only a registry key is needed.
      - <ValueType>
        DESCRIPTION:
          This setting defines the type of registry value we are creating.
        OPTIONS:
          0 = REG_SZ (string)
		      1 = REG_DWORD (32-bit number)
      - <ValueVal>
        DESCRIPTION:
          This setting defines the actual value to assign to the value name registry entry above being created.
        OPTIONS:
          NOTE: This setting can be left blank if only a registry key is needed.  If this is left blank but a ValueName was specified, then a (Default) value entry
          will be created if one doesn't already exist.
      - <Status>
        DESCRIPTION:
          This setting defines whether to create the registry entry based on the result of the installation.
        OPTIONS:
		      0 = Create the registry entry only if a successful install has completed (if this is a print & scan install, BOTH must be successful in order to create the registry entry)
		      1 = Create the registry entry only if a successful print install has completed (if this is a scan only install, we will never create the registry entry)
          2 = Create the registry entry only if a successful scan install has completed (if this is a print only install, we will never create the registry entry)
          3 = Create the registry entry no matter what happens during install
      - <Time>
        DESCRIPTION:
          This setting defines at what point during the installation process to create the registry entry.
        OPTIONS:
          0 - Create the registry entry after the installation process is complete and the user has dismissed the finish dialog (by clicking finish/close)
          1 - Create the registry entry after the installation process is complete for a print install (if this is a print & scan install, it will create the registry entry after the print install has completed but before the scan install has started.  If you use this setting, NEVER set <Status> to 0 with a print & scan install or 2 with a print only or scan only install, otherwise the installer will never create the registry entry)
          2 - Create the registry entry after the installation process is complete for a scan install (this is essentially the same setting as 4 below since it will create the registry entry once the scan install has completed but before the finish dialog is displayed)
          3 - Create the registry entry after the installation process is complete but before the finish dialog is displayed (if this is a print & scan install, it will create the registry entry after the scan install but before the finish dialog is displayed)
          4 - Create the registry entry before the install process has started.  If this setting is used, any <Status> setting will be ignored.
          5 - Create the registry entry after the whole install process has completed (including after the registration dialog has been dismissed if applicable)
    -->
		<CreateRegistry>
			<Enabled>0</Enabled>
			<HKEYRoot>2</HKEYRoot>
			<SubKeyName>SOFTWARE\Xerox\XDriverInstaller</SubKeyName>
			<ValueName>Test</ValueName>
			<ValueType>0</ValueType>
			<ValueVal>This is a test</ValueVal>
			<Status>0</Status>
			<Time>0</Time>
		</CreateRegistry>
	</AdminSection>
	<!-- 
  EDITS ALLOWED: NO (DO NOT EDIT OR EDIT AT YOUR OWN RISK!)
  DESCRIPTION:
    This section contains model specific information necessary for successful installations.  Please do NOT edit this
    section unless specifically directed to by Xerox personnel.  Invalid edits may cause unpredictable results.  Xerox
    will not be held responsible for any personal damage due to unauthorized or incorrect edits of this section of the XML
    -->
	<ModelSection>
		<!-- List of Printer Models -->
		<PrinterToInstall>
			<Printer>Xerox VersaLink B400</Printer>
			<SysObjectID>1.3.6.1.4.1.253.8.62.1.34.1.1</SysObjectID>
			<USB_Vendor>0924</USB_Vendor>
			<USB_ProductID>88D5</USB_ProductID>
			<USB_PnpID>XeroxVersaLink_B400BD05</USB_PnpID>
			<ModelInfo>1</ModelInfo>
      <DriverInfo>
				<Driver>
					<Name>"Xerox VersaLink B400 PS"</Name>
					<DriverType>PostScript</DriverType>
					<TargetEnv>
						<inf>x2NKAIP.inf</inf>
						<FilePackData>PS_32</FilePackData>
					</TargetEnv>
					<TargetEnv>
						<inf>x2NKAIP.inf</inf>
						<FilePackData>PS_64</FilePackData>
					</TargetEnv>
				</Driver>				
				<Driver>
					<Name>"Xerox VersaLink B400 PCL6"</Name>
					<DriverType>PCL6</DriverType>
					<TargetEnv>
						<inf>x2NKAIX.inf</inf>
						<FilePackData>PCL6_32</FilePackData>
					</TargetEnv>
					<TargetEnv>
						<inf>x2NKAIX.inf</inf>
						<FilePackData>PCL6_64</FilePackData>
					</TargetEnv>
				</Driver>				
			</DriverInfo>
		</PrinterToInstall>
    <PrinterToInstall>
      <Printer>Xerox VersaLink B405</Printer>
      <SysObjectID>1.3.6.1.4.1.253.8.62.1.34.1.2</SysObjectID>
      <USB_Vendor>0924</USB_Vendor>
      <USB_ProductID>88D6</USB_ProductID>
      <USB_PnpID>XeroxVersaLink_B405BEC5</USB_PnpID>
      <ModelInfo>2</ModelInfo>
      <DriverInfo>
        <Driver>
          <Name>"Xerox VersaLink B405 PS"</Name>
          <DriverType>PostScript</DriverType>
          <TargetEnv>
            <inf>x2NKAIP.inf</inf>
            <FilePackData>PS_32</FilePackData>
          </TargetEnv>
          <TargetEnv>
            <inf>x2NKAIP.inf</inf>
            <FilePackData>PS_64</FilePackData>
          </TargetEnv>
        </Driver>        
        <Driver>
          <Name>"Xerox VersaLink B405 PCL6"</Name>
          <DriverType>PCL6</DriverType>
          <TargetEnv>
            <inf>x2NKAIX.inf</inf>
            <FilePackData>PCL6_32</FilePackData>
          </TargetEnv>
          <TargetEnv>
            <inf>x2NKAIX.inf</inf>
            <FilePackData>PCL6_64</FilePackData>
          </TargetEnv>
        </Driver>        
      </DriverInfo>
    </PrinterToInstall>    
		<!-- List of Scanner Models -->				
    <ScannerToInstall>
      <Scanner>Xerox VersaLink B405</Scanner>
      <SysObjectID>1.3.6.1.4.1.253.8.62.1.34.1.2</SysObjectID>
      <USB_Vendor>0924</USB_Vendor>
      <USB_ProductID>88D6</USB_ProductID>
      <USB_PnpID>XeroxVersaLink_B405BEC5</USB_PnpID>
      <ModelInfo>2</ModelInfo>
      <DriverInfo>
        <Driver>
          <Name>"Xerox VersaLink B405 Twain"</Name>
          <DriverType>TWAIND2</DriverType>
          <TargetEnv>
            <ConfigFile>!WINDOWSDIR!\twain_32\Xerox\TwainD2Config.xml</ConfigFile>
            <FilePackData>TwainD2_32</FilePackData>
          </TargetEnv>
          <TargetEnv>
            <ConfigFile>!WINDOWSDIR!\twain_64\Xerox\TwainD2Config.xml</ConfigFile>
            <FilePackData>TwainD2_64</FilePackData>
          </TargetEnv>
        </Driver>
        <Driver>
          <Name>"XEROX_TRADITIONAL_WIA_SCANNER_ID"</Name>
          <DriverType>WIAD2</DriverType>
          <TargetEnv>
            <ConfigFile>!WINDOWSDIR!\System32\WIAD2Config.xml</ConfigFile>
            <inf>xrx_d2_wia.inf</inf>
            <FilePackData>WIAD2_32</FilePackData>
          </TargetEnv>
          <TargetEnv>
            <ConfigFile>!WINDOWSDIR!\System32\WIAD2Config.xml</ConfigFile>
            <inf>xrx_d2_wia.inf</inf>
            <FilePackData>WIAD2_64</FilePackData>
          </TargetEnv>
        </Driver>
      </DriverInfo>
    </ScannerToInstall>
		<!-- Model information linked with Printer's/Scanner's to install sections above -->
		<ModelInfo1>
			<ProjectModel>NKAI</ProjectModel>
			<FullModel>VersaLink B400</FullModel>
			<FullURLModel>VLB400</FullURLModel>
      <ShortcutsModel>VLB400</ShortcutsModel>
			<FileDownloadModel>NKAI</FileDownloadModel>
			<RegistrationModel>VLB400</RegistrationModel>
			<FailedURL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=WPDI&amp;Model=!FullURLModel!&amp;PAGE=Color&amp;PgName=Tech&amp;language=!LANGHYPERLINK!</FailedURL>
			<SucceededURL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=WPDI&amp;Model=!FullURLModel!&amp;PAGE=Color&amp;PgName=QSTutorial&amp;FileName=qst_usingdriver.htm&amp;Language=!LANGHYPERLINK!</SucceededURL>
		</ModelInfo1>
    <ModelInfo2>
      <ProjectModel>NKAI</ProjectModel>
      <FullModel>VersaLink B405</FullModel>
      <FullURLModel>VLB405</FullURLModel>
      <ShortcutsModel>VLB405</ShortcutsModel>
      <FileDownloadModel>NKAI</FileDownloadModel>
      <RegistrationModel>VLB405</RegistrationModel>
      <FailedURL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=WPDI&amp;Model=!FullURLModel!&amp;PAGE=Color&amp;PgName=Tech&amp;language=!LANGHYPERLINK!</FailedURL>
      <SucceededURL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=WPDI&amp;Model=!FullURLModel!&amp;PAGE=Color&amp;PgName=QSTutorial&amp;FileName=qst_usingdriver.htm&amp;Language=!LANGHYPERLINK!</SucceededURL>
    </ModelInfo2>
    <Shortcuts>
      <Enabled>1</Enabled>
      <!-- 
        ShortcutType values include...
        0 = Create a start menu shortcut AND a bookmark/favorite shortcut
        1 = Create a start menu shortcut only
        2 = Create a bookmark/favorite shortcut only
        -->
      <ShortcutEntry>
        <Type>0</Type>
        <Name>817</Name>
        <Path>4030</Path>
        <URL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=Fav&amp;Page=Color&amp;Model=!ShortcutsModel!&amp;PgName=Driver&amp;Language=!LANGNAME!</URL>
      </ShortcutEntry>
      <ShortcutEntry>
        <Type>0</Type>
        <Name>1547</Name>
        <Path>4030</Path>
        <URL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=Fav&amp;Page=Color&amp;Model=!ShortcutsModel!&amp;PgName=Order&amp;Language=!LANGNAME!</URL>
      </ShortcutEntry>
      <ShortcutEntry>
        <Type>0</Type>
        <Name>243</Name>
        <Path>4030</Path>
        <URL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=Fav&amp;Page=Color&amp;Model=!ShortcutsModel!&amp;PgName=Reg&amp;Language=!LANGNAME!</URL>
      </ShortcutEntry>
      <ShortcutEntry>
        <Type>0</Type>
        <Name>454</Name>
        <Path>4030</Path>
        <URL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=Fav&amp;Page=Color&amp;Model=!ShortcutsModel!&amp;PgName=Man&amp;Language=!LANGNAME!</URL>
      </ShortcutEntry>
      <ShortcutEntry>
        <Type>0</Type>
        <Name>941</Name>
        <Path>4030</Path>
        <URL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=Fav&amp;Page=Color&amp;Model=!ShortcutsModel!&amp;PgName=home&amp;Language=!LANGNAME!</URL>
      </ShortcutEntry>
	  <ShortcutEntry>
        <Type>0</Type>
        <Name>3647</Name>
        <Path>4030</Path>
        <URL>http://www.office.xerox.com/cgi-bin/printer.pl?APP=Fav&amp;Page=Color&amp;Model=!ShortcutsModel!&amp;PgName=Tech&amp;Language=!LANGNAME!</URL>
      </ShortcutEntry>
      <!-- Shortcuts using device IP Addresses -->
      <ShortcutEntry>
        <Type>0</Type>
        <UsesIP>1</UsesIP>
        <Name>3982</Name>
        <Path>3406</Path>
        <URL>http://!IPADDRESSORDNS!/</URL>
      </ShortcutEntry>
    </Shortcuts>
	</ModelSection>
	<!-- 
  EDITS ALLOWED: NO (DO NOT EDIT OR EDIT AT YOUR OWN RISK!)
  DESCRIPTION:
    This section contains driver and file specific information necessary for successful installations.  Please do NOT edit 
    this section unless specifically directed to by Xerox personnel.  Invalid edits may cause unpredictable results.  Xerox
    will not be held responsible for any personal damage due to unauthorized or incorrect edits of this section of the XML
    -->
	<FilesSection>
		<PS_32>
			<IsFolderOnCD>1</IsFolderOnCD>
			<CD>!CDROOT!\Windows PS\32-Bit_x86</CD>
			<Web>http://www.office.xerox.com/cgi-bin/printer.pl?APP=IS&amp;Model=!FileDownloadModel!&amp;PAGE=Color&amp;PgName=installer_packages_ng&amp;FileName=Win_PS_32.exe</Web>
			<Temp>!INSTALLERTEMPDIR!\Win32PS</Temp>
		</PS_32>
		<PS_64>
			<IsFolderOnCD>1</IsFolderOnCD>
			<CD>!CDROOT!\Windows PS\64-Bit_x64</CD>
			<Web>http://www.office.xerox.com/cgi-bin/printer.pl?APP=IS&amp;Model=!FileDownloadModel!&amp;PAGE=Color&amp;PgName=installer_packages_ng&amp;FileName=Win_PS_x64.exe</Web>
			<Temp>!INSTALLERTEMPDIR!\Win64PS</Temp>
		</PS_64>	
		<PCL6_32>
			<IsFolderOnCD>1</IsFolderOnCD>
			<CD>!CDROOT!\Windows PCL6\32-Bit_x86</CD>
			<Web>http://www.office.xerox.com/cgi-bin/printer.pl?APP=IS&amp;Model=!FileDownloadModel!&amp;PAGE=Color&amp;PgName=installer_packages_ng&amp;FileName=Win_PCL6_32.exe</Web>
			<Temp>!INSTALLERTEMPDIR!\Win32PCL6</Temp>
		</PCL6_32>
		<PCL6_64>
			<IsFolderOnCD>1</IsFolderOnCD>
			<CD>!CDROOT!\Windows PCL6\64-Bit_x64</CD>
			<Web>http://www.office.xerox.com/cgi-bin/printer.pl?APP=IS&amp;Model=!FileDownloadModel!&amp;PAGE=Color&amp;PgName=installer_packages_ng&amp;FileName=Win_PCL6_x64.exe</Web>
			<Temp>!INSTALLERTEMPDIR!\Win64PCL6</Temp>
		</PCL6_64>		
	<WIAD2_32>
      <IsFolderOnCD>1</IsFolderOnCD>
      <CD>!CDROOT!\Windows Scan WIA\32-Bit_x86</CD>
      <Web>http://www.office.xerox.com/cgi-bin/printer.pl?APP=IS&amp;Model=!FileDownloadModel!&amp;PAGE=Color&amp;PgName=installer_packages_ng&amp;FileName=Win_Scan_32.exe</Web>
      <Temp>!INSTALLERTEMPDIR!\WiaD2\32-Bit_x86</Temp>
      <FilesToCopy>
        <SrcDir>!CDROOT!\Windows Utilities\Installer!OSBITS!</SrcDir>
        <DstDir>!PROGRAMDIR!\Xerox\bin</DstDir>
        <File>XrxScanUninstaller.exe</File>
        <File>!COMMDLLNAME!</File>
        <File>!UTILDLLNAME!</File>
        <File>!GUIDLLNAME!</File>
        <File>!COREDLLNAME!</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!TEXTRESDLLPATH!</SrcDir>
        <DstDir>!PROGRAMDIR!\Xerox\bin</DstDir>
        <File>!TEXTRESDLLNAME!</File>
      </FilesToCopy>
    </WIAD2_32>
    <WIAD2_64>
      <IsFolderOnCD>1</IsFolderOnCD>
      <CD>!CDROOT!\Windows Scan WIA\64-Bit_x64</CD>
      <Web>http://www.office.xerox.com/cgi-bin/printer.pl?APP=IS&amp;Model=!FileDownloadModel!&amp;PAGE=Color&amp;PgName=installer_packages_ng&amp;FileName=Win_Scan_x64.exe</Web>
      <Temp>!INSTALLERTEMPDIR!\WiaD2\64-Bit_x64</Temp>
      <FilesToCopy>
        <SrcDir>!CDROOT!\Windows Utilities\Installer!OSBITS!</SrcDir>
        <DstDir>!PROGRAMDIR!\Xerox\bin</DstDir>
        <File>XrxScanUninstaller.exe</File>
        <File>!COMMDLLNAME!</File>
        <File>!UTILDLLNAME!</File>
        <File>!GUIDLLNAME!</File>
        <File>!COREDLLNAME!</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!TEXTRESDLLPATH!</SrcDir>
        <DstDir>!PROGRAMDIR!\Xerox\bin</DstDir>
        <File>!TEXTRESDLLNAME!</File>
      </FilesToCopy>
    </WIAD2_64>
		<TwainD2_32>
			<IsFolderOnCD>1</IsFolderOnCD>
			<CD>!CDROOT!\Windows Scan TWAIN\32-Bit_x86</CD>
			<Web>http://www.office.xerox.com/cgi-bin/printer.pl?APP=IS&amp;Model=!FileDownloadModel!&amp;PAGE=Color&amp;PgName=installer_packages_ng&amp;FileName=Win_Scan_32.exe</Web>
			<!-- 
	  NOTE:
	  Wasn't even going to use a Temp directory to copy to first as this is just an extra step, 
	  but we use it in order to sync Web installs where a self extracting executable has to be unzipped to 
	  a temp folder before the CopyFile procedure can take place. 
	  -->
      <Temp>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</Temp>
      <!-- 32bit Twain driver related files -->
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!WINDOWSDIR!\twain_32\Xerox</DstDir>
        <File>XRX_TwDS.ds</File>
        <File>Default.xml</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!WINDOWSDIR!\System32</DstDir>
        <File>TwainD2Client.dll</File>
        <File>XRX_RES.dll</File>
        <File>libeay32.dll</File>
        <File>ssleay32.dll</File>
        <File>xeroxutil.dll</File>
        <File>commdll.dll</File>
        <File>XRX_BGR.dll</File>
        <File>XRX_CAT.dll</File>
        <File>XRX_CHS.dll</File>
        <File>XRX_CHT.dll</File>
        <File>XRX_CSY.dll</File>
        <File>XRX_DAN.dll</File>
        <File>XRX_DEU.dll</File>
        <File>XRX_ELL.dll</File>
        <File>XRX_ENU.dll</File>
        <File>XRX_ESN.dll</File>
        <File>XRX_FIN.dll</File>
        <File>XRX_FRA.dll</File>
        <File>XRX_HUN.dll</File>
        <File>XRX_ITA.dll</File>
        <File>XRX_JPN.dll</File>
        <File>XRX_KOR.dll</File>
        <File>XRX_NLD.dll</File>
        <File>XRX_NOR.dll</File>
        <File>XRX_PLK.dll</File>
        <File>XRX_PTB.dll</File>
        <File>XRX_ROM.dll</File>
        <File>XRX_RUS.dll</File>
        <File>XRX_SVE.dll</File>
        <File>XRX_TRK.dll</File>
        <File>XRX_UKR.dll</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!PROGRAMDIR!\Xerox</DstDir>
        <File>XRXTwainScannerHelp_CHS.chm</File>
        <File>XRXTwainScannerHelp_DAN.chm</File>
        <File>XRXTwainScannerHelp_DEU.chm</File>
        <File>XRXTwainScannerHelp_ENU.chm</File>
        <File>XRXTwainScannerHelp_ESN.chm</File>
        <File>XRXTwainScannerHelp_FIN.chm</File>
        <File>XRXTwainScannerHelp_FRA.chm</File>
        <File>XRXTwainScannerHelp_ITA.chm</File>
        <File>XRXTwainScannerHelp_NLD.chm</File>
        <File>XRXTwainScannerHelp_NOR.chm</File>
        <File>XRXTwainScannerHelp_PTB.chm</File>
        <File>XRXTwainScannerHelp_RUS.chm</File>
        <File>XRXTwainScannerHelp_SVE.chm</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!APPDATADIR!\TwainD2\Templates</DstDir>
        <File>Default.xml</File>
        <!--<File>JobModelSchemaXMLTestTicketForDriver.xml</File>-->
      </FilesToCopy>
      <FoldersToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Root path to copy sub-folders from -->
        <DstDir>!PROGRAMDIRFOR32BITAPP!\Xerox</DstDir>
        <!-- Root path to paste sub-folders into -->
        <Folder>Imaging</Folder>
      </FoldersToCopy>
      <!-- Scan Uninstaller related Files -->
      <FilesToCopy>
        <SrcDir>!CDROOT!\Windows Utilities\Installer!OSBITS!</SrcDir>
        <DstDir>!PROGRAMDIR!\Xerox\bin</DstDir>
        <File>XrxScanUninstaller.exe</File>
        <File>!COMMDLLNAME!</File>
        <File>!UTILDLLNAME!</File>
        <File>!GUIDLLNAME!</File>
        <File>!COREDLLNAME!</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!TEXTRESDLLPATH!</SrcDir>
        <DstDir>!PROGRAMDIR!\Xerox\bin</DstDir>
        <File>!TEXTRESDLLNAME!</File>
      </FilesToCopy>
    </TwainD2_32>
    <TwainD2_64>
      <IsFolderOnCD>1</IsFolderOnCD>
      <CD>!CDROOT!\Windows Scan TWAIN</CD>
      <Web>http://www.office.xerox.com/cgi-bin/printer.pl?APP=IS&amp;Model=!FileDownloadModel!&amp;PAGE=Color&amp;PgName=installer_packages_ng&amp;FileName=Win_Scan_x64.exe</Web>
      <!-- 
	  NOTE:
	  Wasn't even going to use a Temp directory to copy to first as this is just an extra step, 
	  but we use it in order to sync Web installs where a self extracting executable has to be unzipped to 
	  a temp folder before the CopyFile procedure can take place. 
	  -->
      <Temp>!INSTALLERTEMPDIR!\TwainD2</Temp>
      <!-- 32bit Twain driver related files -->
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!WINDOWSDIR!\System32</DstDir>
        <File>TwainDSM.dll</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!WINDOWSDIR!\twain_32\Xerox</DstDir>
        <File>XRX_TwDS.ds</File>
        <File>Default.xml</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!WINDOWSDIR!\SysWOW64</DstDir>
        <File>TwainD2Client.dll</File>
        <File>XRX_RES.dll</File>
        <File>libeay32.dll</File>
        <File>ssleay32.dll</File>
        <File>xeroxutil.dll</File>
        <File>commdll.dll</File>
        <File>XRX_BGR.dll</File>
        <File>XRX_CAT.dll</File>
        <File>XRX_CHS.dll</File>
        <File>XRX_CHT.dll</File>
        <File>XRX_CSY.dll</File>
        <File>XRX_DAN.dll</File>
        <File>XRX_DEU.dll</File>
        <File>XRX_ELL.dll</File>
        <File>XRX_ENU.dll</File>
        <File>XRX_ESN.dll</File>
        <File>XRX_FIN.dll</File>
        <File>XRX_FRA.dll</File>
        <File>XRX_HUN.dll</File>
        <File>XRX_ITA.dll</File>
        <File>XRX_JPN.dll</File>
        <File>XRX_KOR.dll</File>
        <File>XRX_NLD.dll</File>
        <File>XRX_NOR.dll</File>
        <File>XRX_PLK.dll</File>
        <File>XRX_PTB.dll</File>
        <File>XRX_ROM.dll</File>
        <File>XRX_RUS.dll</File>
        <File>XRX_SVE.dll</File>
        <File>XRX_TRK.dll</File>
        <File>XRX_UKR.dll</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!PROGRAMDIRFOR32BITAPP!\Xerox</DstDir>
        <File>XRXTwainScannerHelp_CHS.chm</File>
        <File>XRXTwainScannerHelp_DAN.chm</File>
        <File>XRXTwainScannerHelp_DEU.chm</File>
        <File>XRXTwainScannerHelp_ENU.chm</File>
        <File>XRXTwainScannerHelp_ESN.chm</File>
        <File>XRXTwainScannerHelp_FIN.chm</File>
        <File>XRXTwainScannerHelp_FRA.chm</File>
        <File>XRXTwainScannerHelp_ITA.chm</File>
        <File>XRXTwainScannerHelp_NLD.chm</File>
        <File>XRXTwainScannerHelp_NOR.chm</File>
        <File>XRXTwainScannerHelp_PTB.chm</File>
        <File>XRXTwainScannerHelp_RUS.chm</File>
        <File>XRXTwainScannerHelp_SVE.chm</File>
      </FilesToCopy>
      <FoldersToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Root path to copy sub-folders from -->
        <DstDir>!PROGRAMDIRFOR32BITAPP!\Xerox</DstDir>
        <!-- Root path to paste sub-folders into -->
        <Folder>Imaging</Folder>
      </FoldersToCopy>
      <!-- 64bit Twain driver related files -->
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\64-Bit_x64</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!WINDOWSDIR!\System32</DstDir>
        <File>TwainDSM.dll</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\32-Bit_x86</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!WINDOWSDIR!\SysWOW64</DstDir>
        <File>TwainDSM.dll</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\64-Bit_x64</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!WINDOWSDIR!\twain_64\Xerox</DstDir>
        <File>XRX_TwDS.ds</File>
        <File>Default.xml</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\64-Bit_x64</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!WINDOWSDIR!\System32</DstDir>
        <File>TwainD2Client.dll</File>
        <File>XRX_RES.dll</File>
        <File>libeay32.dll</File>
        <File>ssleay32.dll</File>
        <File>xeroxutil.dll</File>
        <File>commdll.dll</File>
        <File>XRX_BGR.dll</File>
        <File>XRX_CAT.dll</File>
        <File>XRX_CHS.dll</File>
        <File>XRX_CHT.dll</File>
        <File>XRX_CSY.dll</File>
        <File>XRX_DAN.dll</File>
        <File>XRX_DEU.dll</File>
        <File>XRX_ELL.dll</File>
        <File>XRX_ENU.dll</File>
        <File>XRX_ESN.dll</File>
        <File>XRX_FIN.dll</File>
        <File>XRX_FRA.dll</File>
        <File>XRX_HUN.dll</File>
        <File>XRX_ITA.dll</File>
        <File>XRX_JPN.dll</File>
        <File>XRX_KOR.dll</File>
        <File>XRX_NLD.dll</File>
        <File>XRX_NOR.dll</File>
        <File>XRX_PLK.dll</File>
        <File>XRX_PTB.dll</File>
        <File>XRX_ROM.dll</File>
        <File>XRX_RUS.dll</File>
        <File>XRX_SVE.dll</File>
        <File>XRX_TRK.dll</File>
        <File>XRX_UKR.dll</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\64-Bit_x64</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!PROGRAMDIR!\Xerox</DstDir>
        <File>XRXTwainScannerHelp_CHS.chm</File>
        <File>XRXTwainScannerHelp_DAN.chm</File>
        <File>XRXTwainScannerHelp_DEU.chm</File>
        <File>XRXTwainScannerHelp_ENU.chm</File>
        <File>XRXTwainScannerHelp_ESN.chm</File>
        <File>XRXTwainScannerHelp_FIN.chm</File>
        <File>XRXTwainScannerHelp_FRA.chm</File>
        <File>XRXTwainScannerHelp_ITA.chm</File>
        <File>XRXTwainScannerHelp_NLD.chm</File>
        <File>XRXTwainScannerHelp_NOR.chm</File>
        <File>XRXTwainScannerHelp_PTB.chm</File>
        <File>XRXTwainScannerHelp_RUS.chm</File>
        <File>XRXTwainScannerHelp_SVE.chm</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\64-Bit_x64</SrcDir>
        <!-- Leave empty to use <Temp> path above - Should always be empty if Web installs are supported, otherwise Web installs could (and most likely would) fail -->
        <DstDir>!APPDATADIR!\TwainD2\Templates</DstDir>
        <File>Default.xml</File>
      </FilesToCopy>
      <FoldersToCopy>
        <SrcDir>!INSTALLERTEMPDIR!\TwainD2\64-Bit_x64</SrcDir>
        <!-- Root path to copy sub-folders from -->
        <DstDir>!PROGRAMDIR!\Xerox</DstDir>
        <!-- Root path to paste sub-folders into -->
        <Folder>Imaging</Folder>
      </FoldersToCopy>
      <!-- Scan Uninstaller related Files -->
      <FilesToCopy>
        <SrcDir>!CDROOT!\Windows Utilities\Installer!OSBITS!</SrcDir>
        <DstDir>!PROGRAMDIR!\Xerox\bin</DstDir>
        <File>XrxScanUninstaller.exe</File>
        <File>!COMMDLLNAME!</File>
        <File>!UTILDLLNAME!</File>
        <File>!GUIDLLNAME!</File>
        <File>!COREDLLNAME!</File>
      </FilesToCopy>
      <FilesToCopy>
        <SrcDir>!TEXTRESDLLPATH!</SrcDir>
        <DstDir>!PROGRAMDIR!\Xerox\bin</DstDir>
        <File>!TEXTRESDLLNAME!</File>
      </FilesToCopy>
    </TwainD2_64>
	</FilesSection>
	<!-- 
  EDITS ALLOWED: NO (DO NOT EDIT OR EDIT AT YOUR OWN RISK!)
  DESCRIPTION:
    This section contains core installer information necessary for successful installations.  Please do NOT edit this 
    section unless specifically directed to by Xerox personnel.  Invalid edits may cause unpredictable results.  Xerox will 
    not be held responsible for any personal damage due to unauthorized or incorrect edits of this section of the XML
    -->
	<CoreSection>
		<!-- Indicates number of folder-levels up to root of CD -->
		<DirectoryLevel>2</DirectoryLevel>
		<!-- File path and name of bitmap file we want to use for our large banner (in place of the one in the executable) -->
		<BitmapBannerTopLarge></BitmapBannerTopLarge>
		<!-- Name of the bitmap file we want to use for our small banner (in place of the one in the executable) -->
		<BitmapBannerTopSmall></BitmapBannerTopSmall>
		<!-- 
      Supported Operating System's for print and/or scan installs 
      Available values: Win2000,WinXP32,WinXP64,WinServer2003_32,WinServer2003_64,Vista32,Vista64,WinServer2008_32,WinServer2008_64,Win7_32,Win7_64,Other
      NOTE: Other means the installer was unable to detect the version (most likely a newer OS) and it may or may not install correctly
      -->
	</CoreSection>
</XDriverInstaller>
