[InstallSymbols]
; required section do not remove
Type=Symbols
0=;BATCH;FALSE;bool
1=;UNINSTALL;FALSE;bool
2=;DIVID;HPW6
3=;CErrorObjectResourceDLL;$(DIVID)st2.dll
4=;SOURCEPATH;$(EXEPATH)
5=;DLLPATH;$(SYSTEMPATH)
6=;DRIVERSPATH;$(SYSTEMPATH)drivers\
7=;StartAsThread;?StartAsThread@CDisplayActionThread@@SAHP6AHAAHPAV1@@ZHAAVCString@@@Z
8=;InstallSteps;%Install self;string
;10=;InstallSteps;,pre-Install,$(Product),post-Install;string
9=;AlertDisplay;AlertDisplay
10=;FONTPATH;$(OSDRIVE)\HPFONTS\
11=;ProductKey;$(InstallKey)
12=;NECFlag;;bool
13=;DisplayObjectDLL;$(DIVID)da1.dll
14=;StartProgressDisplay;?StartDisplay@CProgressDlg@@SAHAAHPAVCDisplayActionThread@@@Z
;15=;ShowFontSmart;FALSE;bool
15=;ShowFontSmart;FALSE;bool
16=;ShowNetwork;FALSE;bool
17=;ShowQuickTour;FALSE;bool
18=;NumFontSmartFiles;10;number
19=;NumNetworkFiles;10;number
20=;NumQuickTourFiles;1;number
21=;INFPATH;$(OSPATH)INF\
22=;StartAddPrinterDisplay;?StartDisplay@CAddPrinterDlg@@SAHAAHPAVCDisplayActionThread@@@Z
;RequiredHardDiskSpace is in MBytes
23=;RequiredHardDiskSpace;10;number
24=;COMMONPATH;$(SOURCEPATH).\
25=;FONTSMARTPATH;$(SOURCEPATH).\
26=;NETWORKPATH;$(COMMONPATH)
27=;LANGSPECPATH;$(SOURCEPATH).\
28=;StartRemindRebootDisplay;?StartDisplay@CRemindRebootDialog@@SAHAAHPAVCDisplayActionThread@@@Z
29=;InstCfDir;$(SOURCEPATH).\
30=;InstCfINI;hpinscfg.ini
;--------------------------------------------------------------
[Copy Installer Other Files]
Type=CopyFilesAction
UNINSTALLABLE=NOT
0=,$(COMMONPATH)$(DIVID)ioi.dll,1,$(EXEPATH),1111,4096
1=,$(COMMONPATH)$(DIVID)ptd.dll,1,$(EXEPATH),1111,4096
2=,$(COMMONPATH)mfc42u.dll,1,$(DLLPATH),1111,4096
3=,$(COMMONPATH)msvcirt.dll,1,$(DLLPATH),1111,4096
4=,$(COMMONPATH)msvcrt.dll,1,$(DLLPATH),1111,4096
[AlertDisplay]
Type=DisplayAction
Wait=TRUE
ResourceDLL=$(EXEPATH)$(DIVID)st2.dll
DLL=$(EXEPATH)$(DIVID)da1.dll
StartDisplay=?StartDisplay@CAlertDialog@@SAHAAHPAVCDisplayActionThread@@@Z
;--------------------------------------------------------------
[Remove All Files]
Type=Feature
UNINSTALLABLE=Required
0=DriverDeleteFiles1
1=DriverDeleteFiles2
2=DriverDeleteFiles3
3=DriverDeleteNetworkFiles
[DriverDeleteFiles1]
Type=DeleteFilesAction
UNINSTALLABLE=Required
DoInstall=FALSE
0=$(SPOOL2DRIVERSPATH)$(DIVID)kmd.dll
1=$(SPOOL2DRIVERSPATH)$(DIVID)ddi.dll
2=$(SPOOL2DRIVERSPATH)$(DIVID)gui.dll
3=$(SPOOL2DRIVERSPATH)$(DIVID)r24.dll
4=$(SPOOL2DRIVERSPATH)$(DIVID)$(ModelPrefix).hpc
5=$(SPOOL2DRIVERSPATH)$(DIVID)wps.dll
6=$(SPOOL2DRIVERSPATH)$(DIVID)c32.dll
7=$(SPOOL2DRIVERSPATH)$(DIVID)hft.dll
8=$(SPOOL2DRIVERSPATH)$(DIVID)mon.dll
9=$(SPOOL2DRIVERSPATH)$(DIVID)win.dll
10=$(SPOOL2DRIVERSPATH)$(DIVID)pda.dll
11=$(SPOOL2DRIVERSPATH)$(DIVID)thd.dll
12=$(SPOOL2DRIVERSPATH)$(DIVID)res.dll
13=$(SPOOL2DRIVERSPATH)$(DIVID)thr.exe
14=$(SPOOL2DRIVERSPATH)$(DIVID)pal.exe
15=$(SPOOL2DRIVERSPATH)$(DIVID)umd.dll
16=$(SPOOL2DRIVERSPATH)$(DIVID)vcm.dll
17=$(SPOOL2DRIVERSPATH)$(DIVID)mem.dll
18=$(SPOOL2DRIVERSPATH)$(DIVID)mlc.dll
19=$(SPOOL2DRIVERSPATH)$(DIVID)inf.ini
20=$(SPOOL2DRIVERSPATH)$(DIVID)pml.exe
21=$(SPOOL2DRIVERSPATH)$(DIVID)iop.dll
22=$(SPOOL2DRIVERSPATH)$(DIVID)hid.exe
23=$(SPOOL2DRIVERSPATH)$(DIVID)nmr.DLL
24=$(SPOOL2DRIVERSPATH)$(DIVID)pml.dll
25=$(SPOOL2DRIVERSPATH)$(DIVID)rsa.dll
26=$(SPOOL2DRIVERSPATH)$(DIVID)rsu.dll
27=$(SPOOL2DRIVERSPATH)$(DIVID)cfg.hlp
28=$(SPOOL2DRIVERSPATH)$(DIVID)dda.hlp
29=$(SPOOL2DRIVERSPATH)$(DIVID)hda.hlp
30=$(SPOOL2DRIVERSPATH)$(DIVID)rda.hlp
31=$(SPOOL2DRIVERSPATH)$(DIVID)tda.hlp
32=$(SPOOL2DRIVERSPATH)$(DIVID)cfg.exe
33=$(SPOOL2DRIVERSPATH)$(DIVID)inf.exe
34=$(SPOOL2DRIVERSPATH)$(DIVID)asx.cfg
35=$(SPOOL2DRIVERSPATH)$(DIVID)tec.exe
36=$(SPOOL2DRIVERSPATH)$(DIVID)tec.cfg
37=$(SPOOL2DRIVERSPATH)$(DIVID)tec.dat
38=$(SPOOL2DRIVERSPATH)$(DIVID)sum.dll
39=$(SPOOL2DRIVERSPATH)$(DIVID)cbl.dll
40=$(SPOOL2DRIVERSPATH)$(DIVID)dcp.dll
41=$(SPOOL2DRIVERSPATH)$(DIVID)bus.dll
42=$(SPOOL2DRIVERSPATH)$(DIVID)svc.dll
43=$(SPOOL2DRIVERSPATH)$(DIVID)bsm.exe
44=$(SPOOL2DRIVERSPATH)$(DIVID)itb.exe
45=$(SPOOL2DRIVERSPATH)$(DIVID)dev.dll
46=$(SPOOL2DRIVERSPATH)$(DIVID)zip.dll
47=$(SPOOL2DRIVERSPATH)$(DIVID)nra.dll
[DriverDeleteFiles2]
Type=DeleteFilesAction
UNINSTALLABLE=Required
DoInstall=FALSE
0=$(INSTALLPATH)$(DIVID)ti1_u.ini
1=$(INSTALLPATH)$(DIVID)da1.dll
2=$(INSTALLPATH)$(DIVID)st2.dll
3=$(INSTALLPATH)$(DIVID)pti.dll
4=$(INSTALLPATH)$(DIVID)ioi.dll
5=$(INSTALLPATH)$(DIVID)ti1.exe
6=$(INSTALLPATH)$(DIVID)ti2.dll
7=$(INSTALLPATH)$(DIVID)c32.dll
8=$(INSTALLPATH)$(DIVID)ti1.ini
9=$(INSTALLPATH)$(DIVID)ptd.dll
10=$(INSTALLPATH)msvcrt.dll
11=$(INSTALLPATH)msvcirt.dll
12=$(INSTALLPATH)mfc42u.dll
13=$(INSTALLPATH)$(DIVID)ti1_u.tmp
14=$(INSTALLPATH)splash.bmp
15=$(INSTALLPATH)$(DIVID)nbr.dll
16=$(DRIVERSPATH)$(DIVID)ecp.sys
17=$(DLLPATH)$(DIVID)del.exe
18=$(INSTALLPATH)$(DIVID)kmd.dll
[DriverDeleteFiles3]
Type=DeleteFilesAction
UNINSTALLABLE=Required
DoInstall=FALSE
0=$(SPOOLDRIVERSPATH)$(DIVID)da1.dll
1=$(SPOOLDRIVERSPATH)$(DIVID)st2.dll
2=$(SPOOLDRIVERSPATH)$(DIVID)ti1.exe
3=$(SPOOLDRIVERSPATH)$(DIVID)ptd.dll
4=$(SPOOLDRIVERSPATH)$(DIVID)pti.dll
5=$(SPOOLDRIVERSPATH)$(DIVID)ioi.dll
6=$(SPOOLDRIVERSPATH)$(DIVID)ti2.dll
7=$(SPOOLDRIVERSPATH)$(DIVID)ti1.ini
8=$(SPOOLDRIVERSPATH)msvcrt.dll
9=$(SPOOLDRIVERSPATH)msvcirt.dll
10=$(SPOOLDRIVERSPATH)mfc42u.dll
11=$(DLLPATH)$(DIVID)lpm.dll
12=$(SPOOLDRIVERSPATH)$(DIVID)tiu.ini
13=$(SPOOLDRIVERSPATH)$(DIVID)ti1_u.log
14=$(OSPATH)$(DIVID)dsm.ini
15=$(OSPATH)$(DIVID)css.ini
16=$(SPOOLDRIVERSPATH)$(DIVID)inf.ini
17=$(DLLPATH)$(DIVID)www.htm
[DriverDeleteNetworkFiles]
Type=DeleteFilesAction
UNINSTALLABLE=Required
DoInstall=FALSE
0=$(DLLPATH)hpcola.hp6
1=$(DLLPATH)hpdmip.hp6
2=$(DLLPATH)hpdmipx.hp6
3=$(DLLPATH)hpnetsrv.hp6
4=$(DLLPATH)hpnwpsrv.hp6
5=$(DLLPATH)hpnwshim.hp6
6=$(DLLPATH)hpobj.hp6
7=$(DLLPATH)hpsnmp.hp6
8=$(DLLPATH)hpprntr.hp6
9=$(DLLPATH)hpprui.hp6
10=$(DLLPATH)hpnra.hp6
11=$(DLLPATH)hptds.hp6
12=$(DLLPATH)hptdpi.hp6
[pre-Install]
; required section do not remove
UNINSTALLABLE=Required
Type=Product
0=CheckAdminRight
1=HardDiskCheck
2=DisplayBackgroundWindow
3=HideProgressBar
4=Product Level Pre-Install
5=Make Install Path
6=Remove Old Uninstall CfgFile,optional
7=SetRestartFlag
8=DisplayLicenseDialog
9=Copy Installer Other Files
10=WriteUninstallAction
;8=SetProductSymbols
Symbols=Product Level Pre-Install Defaults
[SetRestartFlag]
Type=Feature
UNINSTALLABLE=NOT
Symbols=RestartSymbol
[RestartSymbol]
Type=Symbols
0=;DoNotRestart;TRUE;bool
[IsNotRebooting]
Type=ExecuteAction
Wait=TRUE
Symbol=DoNotRestart
Default=TRUE
0=;DLL;$(DIVID)TI2.dll;EnquireDLL
[SetProductSymbols]
Type=Feature
UNINSTALLABLE=Required
Symbols=Product Level Pre-Install Defaults
[Product Level Pre-Install Defaults]
Type=Symbols
0=;Product;HP 2500C Series Printer
1=;ShortPrinterName;HP 2500C
2=;PrinterModelName;$(Product)
3=;PrinterFriendlyName;$(PrinterModelName)
4=;Port;LPT1:
5=;PrinterDefault;TRUE;bool
6=;PrinterDirect;FALSE;bool
7=;PrinterQueued;FALSE;bool
8=;PrinterEnableBidi;TRUE;bool
9=;PrinterEnableDevQ;TRUE;bool
10=;PrinterLocal;TRUE;bool
11=;PrinterShared;FALSE;bool
12=;PrinterNetwork;FALSE;bool
13=;PrinterHidden;FALSE;bool
14=;PrinterKeepPrintedJobs;FALSE;bool
15=;PrinterDoCompleteFirst;TRUE;bool
16=;DriverName;$(PrinterModelName)
17=;PRODUCTFOLDERPATH;$(PROGRAMSPATH)$(PRODUCT)\;string
18=;SupportedPrinters;%,HP 2500C Series Printer,TRUE,$(DIVID)kmd.dll;string
19=;PrinterInstallDll;$(DIVID)PTI.DLL
20=;ShowLicenceDialog;TRUE;bool
[Product Level Pre-Install]
Type=Feature
UNINSTALLABLE=Required
Symbols=Product Level Pre-Install Defaults
[Make Install Path]
; required section do not remove
UNINSTALLABLE=NOT
Type=DirAction
Symbols=Make Install Path Symbols
Command=Add
Dir=$(INSTALLPATH)
[Make Install Path Symbols]
; required section do not remove
Type=Symbols
;0=;INSTALLPATH;$(OSDRIVER)\$(DIVID)\$(ProductKey)\;string
0=;INSTALLPATH;$(EXEPATH);string
1=;LOG;$(INSTALLPATH)$(OWNNAME).log
2=;UNINSTALLFILE;$(INSTALLPATH)$(OWNNAME)_u.tmp
;3=;ACTUALUNINSTALLFILE;$(INSTALLPATH)$(OWNNAME)_u.ini
[Make Product Folder]
; required section do not remove
UNINSTALLABLE=NOT
Type=DirAction
Symbols=Make Product Folder Symbols
Command=Add
Dir=$(PRODUCTFOLDERPATH)
[Remove Product Folder]
; required section do not remove
UNINSTALLABLE=Required
DoInstall=FALSE
Type=DirAction
Symbols=Make Product Folder Symbols
Command=Add
Dir=$(PRODUCTFOLDERPATH)
[Make Product Folder Symbols]
; required section do not remove
Type=Symbols
0=;PRODUCTFOLDERPATH;*current value*
[RemoveIniPath]
; required section do not remove
Type=Feature
UNINSTALLABLE=Required
DoInstall=FALSE
0=RemoveDir
1=RemoveIniFile
[RemoveDir]
UNINSTALLABLE=Required
DoInstall=FALSE
Type=DirAction
Command=Add
Dir=$(INSTALLPATH)$(ShortPrinterName)\
[RemoveIniFile]
Type=DeleteFilesAction
UNINSTALLABLE=Required
DoInstall=FALSE
0=$(ACTUALUNINSTALLFILE)
1=$(INSTALLPATH)\$(ShortPrinterName)\$(DIVID)TIU.INI
[OpenProductFolder]
Type=ExecuteAction
UNINSTALLABLE=NOT
Wait=TRUE
0=;DLL;$(DIVID)TI2.dll;OpenFolder
[Remove Old Uninstall CfgFile]
Type=DeleteFilesAction
0=$(UNINSTALLFILE)
1=$(LOG)
[CheckAdminRight]
Type=ExecuteAction
UNINSTALLABLE=NOT
Wait=TRUE
Symbol=IsAdministrator
Default=TRUE
0=;DLL;$(DIVID)TI2.dll;EnquireDLL
[ShowProgressBar]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)TI2.dll;ShowProgressBar
[HideProgressBar]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)TI2.dll;HideProgressBar
[HardDiskCheck]
Type=ExecuteAction
UNINSTALLABLE=FALSE
Wait=TRUE
0=;DLL;$(DIVID)TI2.dll;HardDiskCheck
;--------------------------------------------------------------
[post-Install]
; required section do not remove
UNINSTALLABLE=required
Type=Product
0=HideProgressBar
;1=DoCableTest
1=AddDeleteBatchFile,optional
2=Remove Product Folder
3=RemoveIniPath
4=StartCDShortcut
5=UninstallShortcut
6=WWWShortcut
7=ReadmeShortcut
8=QuickTourShortcut,optional
;8=DSMShortcut
9=WebRegShortcut,optional
;8=CableTestShortcut
10=Toolbox,optional
11=FontSmart ShortCut,optional
12=Add ControlPanel Entry,optional
13=LaunchToolbox,optional
14=DisplayToolBoxDialog
15=DisplaySummaryWindow
16=LaunchWebReg,optional
17=ContinuePostInstall
[DisplaySummaryWindow]
Type=DisplayAction
Uninstallable=FALSE
Wait=TRUE
ResourceDLL=$(EXEPATH)$(DIVID)ST2.dll
DLL=$(EXEPATH)$(DIVID)DA1.dll
StartDisplay=?StartDisplay@CSummaryDlg@@SAHAAHPAVCDisplayActionThread@@@Z
[ContinuePostInstall]
Type=ExecuteAction
UNINSTALLABLE=required
DoInstall=FALSE
Wait=TRUE
Symbol=ContinuePostInstall
Default=TRUE
0=;DLL;$(DIVID)TI2.dll;EnquireDLL
[AddDeleteBatchFile]
Type=ExecuteAction
DoInstall=FALSE
Wait=TRUE
0=;DLL;$(DIVID)TI2.dll;AddDeleteBatchFile
[DSMShortcut]
; required section do not remove
Type=ModifyUIAction
IconFileName=$(SPOOL2DRIVERSPATH)$(DIVID)dsm.exe
IconOffset=0
ShowCommand=NORMAL
ExeName=$(SPOOL2DRIVERSPATH)$(DIVID)dsm.exe
WorkingDirectory=$(SPOOL2DRIVERSPATH)
CmdLineParameters=model? $(PRODUCT)
LinkFileName=$(PRODUCTFOLDERPATH)$(DsmName).lnk
ShortcutDesc=$(DsmName)
[UninstallShortcut]
; required section do not remove
Type=Feature
UNINSTALLABLE=Required
;0=DesktopUninstallShortcut
0=ProductFolderUninstallShortcut
[DesktopUninstallShortcut]
; required section do not remove
Type=ModifyUIAction
IconFileName=$(INSTALLPATH)$(DIVID)ST2.DLL
IconOffset=1
ShowCommand=NORMAL
ExeName=$(INSTALLPATH)$(OWNNAME).exe
WorkingDirectory=$(INSTALLPATH)
CmdLineParameters=-DSOURCEPATH=;$(EXEPATH);string -P $(Product) -I $(ACTUALUNINSTALLFILE) -U -DLOG=;$(INSTALLPATH)$(OWNNAME)_u.log;string
LinkFileName=$(DESKTOPPATH)$(UninstallName).lnk
ShortcutDesc=$(UninstallName)
[ProductFolderUninstallShortcut]
; required section do not remove
Type=ModifyUIAction
IconFileName=$(INSTALLPATH)$(DIVID)ST2.DLL
IconOffset=1
ShowCommand=NORMAL
ExeName=$(INSTALLPATH)$(OWNNAME).exe
WorkingDirectory=$(INSTALLPATH)
CmdLineParameters=-DSOURCEPATH=;$(EXEPATH);string -P $(Product) -I $(ACTUALUNINSTALLFILE) -U -DLOG=;$(INSTALLPATH)$(OWNNAME)_u.log;string
LinkFileName=$(PRODUCTFOLDERPATH)$(UninstallName).lnk
ShortcutDesc=$(UninstallName)
[StartCDShortcut]
; required section do not remove
Type=ModifyUIAction
DoInstall=FALSE
IconFileName=
IconOffset=
ShowCommand=NORMAL
ExeName=
WorkingDirectory=
CmdLineParameters=
LinkFileName=$(PRODUCTFOLDERPATH)$(StartCDName).lnk
ShortcutDesc=$(StartCDName)
[ReadmeShortcut]
; required section do not remove
Type=Feature
UNINSTALLABLE=Required
;0=DesktopReadmeShortcut
0=ProductFolderReadmeShortcut
[DesktopReadmeShortcut]
; required section do not remove
Type=ModifyUIAction
IconFileName=$(OSPATH)WINHLP32.EXE
IconOffset=0
ShowCommand=NORMAL
ExeName=$(OSPATH)winhlp32.exe
WorkingDirectory=$(SPOOL2DRIVERSPATH)
CmdLineParameters=$(SPOOL2DRIVERSPATH)$(DIVID)rda.hlp
LinkFileName=$(PRODUCTFOLDERPATH)$(ReadmeName).lnk
ShortcutDesc=$(ReadmeName)
[ProductFolderReadmeShortcut]
; required section do not remove
Type=ModifyUIAction
IconFileName=$(OSPATH)WINHLP32.EXE
IconOffset=0
ShowCommand=NORMAL
ExeName=$(OSPATH)winhlp32.exe
WorkingDirectory=$(SPOOL2DRIVERSPATH)
CmdLineParameters=$(SPOOL2DRIVERSPATH)$(DIVID)rda.hlp
LinkFileName=$(PRODUCTFOLDERPATH)$(ReadmeName).lnk
ShortcutDesc=$(ReadmeName)
[WWWShortcut]
; required section do not remove
Type=Feature
UNINSTALLABLE=Required
0=ProductFolderWWWShortcut
[ProductFolderWWWShortcut]
; required section do not remove
Type=ModifyUIAction
IconFileName=$(INSTALLPATH)$(DIVID)ST2.DLL
IconOffset=2
ShowCommand=NORMAL
ExeName=$(OSPATH)winhlp32.exe
WorkingDirectory=$(SPOOL2DRIVERSPATH)
CmdLineParameters=-n 171 $(SPOOL2DRIVERSPATH)$(DIVID)hda.hlp
LinkFileName=$(PRODUCTFOLDERPATH)$(WWWName).lnk
ShortcutDesc=$(WWWName)
[WebRegShortcut]
; required section do not remove
Type=Feature
UNINSTALLABLE=Required
0=InstallWebRegShortcut
1=ProductFolderWebRegShortcut
;2=StartupFolderWebRegShortcut
[InstallWebRegShortcut]
Type=ExecuteAction
UNINSTALLABLE=NOT
Wait=TRUE
Default=TRUE
Symbol=ShowWebRegDialog
0=;DLL;$(DIVID)TI2.dll;EnquireDLL
[ProductFolderWebRegShortcut]
; required section do not remove
Type=ModifyUIAction
IconFileName=$(INSTALLPATH)$(DIVID)ST2.DLL
IconOffset=3
ShowCommand=NORMAL
ExeName=$(OSPATH)winhlp32.exe
WorkingDirectory=$(SPOOL2DRIVERSPATH)
CmdLineParameters=-n 178 $(SPOOL2DRIVERSPATH)$(DIVID)hda.hlp
LinkFileName=$(PRODUCTFOLDERPATH)$(WebRegName).lnk
ShortcutDesc=$(WebRegName)
[StartupFolderWebRegShortcut]
; required section do not remove
Type=ModifyUIAction
IconFileName=$(INSTALLPATH)$(DIVID)ST2.DLL
IconOffset=3
ShowCommand=NORMAL
ExeName=$(OSPATH)winhlp32.exe
WorkingDirectory=$(SPOOL2DRIVERSPATH)
CmdLineParameters=-n 178 $(SPOOL2DRIVERSPATH)$(DIVID)hda.hlp
LinkFileName=$(STARTUPPATH)$(WebRegName).lnk
ShortcutDesc=$(WebRegName)
[LaunchWebReg]
Type=Feature
UNINSTALLABLE=NOT
0=IsNotRebooting
1=ExecuteWebReg
[ExecuteWebReg]
Type=ExecuteAction
Wait=FALSE
0=;PGM;$(OSPATH)winhlp32.exe -n 178 $(SPOOL2DRIVERSPATH)$(DIVID)hda.hlp;$(SPOOL2DRIVERSPATH)
[QuickTourShortcut]
; required section do not remove
Type=Feature
UNINSTALLABLE=Required
0=DoesQuickTourNeedInstall
1=ProductFolderQuickTourShortcut
[ProductFolderQuickTourShortcut]
; required section do not remove
Type=ModifyUIAction
IconFileName=$(SPOOLDRIVERSPATH)$(DIVID)qck.exe
IconOffset=0
ShowCommand=NORMAL
ExeName=$(SPOOLDRIVERSPATH)$(DIVID)qck.exe
WorkingDirectory=$(SPOOLDRIVERSPATH)
CmdLineParameters=
LinkFileName=$(PRODUCTFOLDERPATH)$(PrinterFriendlyName)$(QuickTourName).lnk
ShortcutDesc=$(PrinterFriendlyName)$(QuickTourName)
[CableTestShortcut]
Type=Feature
UNINSTALLABLE=Required
0=StartupFolderCableTest
[StartupFolderCableTest]
Type=ModifyUIAction
IconFileName=$(SPOOL2DRIVERSPATH)$(DIVID)THR.EXE
IconOffset=0
ShowCommand=NORMAL
ExeName=$(SPOOL2DRIVERSPATH)$(DIVID)THR.EXE
WorkingDirectory=$(SPOOL2DRIVERSPATH)
CmdLineParameters=$(STARTUPPATH)cable.lnk,999,$(Port),$(Product),0,2841,0
LinkFileName=$(STARTUPPATH)cable.lnk
ShortcutDesc=CableTest
[DoCableTest]
Type=ExecuteAction
UNINSTALLABLE=NOT
Wait=TRUE
0=;DLL;$(DIVID)TI2.dll;DoCableTest
DoInstall=FALSE
[Remove Registry Entries1]
Type=ModifyEnvAction
UNINSTALLABLE=Required
DoInstall=FALSE
Keys=:REG:HKEY_LOCAL_MACHINE:SOFTWARE:Microsoft:Windows NT:CurrentVersion:IniFileMapping:$(DIVID)DDI.INI
0=:Add:REG_SZ:<No Name>:USR:Printers\$(DIVID)DDI.INI
[Remove Registry Entries2]
Type=ModifyEnvAction
UNINSTALLABLE=Required
DoInstall=FALSE
Keys=:REG:HKEY_CURRENT_USER:Printers:$(DIVID)DDI.INI
0=;Add;REG_SZ;HPCFileName;$(DIVID)$(ModelPrefix).hpc
[Remove Registry Entries3]
Type=ModifyEnvAction
UNINSTALLABLE=Required
DoInstall=FALSE
Keys=:REG:HKEY_USERS:.Default:Printers:$(DIVID)DDI.INI
0=:Add:REG_SZ:<No Name>:USR:Printers\$(DIVID)DDI.INI
[Remove Registry Entries4]
Type=ModifyEnvAction
UNINSTALLABLE=Required
DoInstall=FALSE
Keys=:REG:HKEY_LOCAL_MACHINE:DEVICEMAP:PARALLEL PORTS:Device:$(DIVID)ECP0
0=:Add:REG_SZ:<NO Name>:USR:Printers\$(DIVID)ECP0
[Add ControlPanel Entry]
Type=Feature
0=ControlPanel Uninstall,optional
1=ControlPanel Uninstall Printer
[ControlPanel Uninstall]
Type=ModifyEnvAction
UNINSTALLABLE=NOT
Keys=:REG:HKEY_LOCAL_MACHINE:SOFTWARE:Microsoft:Windows:CurrentVersion:Uninstall
0=:Add:REG_SZ::
[ControlPanel Uninstall Printer]
Type=ModifyEnvAction
UNINSTALLABLE=Required
Keys=:REG:HKEY_LOCAL_MACHINE:SOFTWARE:Microsoft:Windows:CurrentVersion:Uninstall:$(Product)
0=:Add:REG_SZ:DisplayName:$(product)
1=:Add:REG_SZ:UninstallString:$(INSTALLPATH)$(OWNNAME).exe -DSOURCEPATH=;$(EXEPATH);string -P $(Product) -I $(ACTUALUNINSTALLFILE) -U -DLOG=;$(INSTALLPATH)$(OWNNAME)_u.log
[Products]
0=HP 2500C Series Printer
;--------------------------------------------------------------
[WriteUninstallAction]
; note that the this writen into this section must be in reverse order
Type=Feature
0=UninstallDisplayDeletePrinter
1=KillModule
2=ContinueUninstall
3=DisplayWarningWindow
4=DisplayUninstallWindow
5=CheckAdminRight
[DisplayUninstallWindow]
Type=DisplayAction
Wait=FALSE
DoInstall=FALSE
ResourceDLL=$(EXEPATH)$(DIVID)ST2.dll
DLL=$(EXEPATH)$(DIVID)DA1.dll
UninstallStartDisplay=?StartDisplay@CBackgroundWnd@@SAHAAHPAVCDisplayActionThread@@@Z
[DisplayWarningWindow]
Type=DisplayAction
Wait=TRUE
DoInstall=FALSE
ResourceDLL=$(EXEPATH)$(DIVID)ST2.dll
DLL=$(EXEPATH)$(DIVID)DA1.dll
UninstallStartDisplay=?StartDisplay@CWarnDlg@@SAHAAHPAVCDisplayActionThread@@@Z
[ContinueUninstall]
Type=ExecuteAction
Wait=TRUE
DoInstall=FALSE
UNINSTALLABLE=Required
Symbol=DoUninstall
Default=TRUE
0=;DLL;$(DIVID)TI2.dll;EnquireDLL
;--------------------------------------------------------------
[HP 2500C Series Printer]
Type=Product
Desc=HP 2500C Series Printer
Uninstallable=Required
0=Remove All Files
1=Remove Registry Entries4
2=Remove Registry Entries3
3=Remove Registry Entries2
4=Remove Registry Entries1
5=ShowProgressBar
6=Driver
7=Kernel 1284 Install,optional
8=HelpFilesCopy
9=Network
10=FontSmart,optional
11=QuickTour,optional
12=StartAddPrinterDialog
13=AddPrinterDriver
;8=RestartSpooler
14=AddPrinter
;4=UninstallDisplayDeletePrinter
;15=SetPrinterData
15=SetPrinterAttributes
16=Make Product Folder
17=DestroyAddPrinterDialog
18=MakeIniPath
;13=OpenProductFolder
Symbols=HP 2500C Series Printer Symbols
[HP 2500C Series Printer Symbols]
Type=Symbols
0=;PrinterIndex;19
1=;ModelPrefix;dar
2=;PrinterAttributes;0x45;hex
3=;ShortPrinterName;HP 2500C
4=;ToolboxName;1005;resource;$(CErrorObjectResourceDLL);$(ShortPrinterName)
5=;UninstallName;1009;resource;$(CErrorObjectResourceDLL);$(ShortPrinterName)
6=;DriverName;$(PrinterModelName)
7=;DsmName;1010;resource;$(CErrorObjectResourceDLL);$(ShortPrinterName)
8=;WWWName;1008;resource;$(CErrorObjectResourceDLL)
9=;QuickTourName;1004;resource;$(CErrorObjectResourceDLL)
10=;ReadmeName;1031;resource;$(CErrorObjectResourceDLL);$(ShortPrinterName)
11=;WebRegName;1033;resource;$(CErrorObjectResourceDLL)
12=;ACTUALUNINSTALLFILE;$(INSTALLPATH)$(ShortPrinterName)\$(OWNNAME)_u.ini
13=;StartCDName;1035;resource;$(CErrorObjectResourceDLL);$(ShortPrinterName)
14=;ShowWebRegDialog;TRUE;bool
15=;FontSmartName;1007;resource;$(CErrorObjectResourceDLL)
[MakeIniPath]
; required section do not remove
UNINSTALLABLE=FALSE
Type=DirAction
Command=Add
Dir=$(INSTALLPATH)$(ShortPrinterName)\
;----------------------------------------------------Display Actions
[DisplayBackgroundWindow]
Type=DisplayAction
Uninstallable=FALSE
Wait=FALSE
ResourceDLL=$(EXEPATH)$(DIVID)ST2.dll
DLL=$(EXEPATH)$(DIVID)DA1.dll
StartDisplay=?StartDisplay@CBackgroundWnd@@SAHAAHPAVCDisplayActionThread@@@Z
[DisplayLicenseDialog]
Type=DisplayAction
Uninstallable=FALSE
Wait=TRUE
ResourceDLL=$(EXEPATH)$(DIVID)ST2.dll
DLL=$(EXEPATH)$(DIVID)DA1.dll
StartDisplay=?StartDisplay@CLicenseDialog@@SAHAAHPAVCDisplayActionThread@@@Z
[DisplayToolBoxDialog]
Type=DisplayAction
Uninstallable=FALSE
Wait=TRUE
ResourceDLL=$(EXEPATH)$(DIVID)ST2.dll
DLL=$(EXEPATH)$(DIVID)DA1.dll
StartDisplay=?StartDisplay@CToolBoxDialog@@SAHAAHPAVCDisplayActionThread@@@Z
[DisplayWarningWindow]
Type=DisplayAction
Wait=TRUE
DoInstall=FALSE
ResourceDLL=$(EXEPATH)$(DIVID)ST2.dll
DLL=$(EXEPATH)$(DIVID)DA1.dll
UninstallStartDisplay=?StartDisplay@CWarnDlg@@SAHAAHPAVCDisplayActionThread@@@Z
[UninstallDisplayDeletePrinter]
Type=DisplayAction
Wait=TRUE
DoInstall=FALSE
ResourceDLL=$(EXEPATH)$(DIVID)ST2.dll
DLL=$(EXEPATH)$(DIVID)DA1.dll
UninstallStartDisplay=?StartDisplay@CPrinterDeleteDialog@@SAHAAHPAVCDisplayActionThread@@@Z
;--------------------------------------------------------------
[AddPrinterDriver]
Type=ExecuteAction
Wait=TRUE
UNINSTALLABLE=REQUIRED
0=;DLL;$(DIVID)PTI.dll;?AddPrinterDriverW@@YAHXZ;?DeletePrinterDriverW@@YAHXZ
Symbols=AddPrinterDriver Symbols
[AddPrinterDriver Symbols]
Type=Symbols
0=;DriverName;*current value*
;--------------------------------------------------------------
[RestartSpooler]
Type=ExecuteAction
UNINSTALLABLE=Required
Wait=TRUE
0=;DLL;$(DIVID)IOI.dll;?RestartSpooler@@YAHXZ
;--------------------------------------------------------------
[StartAddPrinterDialog]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)TI2.dll;StartAddPrinterDialog
[AddPrinter]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)PTI.dll;?AddPrinterW@@YAHXZ;?DeletePrinter@@YAHXZ
Symbols=AddPrinterDriver Symbols
[DestroyAddPrinterDialog]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)TI2.dll;DestroyAddPrinterDialog
;--------------------------------------------------------------
[FontSmart]
Type=Feature
Uninstallable=NOT
0=DoesFontSmartNeedInstall
1=MakeFontSmartPath
2=AddFontSmartFiles
3=InstallFontSmart
[DoesFontSmartNeedInstall]
Type=ExecuteAction
Wait=TRUE
Symbol=FontSmart
Default=FALSE
0=;DLL;$(DIVID)TI2.dll;EnquireDLL
[MakeFontSmartPath]
; required section do not remove
Type=DirAction
Uninstallable=NOT
Command=Add
Dir=$(FONTPATH)
[InstallFontSmart]
Type=ExecuteAction
Wait=TRUE
0=;PGM;$(FONTPATH)fontsmrt.exe /b deflist.dat;$(FONTPATH)
[KillModule]
Type=ExecuteAction
DoInstall=FALSE
Uninstallable=Required
Wait=TRUE
0=;PGM;$(SPOOL2DRIVERSPATH)$(DIVID)pal.exe killall;$(SPOOL2DRIVERSPATH)
1=;PGM;$(SPOOL2DRIVERSPATH)$(DIVID)itb.exe killall;$(SPOOL2DRIVERSPATH)
2=;PGM;$(SPOOL2DRIVERSPATH)$(DIVID)bsm.exe killall;$(SPOOL2DRIVERSPATH)
[AddFontSmartFiles]
; required section do not remove
Type=CopyFilesAction
0=,$(FONTSMARTPATH)fontsmrt.exe,1,$(FONTPATH),1111,4096
1=,$(FONTSMARTPATH)deflist.dat,1,$(FONTPATH),1111,4096
2=,$(FONTSMARTPATH)corsiva.ttf,1,$(FONTPATH),1111,4096
3=,$(FONTSMARTPATH)coronet.ttf,1,$(FONTPATH),1111,4096
4=,$(FONTSMARTPATH)hpfonts.edb,1,$(FONTPATH),1111,4096
5=,$(FONTSMARTPATH)hpfonts.ter,1,$(FONTPATH),1111,4096
6=,$(FONTSMARTPATH)fontsmrt.hlp,1,$(FONTPATH),1111,4096
7=,$(FONTSMARTPATH)hp7up.dll,1,$(FONTPATH),1111,4096
8=,$(FONTSMARTPATH)marigold.ttf,1,$(FONTPATH),1111,4096
9=,$(FONTSMARTPATH)mtsorts.ttf,1,$(FONTPATH),1111,4096
[QuickTour]
Type=Feature
Uninstallable=NOT
0=DoesQuickTourNeedInstall
1=AddQuickTourFiles
2=InstallQuickTour
[DoesQuickTourNeedInstall]
Type=ExecuteAction
UNINSTALLABLE=NOT
Wait=TRUE
Symbol=QuickTour
Default=FALSE
0=;DLL;$(DIVID)TI2.dll;EnquireDLL
[InstallQuickTour]
Type=ExecuteAction
Wait=TRUE
0=;PGM;$(SPOOLDRIVERSPATH)$(DIVID)qck.exe;$(SPOOLDRIVERSPATH)
[AddQuickTourFiles]
; required section do not remove
Type=CopyFilesAction
0=,$(COMMONPATH)$(DIVID)qck.exe,1,$(SPOOLDRIVERSPATH),1111,4096
[Network]
Type=Feature
Uninstallable=NOT
;0=DoesNetworkNeedInstall
0=AddNetworkFiles
[DoesNetworkNeedInstall]
Type=ExecuteAction
Wait=TRUE
Symbol=Network
Default=FALSE
0=;DLL;$(DIVID)TI2.dll;EnquireDLL
[AddNetworkFiles]
; required section do not remove
Type=CopyFilesAction
Uninstallable=NOT
0=,$(NETWORKPATH)hpcola.hp6,5,$(DLLPATH),1111,4096
1=,$(NETWORKPATH)hpdmip.hp6,5,$(DLLPATH),1111,4096
2=,$(NETWORKPATH)hpdmipx.hp6,5,$(DLLPATH),1111,4096
3=,$(NETWORKPATH)hpnetsrv.hp6,5,$(DLLPATH),1111,4096
4=,$(NETWORKPATH)hpnwpsrv.hp6,5,$(DLLPATH),1111,4096
5=,$(NETWORKPATH)hpnwshim.hp6,5,$(DLLPATH),1111,4096
6=,$(NETWORKPATH)hpobj.hp6,5,$(DLLPATH),1111,4096
7=,$(NETWORKPATH)hpsnmp.hp6,5,$(DLLPATH),1111,4096
8=,$(NETWORKPATH)hpprntr.hp6,5,$(DLLPATH),1111,4096
9=,$(NETWORKPATH)hpprui.hp6,5,$(DLLPATH),1111,4096
10=,$(NETWORKPATH)hpnra.hp6,5,$(DLLPATH),1111,4096
11=,$(NETWORKPATH)hptds.hp6,5,$(DLLPATH),1111,4096
12=,$(NETWORKPATH)hptdpi.hp6,5,$(DLLPATH),1111,4096
;--------------------------------------------------------------
[Driver]
Type=Feature
0=DriverDeleteFiles
1=DriverFilesCopy1
Symbols=DriverSymbols
[DriverSymbols]
Type=Symbols
0=;ObjectId;0
1=;SpoolDataType;RAW
2=;PortMonitorName;$(DIVID) Language Monitor
3=;DriverVersion;1;number
4=;PrintProcessor;winprint
5=;DriverDependentFiles;,$(DIVID)kmd.dll,$(DIVID)umd.dll,$(DIVID)ddi.dll,$(DIVID)gui.dll,$(DIVID)r24.dll,$(DIVID)$(ModelPrefix).hpc,$(DIVID)wps.dll,$(DIVID)c32.dll,$(DIVID)hft.dll,$(DIVID)mon.dll,$(DIVID)win.dll,$(DIVID)pda.dll,$(DIVID)res.dll,$(DIVID)vcm.dll,$(DIVID)mem.dll,$(DIVID)mlc.dll,$(DIVID)pml.dll,$(DIVID)iop.dll,$(DIVID)hid.exe,$(DIVID)nmr.dll,$(DIVID)pal.exe,$(DIVID)thd.dll,$(DIVID)thr.exe,$(DIVID)rsu.dll,$(DIVID)rsa.dll,$(DIVID)rda.hlp,$(DIVID)cfg.hlp,$(DIVID)dda.hlp,$(DIVID)hda.hlp,$(DIVID)tda.hlp,$(DIVID)cfg.exe,$(DIVID)inf.exe,$(DIVID)asx.cfg,$(DIVID)cbl.dll,$(DIVID)tec.cfg,$(DIVID)tec.dat,$(DIVID)tec.exe,$(DIVID)sum.dll,$(DIVID)dcp.dll,$(DIVID)bus.dll,$(DIVID)svc.dll,$(DIVID)bsm.exe,$(DIVID)itb.exe,$(DIVID)dev.dll,$(DIVID)zip.dll,$(DIVID)nra.dll;multistring
6=;KernelModeDLL;$(DIVID)kmd.dll
7=;DataDLL;$(DIVID)kmd.DLL
8=;ConfigDLL;$(DIVID)umd.dll
9=;PortMonitorDLL;$(DIVID)lpm.dll
10=;DriverName;*current value*
;----------------------------------------------------------------------------
[SetPrinterData]
Type=Feature
Uninstallable=NOT
0=SetPerPrinterData
;1=SetCISPrinterData
Symbols=SetPrinterData Symbols
[SetPerPrinterData]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)PTD.dll;?DoSetPrinterData@@YAHXZ
Symbols=SetPrinterData Symbols
[SetPrinterData Symbols]
Type=Symbols
0=;HPCFileName;$(DIVID)$(ModelPrefix).hpc
1=;Printer Model Name;$(PrinterModelName)
; -----------------------------------------------------------------------------
[SetCISPrinterData]
Type=ModifyEnvAction
Keys=;CIS;$(PrinterModelName);1
0=;Add;CIS_SZ;HPCFileName;$(DIVID)$(ModelPrefix).hpc
1=;Add;CIS_SZ;Printer Model Name;$(PrinterModelName)
; -----------------------------------------------------------------------------
[SetPrinterAttributes]
Type=ExecuteAction
Wait=TRUE
Uninstallable=NOT
0=;DLL;$(DIVID)PTD.dll;?SetPrinterAttributes@@YAHXZ
Symbols=SetPrinterAttributes Symbols
[SetPrinterAttributes Symbols]
Type=Symbols
0=;PrinterDefault;*current value*
1=;PrinterDirect;*current value*
2=;PrinterQueued;*current value*
3=;PrinterEnableBidi;*current value*
4=;PrinterEnableDevQ;*current value*
5=;PrinterLocal;*current value*
6=;PrinterShared;*current value*
7=;PrinterNetwork;*current value*
8=;PrinterHidden;*current value*
9=;PrinterKeepPrintedJobs;*current value*
10=;PrinterDoCompleteFirst;*current value*
;----------------------------------------------------------------------------
[DriverDeleteFiles]
Type=DeleteFilesAction
;file#=filename,
0=$(SPOOLDRIVERSPATH)$(DIVID)kmd.dll
[DriverFilesCopy1]
Type=CopyFilesAction
;file#=filename,disk#,destination,size,copystyleflag
;copy to the spool drivers directory
0=,$(LANGSPECPATH)hp2500c.inf,1,$(INFPATH),1111,4096
1=,$(LANGSPECPATH)$(DIVID)res.dll,1,$(SPOOLDRIVERSPATH),1111,4096
2=,$(COMMONPATH)$(DIVID)c32.dll,1,$(SPOOLDRIVERSPATH),1111,4096
3=,$(COMMONPATH)$(DIVID)kmd.dll,1,$(SPOOLDRIVERSPATH),1111,4096
4=,$(COMMONPATH)$(DIVID)ddi.dll,2,$(SPOOLDRIVERSPATH),1111,4096
5=,$(COMMONPATH)$(DIVID)del.exe,2,$(DLLPATH),1111,4096
6=,$(COMMONPATH)$(DIVID)mon.dll,2,$(SPOOLDRIVERSPATH),1111,4096
7=,$(COMMONPATH)$(DIVID)r24.dll,2,$(SPOOLDRIVERSPATH),1111,4096
8=,$(COMMONPATH)$(DIVID)$(ModelPrefix).hpc,2,$(SPOOLDRIVERSPATH),1111,4096
9=,$(COMMONPATH)$(DIVID)gui.dll,2,$(SPOOLDRIVERSPATH),1111,4096
10=,$(COMMONPATH)$(DIVID)wps.dll,2,$(SPOOLDRIVERSPATH),1111,4096
11=,$(COMMONPATH)$(DIVID)win.dll,2,$(SPOOLDRIVERSPATH),1111,4096
12=,$(COMMONPATH)$(DIVID)asx.cfg,2,$(SPOOLDRIVERSPATH),1111,4096
13=,$(COMMONPATH)$(DIVID)cfg.exe,2,$(SPOOLDRIVERSPATH),1111,4096
14=,$(COMMONPATH)$(DIVID)sum.dll,2,$(SPOOLDRIVERSPATH),1111,4096
15=,$(COMMONPATH)$(DIVID)umd.dll,2,$(SPOOLDRIVERSPATH),1111,4096
16=,$(COMMONPATH)$(DIVID)inf.exe,2,$(SPOOLDRIVERSPATH),1111,4096
17=,$(COMMONPATH)$(DIVID)thd.dll,2,$(SPOOLDRIVERSPATH),1111,4096
18=,$(COMMONPATH)$(DIVID)thr.exe,2,$(SPOOLDRIVERSPATH),1111,4096
19=,$(COMMONPATH)$(DIVID)cbl.dll,2,$(SPOOLDRIVERSPATH),1111,4096
20=,$(COMMONPATH)$(DIVID)tec.exe,2,$(SPOOLDRIVERSPATH),1111,4096
21=,$(COMMONPATH)$(DIVID)tec.cfg,2,$(SPOOLDRIVERSPATH),1111,4096
22=,$(COMMONPATH)$(DIVID)tec.dat,2,$(SPOOLDRIVERSPATH),1111,4096
23=,$(COMMONPATH)$(DIVID)rsa.dll,2,$(SPOOLDRIVERSPATH),1111,4096
24=,$(COMMONPATH)$(DIVID)rsu.dll,2,$(SPOOLDRIVERSPATH),1111,4096
25=,$(COMMONPATH)$(DIVID)pda.dll,3,$(SPOOLDRIVERSPATH),1111,4096
26=,$(COMMONPATH)$(DIVID)pal.exe,3,$(SPOOLDRIVERSPATH),1111,4096
27=,$(COMMONPATH)$(DIVID)dcp.dll,3,$(SPOOLDRIVERSPATH),1111,4096
28=,$(COMMONPATH)$(DIVID)bus.dll,3,$(SPOOLDRIVERSPATH),1111,4096
29=,$(COMMONPATH)$(DIVID)svc.dll,3,$(SPOOLDRIVERSPATH),1111,4096
30=,$(COMMONPATH)$(DIVID)bsm.exe,3,$(SPOOLDRIVERSPATH),1111,4096
31=,$(COMMONPATH)$(DIVID)itb.exe,3,$(SPOOLDRIVERSPATH),1111,4096
32=,$(COMMONPATH)$(DIVID)dev.dll,3,$(SPOOLDRIVERSPATH),1111,4096
33=,$(COMMONPATH)$(DIVID)zip.dll,3,$(SPOOLDRIVERSPATH),1111,4096
34=,$(COMMONPATH)$(DIVID)nra.dll,3,$(SPOOLDRIVERSPATH),1111,4096
35=,$(COMMONPATH)$(DIVID)hft.dll,4,$(SPOOLDRIVERSPATH),1111,4096
[HelpFilesCopy]
; required section do not remove
Type=CopyFilesAction
UNINSTALLABLE=Required
0=,$(LANGSPECPATH)$(DIVID)cfg.hlp,5,$(SPOOLDRIVERSPATH),1111,4096
1=,$(LANGSPECPATH)$(DIVID)dda.hlp,5,$(SPOOLDRIVERSPATH),1111,4096
2=,$(LANGSPECPATH)$(DIVID)hda.hlp,5,$(SPOOLDRIVERSPATH),1111,4096
3=,$(LANGSPECPATH)$(DIVID)rda.hlp,5,$(SPOOLDRIVERSPATH),1111,4096
4=,$(LANGSPECPATH)$(DIVID)tda.hlp,5,$(SPOOLDRIVERSPATH),1111,4096
;--------------------------------------------------------------
[Kernel 1284 Install]
Type=Feature
0=Copy Kernel 1284
1=HPECP Install,optional
2=AddPrinterPath
3=AddPortMonitor
4=INICommon
[HPECP Install]
Type=Feature
Uninstallable=NOT
;HPECP needs install if older or equal version is on system or not present
0=Does HPECP Need Install
1=Stop HPECP
2=Delete HPECP
3=Get IO DllName
4=Copy HPECP
5=HPECP Registry Setup
6=Start HPECP
Symbols=HPECP Symbols
[HPECP Symbols]
Type=Symbols
0=;HPECPVERSION;1
1=;HPECP;$(DIVID)ECP
2=;NECIOName;$(DIVID)ECP
3=;HPIOName;$(DIVID)ECP
;--------------------------------------------------------------
[Does HPECP Need Install]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)IOI.dll;?DoesHPECPNeedInstall@@YAHXZ
[Stop HPECP]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)IOI.dll;?StopHPECP@@YAHXZ
[Start HPECP]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)IOI.dll;?StartHPECP@@YAHXZ
[Delete HPECP]
Type=DeleteFilesAction
0=$(DRIVERSPATH)$(HPECP).sys
[Get IO DllName]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)IOI.dll;?SetupIOInstallName@@YAHXZ
[Copy HPECP]
Type=CopyFilesAction
0=,$(COMMONPATH)$(ECPPATH)$(HPECP).sys,5,$(DRIVERSPATH),1111,4096,FALSE
[Copy Kernel 1284]
Type=CopyFilesAction
0=,$(COMMONPATH)$(DIVID)vcm.dll,5,$(SPOOLDRIVERSPATH),1111,4096
1=,$(COMMONPATH)$(DIVID)mem.dll,5,$(SPOOLDRIVERSPATH),1111,4096
2=,$(COMMONPATH)$(DIVID)mlc.dll,5,$(SPOOLDRIVERSPATH),1111,4096
3=,$(COMMONPATH)$(DIVID)pml.dll,5,$(SPOOLDRIVERSPATH),1111,4096
4=,$(COMMONPATH)$(DIVID)iop.dll,5,$(SPOOLDRIVERSPATH),1111,4096
5=,$(COMMONPATH)$(DIVID)hid.exe,5,$(SPOOLDRIVERSPATH),1111,4096
6=,$(COMMONPATH)$(DIVID)nmr.dll,5,$(SPOOLDRIVERSPATH),1111,4096
7=,$(COMMONPATH)$(DIVID)lpm.dll,1,$(DLLPATH),1111,4096
[HPECP Registry Setup]
Type=Feature
0=HPECP Device Setup 1
1=HPECP Device Setup 2
2=HPECP Device Setup 3
3=HPECP Device Setup 4
4=HPECP Legacy Setup 1,optional
5=HPECP Legacy Setup 2,optional
6=HPECP IO Enable
[HPECP Device Setup 1]
Type=ModifyEnvAction
UNINSTALLABLE=Required
Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Services:$(HPECP)
0=:Add:REG_MULTI_SZ:DependOnGroup:Parallel arbitrator
1=:Add:REG_MULTI_SZ:DependOnService:Parport
2=:Add:REG_DWORD:ErrorControl:0
3=:Add:REG_SZ:Group:Extended base
4=:Add:REG_DWORD:Start:2
5=:Add:REG_DWORD:Tag:2
6=:Add:REG_DWORD:Type:1
[HPECP Device Setup 2]
Type=ModifyEnvAction
UNINSTALLABLE=NOT
Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Services:$(HPECP):Enum
0=:Add:REG_SZ:0:Root\LEGACY_$(HPECP)\0000
1=:Add:REG_DWORD:Count:1
2=:Add:REG_DWORD:NextInstance:1
[HPECP Device Setup 3]
Type=ModifyEnvAction
Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Services:$(HPECP):Parameters
;just set the key no real entry/values at install time
0=:Add:REG_SZ:default:0
1=:Add:REG_DWORD:MaxInputMode:4
2=:Add:REG_DWORD:MaxOutputMode:4
3=:Add:REG_DWORD:PortAllocMode:1
4=:Add:REG_DWORD:PortLockMode:2
[HPECP Device Setup 4]
Type=ModifyEnvAction
Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Services:$(HPECP)
;just set the key no real entry/values at install time
0=:Add:REG_SZ:Version:$(HPECPVERSION)
[HPECP Legacy Setup 1]
Type=ModifyEnvAction
UNINSTALLABLE=NOT
Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Enum:Root:LEGACY_$(HPECP)
0=:Add:REG_DWORD:NextInstance:1
[HPECP Legacy Setup 2]
Type=ModifyEnvAction
UNINSTALLABLE=NOT
Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Enum:Root:LEGACY_$(HPECP):0000
0=:Add:REG_SZ:BaseDevicePath:HTREE\ROOT\0
1=:Add:REG_SZ:Class:Unknown
;Note this needs to be read from the Parallel incarnate... not hardcoded
2=:Add:REG_SZ:ClassGUID:{4D36E97E-E325-11CE-BFC1-08002BE10318}
3=:Add:REG_SZ:DeviceDesc:Parallel Device
4=:Add:REG_DWORD:FoundAtEnum:1
5=:Add:REG_DWORD:Problem:0
6=:Add:REG_SZ:Service:$(HPECP)
7=:Add:REG_DWORD:StatusFlags:8
[HPECP IO Enable]
Type=ModifyEnvAction
Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Control:Print:Monitors:$(PortMonitorName)
;just set the key no real entry/values presence triggers VCOMM to use HPECP
0=:Add:REG_SZ:$(HPECP):InUse
[AddPrinterPath]
Type=ModifyEnvAction
UNINSTALLABLE=FALSE
Keys=:INI:$(DIVID)DSM.INI:Common
0=:Add:CIS_SZ:LMPrinterDriverDir:$(SPOOL2DRIVERSPATH)
1=:Add:CIS_SZ:LMStartStatus:0100
[AddPortMonitor]
Type=ExecuteAction
Wait=TRUE
0=;DLL;$(DIVID)IOI.dll;?AddPortMonitor@@YAHXZ;?DeletePortMonitor@@YAHXZ
Symbols=AddPortMonitor Symbols
[AddPortMonitor Symbols]
Type=Symbols
0=;PortMonitorName;*current value*
[AddPortMonitorUninstallFiles]
Type=CopyFilesAction
0=,$(COMMONPATH)$(DIVID)IOI.dll,1,$(INSTALLPATH),1111,4096
;--------------------------------------------------------------
[Toolbox]
Type=Feature
Uninstallable=Optional
0=Toolbox Shortcut
[Toolbox Shortcut]
Type=Feature
0=Desktop Toolbox Shortcut
1=ProductFolder Toolbox Shortcut
[Desktop Toolbox Shortcut]
Type=ModifyUIAction
IconFileName=$(SPOOL2DRIVERSPATH)$(DIVID)pal.exe
IconOffset=0
ShowCommand=NORMAL
ExeName=$(SPOOL2DRIVERSPATH)$(DIVID)pal.exe
WorkingDirectory=$(SPOOL2DRIVERSPATH)
CmdLineParameters=
LinkFileName=$(DESKTOPPATH)$(ToolboxName).lnk
ShortcutDesc=$(ToolboxName)
[ProductFolder Toolbox Shortcut]
Type=ModifyUIAction
IconFileName=$(SPOOL2DRIVERSPATH)$(DIVID)pal.exe
IconOffset=0
ShowCommand=NORMAL
ExeName=$(SPOOL2DRIVERSPATH)$(DIVID)pal.exe
WorkingDirectory=$(SPOOL2DRIVERSPATH)
CmdLineParameters=
LinkFileName=$(PRODUCTFOLDERPATH)$(ToolboxName).lnk
ShortcutDesc=$(ToolboxName)
[LaunchToolbox]
Type=Feature
UNINSTALLABLE=NOT
0=DoCableTest
1=IsNotRebooting
2=PrintTestPage
;[ExecuteToolbox]
; Type=ExecuteAction
; Wait=FALSE
; 0=;PGM;$(SPOOL2DRIVERSPATH)$(DIVID)pal.exe "-d $(Port),$(PrinterFriendlyName)" "-p 5,150" "-i" "-k";$(SPOOL2DRIVERSPATH)
; Type=ExecuteAction
; Wait=TRUE
; 0=;PGM;$(SPOOL2DRIVERSPATH)$(DIVID)pal.exe "-d $(Port),$(PrinterFriendlyName)" "-p 3,150" "-i" "-k";$(SPOOL2DRIVERSPATH)
[PrintTestPage]
Type=ExecuteAction
UNINSTALLABLE=NOT
Wait=TRUE
0=;DLL;$(DIVID)TI2.dll;PrintTestPage
DoInstall=FALSE
[FontSmart ShortCut]
Type=Feature
0=DoesFontSmartNeedInstall
1=ProductFolder FontSmart ShortCut
[ProductFolder FontSmart ShortCut]
Type=ModifyUIAction
IconFileName=$(FONTPATH)fontsmrt.exe
IconOffset=0
ShowCommand=NORMAL
ExeName=$(FONTPATH)fontsmrt.exe
WorkingDirectory=$(FONTPATH)
CmdLineParameters=
LinkFileName=$(PRODUCTFOLDERPATH)$(FontSmartName).lnk
ShortcutDesc=$(FontSmartName)
[INICommon]
Type=ModifyEnvAction
UNINSTALLABLE=FALSE
Keys=:INI:$(OSPATH)$(DIVID)DSM.INI:Common
0=:Add:CIS_SZ:Bidi:0000
1=:Add:CIS_SZ:NetBidi:0000
2=:Add:CIS_SZ:RunStatus:0600
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.