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

<PSDRPatchInstaller>
	<Patches>
	<!-- Next Patch ID="14", this is the next Patch ID to use, please increment this once you use it -->
		<Patch ID="1"  Vendor="HP" Type="Both" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Pinot Digital Fax Patch</Title>
		   <Version>1.0</Version>
		   <Description>The Digital fax feature in Pinot should support both USB and network connections.  Currently, Pinot's digital fax feature is available in USB environments only.  This patch fixes this issue and makes the digital fax feature available in both USB and Network installs.</Description>
		   <Location>https://ftp.hp.com/pub/printers/pinotdf-psdr/pinotdf-fix.exe</Location>
		   <!-- The patch may need to know the product being diagnosed, therefore the PSdr should interpret %ProductNumber% when it appears in the “Commandline” tag to be the Product Number of the device in question, i.e. <Commandline>-product %ProductNumber%</Commandline>. -->
		   <Commandline>-! /s -s</Commandline>
		   <Reboot>MayBe</Reboot>
		   <SupportedOS All="Yes" >
				<!--  If All attribute is No-->
				<OS>WinXP_32</OS>
				<OS>Vista_32</OS>
				<OS>Vista_64</OS>
				<OS>Win7_32</OS>
				<OS>Win7_64</OS>
				<OS>Win8_32</OS>
				<OS>Win8_64</OS>
				<OS>Win8.1_32</OS>
				<OS>Win8.1_64</OS>
				<OS>Win10_32</OS>
				<OS>Win10_64</OS>
		   </SupportedOS>
		   <SupportedLanguage All="Yes" >
				<!--  If All attribute is No-->
				<!-- possible values: ar/zh-hans/zh-hant/cs/da/en/nl/fi/fr/de/el/he/hu/it/ja/ko/no/pl/pt/ru/es/sv/tr -->
				<Lang>en</Lang>
				<Lang>zh-hans</Lang>
				<Lang>pt</Lang>
		   </SupportedLanguage>
		   
		   <!-- The patch will be only supported for the given products -->
		   <SupportedDeviceType All="No" >
				<!--  If All attribute is No -->
				<DeviceType Type="Cue/Karnak/Scanjet/Laserjet" PatchForSingleProduct="Yes">
						<!--  If PatchForSingleProduct attribute is Yes -->
						<Device>
							<PID></PID>
							<Modelname>HP Officejet Pro 6830,HP Officejet 6800</Modelname>
							<ProductNumber>E3E02A,M0F56A,G1W52A,F0M65A</ProductNumber>
						</Device>
						<!--  There may be multiple Devices supported-->
				</DeviceType>
				<!--  There may be multiple DeviceType supported -->
		   </SupportedDeviceType>
		   
		   <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes">
				<!--  If All attribute is No-->
				<!-- possible values: 4.7 and higher -->
				<Version>4.7</Version>
				<Version>4.8</Version>
		   </PSDrVersion>
		   
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="Yes" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if exists">%programfiles%\HP\%modelname%\Bin\UDC_Files\tasks.json</name>
				<!-- If action attribute is  Run if exists then patch will install only if the file exists.  -->
				<!-- If action attribute is  Run if missing, then patch will install only if the file not exists. -->
				<!-- For Pinot Digital Fax the action attribute will be Run if exists -->
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min></min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if earlier">10/30/2014</ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!--version takes precedence over ModifyDate-->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>		
		<Patch ID="2"  Vendor="HP" Type="Print" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>PJDFQ</Title>
		   <Version>1.0</Version>
		   <Description>Windows Update (KB2769165)copies a V4 driver – hpbxpsrender.dll version 0.3.8315.0 – into the V3 driver area overwriting the existing V3 driver. This patch delete this V4 driver and copy the correct V3 driver from the driver store into the %systemroot%\System32\spool\drivers\x64\3 directory.</Description>
		   <Location>https://ftp.hp.com/pub/printers/hppsdr/patches/PJDFQPatch.exe</Location>
		   <Commandline></Commandline>
		   <Reboot>No</Reboot>
		   <SupportedOS All="No" >
				<!--  If All attribute is No-->
				<OS>Win8_64</OS>
				<OS>Win8.1_64</OS>
		   </SupportedOS>
		   <SupportedLanguage All="Yes" />
		   
		   <!-- The patch will be only supported for the given products -->
		   <SupportedDeviceType All="No" >
				<DeviceType Type="Karnak" PatchForSingleProduct="No" />
		   </SupportedDeviceType>
		   
		    <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes" />
		   
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="Yes" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if exists">%windir%\System32\spool\drivers\x64\3\hpbxpsrender.dll</name>
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min></min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max>0.3.8315.0</max>
				</version>
				<ModifyDate Action="Run if later"></ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!--version takes precedence over ModifyDate-->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="3"  Vendor="HP" Type="Scan" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Temp Folder missing patch</Title>
		   <Version>1.0</Version>
		   <Description>Sometimes this temp file gets deleted: %WINDIR%\ServiceProfiles\LocalService\AppData\Local\Temp. But is needed for Laserjet scan to work.  This patch add this Temp Directory if it is found missing</Description>
		   <Location>https://ftp.hp.com/pub/printers/hppsdr/patches/ScanPatch.exe</Location>
		   <Commandline></Commandline>
		   <Reboot>No</Reboot>
		   <SupportedOS All="No" >
				<!--  If All attribute is No-->				
				<OS>Win7_32</OS>
				<OS>Win7_64</OS>
				<OS>Win8_32</OS>
				<OS>Win8_64</OS>
				<OS>Win8.1_32</OS>
				<OS>Win8.1_64</OS>
				<OS>Win10_32</OS>
				<OS>Win10_64</OS>
		   </SupportedOS>
		   <SupportedLanguage All="Yes" >
				<!--  If All attribute is No-->
				<!-- possible values: ar/zh-hans/zh-hant/cs/da/en/nl/fi/fr/de/el/he/hu/it/ja/ko/no/pl/pt/ru/es/sv/tr -->
				<Lang>en</Lang>
				<Lang>zh-hans</Lang>
				<Lang>pt</Lang>
		   </SupportedLanguage>
		   
		   <!-- The patch will be only supported for the given products -->
		   <SupportedDeviceType All="No" >
				<!--  If All attribute is No -->
				<DeviceType Type="Laserjet" PatchForSingleProduct="No">
						<!--  If PatchForSingleProduct attribute is Yes -->
						<Device>
							<PID></PID>
							<Modelname></Modelname>
							<ProductNumber></ProductNumber>
						</Device>
						<!--  There may be multiple Devices supported-->
				</DeviceType>
				<!--  There may be multiple DeviceType supported -->
		   </SupportedDeviceType>
		   
		    <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes" />
		   
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="Yes" OSSpecific="Yes">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<!--  If OSSpecific attribute is Yes-->			
				<name Action="Run if missing" OS="Win7_32">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>
				<name Action="Run if missing" OS="Win7_64">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>
				<name Action="Run if missing" OS="Win8_32">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>
				<name Action="Run if missing" OS="Win8_64">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>
				<name Action="Run if missing" OS="Win8.1_32">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>
				<name Action="Run if missing" OS="Win8.1_64">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>
				<name Action="Run if missing" OS="Win10_32">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>
				<name Action="Run if missing" OS="Win10_64">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min></min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if later"></ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="4"  Vendor="HP" Type="Both" Enabled="true" RunLocation="2">
			<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Printer Assistant Scripting Error Patch</Title>
		   <Version>1.0</Version>
		   <Description>This is a file association problem where the .hta file type gets associated with notepad or some other incorrect application.</Description>
		   <Location>https://ftp.hp.com/pub/printers/sclitefileassociation/SCLiteFix_299026.exe</Location>
		   <Commandline></Commandline>
		   <Reboot>No</Reboot>
		   <SupportedOS All="Yes" >
				<!--  If All attribute is No-->
				<OS>WinXP_32</OS>
				<OS>Vista_32</OS>
				<OS>Vista_64</OS>
				<OS>Win7_32</OS>
				<OS>Win7_64</OS>
				<OS>Win8_32</OS>
				<OS>Win8_64</OS>
				<OS>Win8.1_32</OS>
				<OS>Win8.1_64</OS>
				<OS>Win10_32</OS>
				<OS>Win10_64</OS>
		   </SupportedOS>
		   <SupportedLanguage All="Yes" >
				<!--  If All attribute is No-->
				<!-- possible values: ar/zh-hans/zh-hant/cs/da/en/nl/fi/fr/de/el/he/hu/it/ja/ko/no/pl/pt/ru/es/sv/tr -->
				<Lang>en</Lang>
				<Lang>zh-hans</Lang>
				<Lang>pt</Lang>
		   </SupportedLanguage>
		   
		   <!-- The patch will be only supported for the given products -->
		   <SupportedDeviceType All="No" >
				<!--  If All attribute is No -->
				<DeviceType Type="Karnak" PatchForSingleProduct="No">
						<!--  If PatchForSingleProduct attribute is Yes -->
						<Device>
							<PID></PID>
							<Modelname></Modelname>
							<ProductNumber></ProductNumber>
						</Device>
						<!--  There may be multiple Devices supported-->
				</DeviceType>
				<!--  There may be multiple DeviceType supported -->
		   </SupportedDeviceType>
		   
		    <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes" />
		   
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="Yes">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta\UserChoice</key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name>Progid</name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data>htafile</data>
			</Registry>
			<File Enabled="No" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if exists"></name>
				<!-- If action attribute is  Run if exists then patch will install only if the file exists.  -->
				<!-- If action attribute is  Run if missing, then patch will install only if the file not exists. -->
				<!-- For Pinot Digital Fax the action attribute will be Run if exists -->
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min></min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if earlier"></ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!-- The File size should be in Bytes. -->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="5"  Vendor="HP" Type="Both" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Virtual Alerts Patch</Title>
		   <Version>1.0</Version>
		   <Description>This patch replaces the obselete 32 bit version of the Karnak OneClick.exe from K14 to K19 with the K20 version 40.1.1042.62200.</Description>
		   <Location>https://ftp.hp.com/pub/printers/hppsdr/patches/VirtualAlertsPatch32.exe</Location>
		   <!-- The patch may need to know the product being diagnosed, therefore the PSdr should interpret %ModelName% when it appears in the “Commandline” tag to be the Model Name of the device in question, i.e. <Commandline>-name %ModelName%</Commandline>. -->
		   <Commandline>-! -name %ModelName% -s</Commandline>
		   <Reboot>No</Reboot>
		  <SupportedOS All="No" >
				<!--  If All attribute is No-->				
				<OS>Win7_32</OS>
				<OS>Win8_32</OS>
				<OS>Win8.1_32</OS>
				<OS>Win10_32</OS>
		   </SupportedOS>
		   <SupportedLanguage All="Yes" />		   
		   <!-- The patch will be only supported for the given products -->
		   <SupportedDeviceType All="Yes" >
				<!--  If All attribute is No -->
				<DeviceType Type="Karnak" PatchForSingleProduct="No"/>
		   </SupportedDeviceType>		   
		   <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes"/>
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="Yes" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if exists">%programfiles%\HP\%modelname%\Bin\OneClick.exe</name>
				<!-- If action attribute is  Run if exists then patch will install only if the file exists.  -->
				<!-- If action attribute is  Run if missing, then patch will install only if the file not exists. -->
				<!-- For Virtual Alerts Patch the action attribute will be Run if exists -->
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min>40.11.1107.1738</min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if earlier"> </ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!--version takes precedence over ModifyDate-->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="6"  Vendor="HP" Type="Both" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Virtual Alerts Patch</Title>
		   <Version>1.0</Version>
		   <Description>This patch replaces the obselete 64 bit version of the Karnak OneClick.exe from K14 to K19 with the K20 version 40.1.1042.62200.</Description>
		   <Location>https://ftp.hp.com/pub/printers/hppsdr/patches/VirtualAlertsPatch64.exe</Location>
		   <!-- The patch may need to know the product being diagnosed, therefore the PSdr should interpret %ModelName% when it appears in the “Commandline” tag to be the Model Name of the device in question, i.e. <Commandline>-name %ModelName%</Commandline>. -->
		   <Commandline>-! -name %ModelName% -s</Commandline>
		   <Reboot>No</Reboot>
		  <SupportedOS All="No" >
				<!--  If All attribute is No-->			
				<OS>Win7_64</OS>
				<OS>Win8_64</OS>
				<OS>Win8.1_64</OS>
				<OS>Win10_64</OS>
		   </SupportedOS>
		   <SupportedLanguage All="Yes" />		   
		   <!-- The patch will be only supported for the given products -->
		   <SupportedDeviceType All="Yes" >
				<!--  If All attribute is No -->
				<DeviceType Type="Karnak" PatchForSingleProduct="No"/>
		   </SupportedDeviceType>		   
		   <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes"/>
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="Yes" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if exists">%programfiles%\HP\%modelname%\Bin\OneClick.exe</name>
				<!-- If action attribute is  Run if exists then patch will install only if the file exists.  -->
				<!-- If action attribute is  Run if missing, then patch will install only if the file not exists. -->
				<!-- For Virtual Alerts Patch the action attribute will be Run if exists -->
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min>40.11.1107.1738</min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if earlier"> </ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!--version takes precedence over ModifyDate-->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="7"  Vendor="HP" Type="Both" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Automatic updates issue patch</Title>
		   <Version>1.0</Version>
		   <Description>Patch for PSDR 4.9 users to get latest updates.</Description>
		   <Location>http://ftp.hp.com/pub/printers/hppsdr/patches/CheckForUpdate.exe</Location>
		   <!-- The patch may need to know the product being diagnosed, therefore the PSdr should interpret %ProductNumber% when it appears in the “Commandline” tag to be the Product Number of the device in question, i.e. <Commandline>-product %ProductNumber%</Commandline>. -->
		   <Commandline>-! /s -s</Commandline>
		   <Reboot>NO</Reboot>
		   <SupportedOS All="No" >
				<!--  If All attribute is No-->				
				<OS>WinXP_32</OS>
				<OS>Vista_32</OS>
				<OS>Vista_64</OS>
		   </SupportedOS>
		   <SupportedLanguage All="Yes" >
				<!--  If All attribute is No-->
				<!-- possible values: ar/zh-hans/zh-hant/cs/da/en/nl/fi/fr/de/el/he/hu/it/ja/ko/no/pl/pt/ru/es/sv/tr -->
				<Lang>en</Lang>
				<Lang>zh-hans</Lang>
				<Lang>pt</Lang>
		   </SupportedLanguage>
		   <SupportedDeviceType All="Yes" >
				<!--  If All attribute is No -->
				<DeviceType Type="Karnak" PatchForSingleProduct="No">
						<!--  If PatchForSingleProduct attribute is Yes -->
						<Device>
							<PID></PID>
							<Modelname></Modelname>
							<ProductNumber></ProductNumber>
						</Device>
						<!--  There may be multiple Devices supported-->
				</DeviceType>
				<!--  There may be multiple DeviceType supported -->
		   </SupportedDeviceType>
		   <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="No">
				<!--  If All attribute is No-->
				<!-- possible values: 4.7 and higher -->
				<Version>4.9</Version>				
		   </PSDrVersion>		   
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="No" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if exists"></name>
				<!-- If action attribute is  Run if exists then patch will install only if the file exists.  -->
				<!-- If action attribute is  Run if missing, then patch will install only if the file not exists. -->
				<!-- For Pinot Digital Fax the action attribute will be Run if exists -->
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min></min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if earlier"></ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!-- The File size should be in Bytes. -->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="8"  Vendor="HP" Type="Scan" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Temp Folder missing patch</Title>
		   <Version>1.0</Version>
		   <Description>Sometimes this temp file gets deleted: %WINDIR%\ServiceProfiles\LocalService\AppData\Local\Temp. But is needed for Laserjet scan to work.  This patch add this Temp Directory if it is found missing</Description>
		   <Location>http://ftp.hp.com/pub/printers/hppsdr/patches/ScanPatchXPV.exe</Location>
		   <Commandline></Commandline>
		   <Reboot>No</Reboot>
		   <SupportedOS All="No" >
				<!--  If All attribute is No-->
				<OS>WinXP_32</OS>
				<OS>Vista_32</OS>
				<OS>Vista_64</OS>				
		   </SupportedOS>
		   <SupportedLanguage All="Yes" >
				<!--  If All attribute is No-->
				<!-- possible values: ar/zh-hans/zh-hant/cs/da/en/nl/fi/fr/de/el/he/hu/it/ja/ko/no/pl/pt/ru/es/sv/tr -->
				<Lang>en</Lang>
				<Lang>zh-hans</Lang>
				<Lang>pt</Lang>
		   </SupportedLanguage>
		   
		   <!-- The patch will be only supported for the given products -->
		   <SupportedDeviceType All="No" >
				<!--  If All attribute is No -->
				<DeviceType Type="Laserjet" PatchForSingleProduct="No">
						<!--  If PatchForSingleProduct attribute is Yes -->
						<Device>
							<PID></PID>
							<Modelname></Modelname>
							<ProductNumber></ProductNumber>
						</Device>
						<!--  There may be multiple Devices supported-->
				</DeviceType>
				<!--  There may be multiple DeviceType supported -->
		   </SupportedDeviceType>
		   
		    <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes" />
		   
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="Yes" OSSpecific="Yes">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<!--  If OSSpecific attribute is Yes-->
				<name Action="Run if missing" OS="WinXP_32">%windir%\Temp</name>
				<name Action="Run if missing" OS="Vista_32">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>
				<name Action="Run if missing" OS="Vista_64">%windir%\ServiceProfiles\LocalService\AppData\Local\Temp</name>				
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min></min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if later"></ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="9"  Vendor="HP" Type="Both" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Virtual Alerts Patch</Title>
		   <Version>1.0</Version>
		   <Description>This patch replaces the obselete 32 bit version of the Karnak OneClick.exe from K14 to K19 with the K20 version 40.1.1042.62200.</Description>
		   <Location>http://ftp.hp.com/pub/printers/hppsdr/patches/VirtualAlertsPatch32XPV.exe</Location>
		   <!-- The patch may need to know the product being diagnosed, therefore the PSdr should interpret %ModelName% when it appears in the “Commandline” tag to be the Model Name of the device in question, i.e. <Commandline>-name %ModelName%</Commandline>. -->
		   <Commandline>-! -name %ModelName% -s</Commandline>
		   <Reboot>No</Reboot>
		  <SupportedOS All="No" >
				<!--  If All attribute is No-->
				<OS>WinXP_32</OS>
				<OS>Vista_32</OS>				
		   </SupportedOS>
		   <SupportedLanguage All="Yes" />		   
		   <!-- The patch will be only supported for the given products -->
		   <SupportedDeviceType All="Yes" >
				<!--  If All attribute is No -->
				<DeviceType Type="Karnak" PatchForSingleProduct="No"/>
		   </SupportedDeviceType>		   
		   <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes"/>
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="Yes" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if exists">%programfiles%\HP\%modelname%\Bin\OneClick.exe</name>
				<!-- If action attribute is  Run if exists then patch will install only if the file exists.  -->
				<!-- If action attribute is  Run if missing, then patch will install only if the file not exists. -->
				<!-- For Virtual Alerts Patch the action attribute will be Run if exists -->
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min>40.11.1107.1738</min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if earlier"> </ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!--version takes precedence over ModifyDate-->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="10"  Vendor="HP" Type="Both" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Virtual Alerts Patch</Title>
		   <Version>1.0</Version>
		   <Description>This patch replaces the obselete 64 bit version of the Karnak OneClick.exe from K14 to K19 with the K20 version 40.1.1042.62200.</Description>
		   <Location>http://ftp.hp.com/pub/printers/hppsdr/patches/VirtualAlertsPatch64XPV.exe</Location>
		   <!-- The patch may need to know the product being diagnosed, therefore the PSdr should interpret %ModelName% when it appears in the “Commandline” tag to be the Model Name of the device in question, i.e. <Commandline>-name %ModelName%</Commandline>. -->
		   <Commandline>-! -name %ModelName% -s</Commandline>
		   <Reboot>No</Reboot>
		  <SupportedOS All="No" >
				<!--  If All attribute is No-->
				<OS>Vista_64</OS>			
		   </SupportedOS>
		   <SupportedLanguage All="Yes" />		   
		   <!-- The patch will be only supported for the given products -->
		   <SupportedDeviceType All="Yes" >
				<!--  If All attribute is No -->
				<DeviceType Type="Karnak" PatchForSingleProduct="No"/>
		   </SupportedDeviceType>		   
		   <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes"/>
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="Yes" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if exists">%programfiles%\HP\%modelname%\Bin\OneClick.exe</name>
				<!-- If action attribute is  Run if exists then patch will install only if the file exists.  -->
				<!-- If action attribute is  Run if missing, then patch will install only if the file not exists. -->
				<!-- For Virtual Alerts Patch the action attribute will be Run if exists -->
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min>40.11.1107.1738</min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if earlier"> </ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!--version takes precedence over ModifyDate-->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="11"  Vendor="HP" Type="Both" Enabled="false" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Printer Monitor Service</Title>
		   <Version>1.0</Version>
		   <Description>Printer Monitor Service for self diagnose and fix the printer issue</Description>
		   <Location>https://ftp.hp.com/pub/printers/hppsdr/patches/pms/HPPrintMonitorServicex64.exe</Location>
		   <!-- The patch may need to know the product being diagnosed, therefore the PSdr should interpret %ProductNumber% when it appears in the “Commandline” tag to be the Product Number of the device in question, i.e. <Commandline>-product %ProductNumber%</Commandline>. -->
		   <Commandline>-! /s -s</Commandline>
		   <Reboot>NO</Reboot>
		   <SupportedOS All="No" >
				<!--  If All attribute is No-->				
				<!--<OS>Win7_64</OS>-->
				<!--<OS>Win8_64</OS>-->
				<!--<OS>Win8.1_64</OS>-->
				<!--<OS>Win10_64</OS>-->
				<OS>Win10_19H2_64</OS>
		   </SupportedOS>
		   <SupportedLanguage All="Yes" >
				<!--  If All attribute is No-->
				<!-- possible values: ar/zh-hans/zh-hant/cs/da/en/nl/fi/fr/de/el/he/hu/it/ja/ko/no/pl/pt/ru/es/sv/tr -->
				<Lang>en</Lang>
				<Lang>zh-hans</Lang>
				<Lang>pt</Lang>
		   </SupportedLanguage>
		   <SupportedDeviceType All="Yes" >
				<!--  If All attribute is No -->
				<DeviceType Type="Karnak" PatchForSingleProduct="No">
						<!--  If PatchForSingleProduct attribute is Yes -->
						<Device>
							<PID></PID>
							<Modelname></Modelname>
							<ProductNumber></ProductNumber>
						</Device>
						<!--  There may be multiple Devices supported-->
				</DeviceType>
				<!--  There may be multiple DeviceType supported -->
		   </SupportedDeviceType>
		   <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes" />   
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\HPPrintMonitorService</key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="No" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if missing">%windir%\System32\Tasks\HPPrintMonitorService</name>
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min></min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if later"></ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!--version takes precedence over ModifyDate-->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="12"  Vendor="HP" Type="Both" Enabled="false" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Printer Monitor Service</Title>
		   <Version>1.0</Version>
		   <Description>Printer Monitor Service for self diagnose and fix the printer issue for 32 bit OS</Description>
		   <Location>https://ftp.hp.com/pub/printers/hppsdr/patches/pms/HPPrintMonitorServicex86.exe</Location>
		   <!-- The patch may need to know the product being diagnosed, therefore the PSdr should interpret %ProductNumber% when it appears in the “Commandline” tag to be the Product Number of the device in question, i.e. <Commandline>-product %ProductNumber%</Commandline>. -->
		   <Commandline>-! /s -s</Commandline>
		   <Reboot>NO</Reboot>
		   <SupportedOS All="No" >
				<!--  If All attribute is No-->				
				<!--<OS>Win7_32</OS>-->
				<!--<OS>Win8_32</OS>-->
				<!--<OS>Win8.1_32</OS>-->
				<!--<OS>Win10_32</OS>-->
				<OS>Win10_19H2_32</OS>

		   </SupportedOS>
		   <SupportedLanguage All="Yes" >
				<!--  If All attribute is No-->
				<!-- possible values: ar/zh-hans/zh-hant/cs/da/en/nl/fi/fr/de/el/he/hu/it/ja/ko/no/pl/pt/ru/es/sv/tr -->
				<Lang>en</Lang>
				<Lang>zh-hans</Lang>
				<Lang>pt</Lang>
		   </SupportedLanguage>
		   <SupportedDeviceType All="Yes" >
				<!--  If All attribute is No -->
				<DeviceType Type="Karnak" PatchForSingleProduct="No">
						<!--  If PatchForSingleProduct attribute is Yes -->
						<Device>
							<PID></PID>
							<Modelname></Modelname>
							<ProductNumber></ProductNumber>
						</Device>
						<!--  There may be multiple Devices supported-->
				</DeviceType>
				<!--  There may be multiple DeviceType supported -->
		   </SupportedDeviceType>
		   <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="Yes" />   
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\HPPrintMonitorService</key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="No" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if missing">%windir%\System32\Tasks\HPPrintMonitorService</name>
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min></min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if later"></ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!--version takes precedence over ModifyDate-->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<Patch ID="13"  Vendor="HP" Type="Both" Enabled="true" RunLocation="2">
		<!-- RunLocation is where to run the patch in the PSdr, 2 = first test after "fix printing" or "fix scanning", 4 = after test print or test scan failure -->
		   <Title>Automatic updates issue patch</Title>
		   <Version>1.0</Version>
		   <Description>Patch for PSDR 5.X users to get latest updates.</Description>
		   <Location>https://ftp.hp.com/pub/printers/hppsdr/patches/CheckingForUpdatesPatch.exe</Location>
		   <!-- The patch may need to know the product being diagnosed, therefore the PSdr should interpret %ProductNumber% when it appears in the “Commandline” tag to be the Product Number of the device in question, i.e. <Commandline>-product %ProductNumber%</Commandline>. -->
		   <Commandline>-! /s -s</Commandline>
		   <Reboot>NO</Reboot>
		   <SupportedOS All="Yes" >
				<!--  If All attribute is No-->				
				<OS>WinXP_32</OS>
		   </SupportedOS>
		   <SupportedLanguage All="Yes" >
				<!--  If All attribute is No-->
				<!-- possible values: ar/zh-hans/zh-hant/cs/da/en/nl/fi/fr/de/el/he/hu/it/ja/ko/no/pl/pt/ru/es/sv/tr -->
				<Lang>en</Lang>
				<Lang>zh-hans</Lang>
				<Lang>pt</Lang>
		   </SupportedLanguage>
		   <SupportedDeviceType All="Yes" >
				<!--  If All attribute is No -->
				<DeviceType Type="Karnak" PatchForSingleProduct="No">
						<!--  If PatchForSingleProduct attribute is Yes -->
						<Device>
							<PID></PID>
							<Modelname></Modelname>
							<ProductNumber></ProductNumber>
						</Device>
						<!--  There may be multiple Devices supported-->
				</DeviceType>
				<!--  There may be multiple DeviceType supported -->
		   </SupportedDeviceType>
		   <!-- The patch will be only supported for the given client version -->
		   <PSDrVersion All="No">
				<!--  If All attribute is No-->
				<!-- possible values: 4.7 and higher -->
				<Version>5.0</Version>
				<Version>5.1</Version>				
				<Version>5.2</Version>				
				<Version>5.3</Version>				
				<Version>5.4</Version>				
			</PSDrVersion>		   
		   <Installed> 
		   <!-- To check whether this patch is already installed. -->
			<Registry Enabled="No">
				<!-- if "Yes", then this key must be found to determine that the patch has been installed. -->
				<key></key>
				<!-- if the name tag is not empty then it must be found as well to determine that the patch has been installed. -->
				<name></name>
				<!-- if the data is not empty then it must be found as well to determine that the patch has been installed. -->
				<data></data>
			</Registry>
			<File Enabled="No" OSSpecific="No">
			<!-- if "Yes", then this file or folder must be found to determine that the patch has been installed. Must support %appdata%, %programdata%, %programfiles%, %programfiles(x86)% (translate to %programfiles% for 32-bit systems), %homedrive%, %systemdrive%, %systemroot%, %temp%, %windir%, %modelname%-->
				<name Action="Run if exists"></name>
				<!-- If action attribute is  Run if exists then patch will install only if the file exists.  -->
				<!-- If action attribute is  Run if missing, then patch will install only if the file not exists. -->
				<!-- For Pinot Digital Fax the action attribute will be Run if exists -->
				<version>
					<!-- if the min tag is not empty then the file version must be higher than the one in the tag to determine that the patch has been installed. -->
					<min></min>
					<!-- if the max tag is not empty then the file version must be lower than the one in the tag to determine that the patch has been installed. -->
					<max></max>
				</version>
				<ModifyDate Action="Run if earlier"></ModifyDate> <!-- if the ModifyDate tag is not empty, then:-->
				<!--if the Action attribute is "Run if later" then the patch will be run if the modify date in the file is later than the date in the tag-->
				<!--if the Action attribute is "Run if earlier" then the patch will be run if the modify date in the file is earlier than the date in the tag -->
				<!-- The File size should be in Bytes. -->
				<Size Action="Run if smaller"></Size>
				<!-- If action attribute is  Run if smaller then patch will install only if the file size is less than the size in tag.  -->
				<!-- If action attribute is  Run if larger, then patch will install only if the file size is higher than the size in tag. -->
			</File>
		   </Installed>
		</Patch>
		<!-- There will be number of patch trees as the above patch tree. The count will be added to PatchesAvailable section -->
	</Patches>
</PSDRPatchInstaller>
