; USB HPI File

[version]
signature=hpi
version=3.2

[includes]
count=2
1=inc.hpi
2=driver.hpi

[install:usb95]
1=InstallFiles
2=AddMonitor,   addusbprintermonitor95,
count=2

[install:usb98]
1=InstallFiles
2=AddMonitor,   addusbprintermonitor98,
count=2

[addusbprintermonitor95]
Name=$portmonitorname_ms13$
DLL=$divid$l95$pnum$.dll
Environment=$environment$

[addusbprintermonitor98]
Name=$portmonitorname_ms13$
DLL=$divid$l98$pnum$.dll
Environment=$environment$


[uninstall:usb95]
1=DelFile
2=DelReg,  delregmonitor, delregdevice
3=DelReg,  $if,^$bnum^$,==,880,delregservices880,$
4=DelReg,  $if,^$bnum^$,==,895,delregservices895,$
5=DelReg,  $if,^$bnum^$,==,900,delregservices900,$
6=DelFile, delinf95, delusbfiles
count=6

[uninstall:usb98]
1=DelFile
2=DelReg,  delregmonitor, delregdevice, 
3=DelReg,  $if,^$bnum^$,==,880,delregservices880,$
4=DelReg,  $if,^$bnum^$,==,880,delregother98880,$
5=DelReg,  $if,^$bnum^$,==,895,delregservices895,$
6=DelReg,  $if,^$bnum^$,==,895,delregother98895,$
7=DelReg,  $if,^$bnum^$,==,900,delregservices900,$
8=DelReg,  $if,^$bnum^$,==,900,delregother98900,$
9=DelFile, delinf98, delusbfiles
count=9

[delregmonitor]
1=HKLM, $controlprintpath$\$monitorpath$, $portmonitorname_ms13$

[delregdevice]
1=HKLM, Enum\USB, $usb_id$

[delregservices880]
1=HKLM, System\CurrentControlSet\Services\Class, HPUSBDeskJet880

[delregservices895]
1=HKLM, System\CurrentControlSet\Services\Class, HPUSBDeskJet

[delregservices900]
1=HKLM, System\CurrentControlSet\Services\Class, NECUSBPicty


[delregother98880]
1=HKLM, System\CurrentControlSet\Services\Class, {552be630-4116-11d2-8169-080009a9c35c}
2=HKLM, System\CurrentControlSet\Control\DeviceClasses, {552be630-4116-11d2-8169-080009a9c35c}

[delregother98895]
1=HKLM, System\CurrentControlSet\Services\Class, {7d9623d8-9348-11d1-8625-080009dd935c}
2=HKLM, System\CurrentControlSet\Control\DeviceClasses, {7d9623d8-9348-11d1-8625-080009dd935c}

[delregother98900]
1=HKLM, System\CurrentControlSet\Services\Class, {7d98f9a0-387d-11d2-8167-080009a9c35c}
2=HKLM, System\CurrentControlSet\Control\DeviceClasses, {7d98f9a0-387d-11d2-8167-080009a9c35c}


[delinf95]
1=Hewlett-PackardHPFUSB95.INF,$10$,Inf\Other,normal
2=NECNECUSB95.INF,$10$,Inf\Other,normal

[delinf98]
1=Hewlett-PackardHPFUSB98.INF,$10$,Inf\Other,normal
2=NECNECUSB98.INF,$10$,Inf\Other,normal

[delusbfiles]
1=$divid$uci$pnum$.ini,$11$,,normal
2=$divid$uci$pnum$.dll,$11$,,normal
