home *** CD-ROM | disk | FTP | other *** search
Wrap
INI File | 1998-12-11 | 46.7 KB | 1,325 lines
[Configurable Install Symbols] ; required section do not remove Type=Symbols 0=;Enable Bidirectional Communcation and Enable SW ECP;TRUE;bool 1=;Launch Toolbox During a Print Job and Enable Status;TRUE;bool 2=;Create Utilities Group and Shortcut Icons;TRUE;bool 3=;Launch Tasktray Icon on Startup;TRUE;bool [InstallSymbols] ; required section do not remove Type=Symbols 0=;BATCH;FALSE;bool 1=;UNINSTALL;FALSE;bool 2=;ConfigureUninstall;TRUE;bool 3=;DIVID;HPR 4=;PNUM;09 5=;DEBUGSUFFIX; 6=;CErrorObjectResourceDLL;$(DIVID)ti5$(PNUM).dll 7=;SOURCEPATH;$(EXEPATH) 8=;DLLPATH;$(SYSTEMPATH) 9=;DRIVERSPATH;$(SYSTEMPATH)drivers\ 10=;SPOOLDRIVERSPATH;$(SYSTEMPATH)spool\drivers\w32x86\ 11=;SPOOLDRIVERSPATH2;$(SYSTEMPATH)spool\drivers\w32x86\2\ 12=;StartAsThread;?StartAsThread@CDisplayActionThread@@SAHP6AHAAHPAV1@@ZHAAVCString@@@Z 13=;InstallSteps;'Install Base'pre-Install'$(PRODUCT),optional'post-Install,optional;string 14=;AlertDisplay;AlertDisplay 15=;AlertDisplayCopyFiles;AlertDisplayCopyFiles 16=;AlertDisplayDeleteFiles;AlertDisplayDeleteFiles 17=;AlertDisplayCopyFiles From EXEPATH to INSTALLPATH;AlertDisplayCopyFiles From EXEPATH to INSTALLPATH;string 18=;AlertDisplayCopyFiles From EXEPATH to SPOOLDRIVERSPATH;AlertDisplayCopyFiles From EXEPATH to SPOOLDRIVERSPATH;string 19=;ProductKey;$(InstallKey) 20=;Installer Files;$(DIVID)ti1$(PNUM).exe,$(DIVID)ti1$(PNUM).ini,$(DIVID)cnt$(PNUM).dll,$(DIVID)ti4$(PNUM).dll,$(DIVID)ti5$(PNUM).dll,$(DIVID)ti7$(PNUM).dll,$(DIVID)dr1$(PNUM).dll,$(DIVID)dr2$(PNUM).dll,$(DIVID)dr3$(PNUM).dll 21=;MSVCRTSYMBOL; 22=;Help Files;$(DIVID)$(ModelShortPrefix)d$(PNUM).hlp,$(DIVID)$(ModelShortPrefix)h$(PNUM).hlp,$(DIVID)$(ModelShortPrefix)r$(PNUM).hlp,$(DIVID)$(ModelShortPrefix)t$(PNUM).hlp,$(DIVID)$(ModelShortPrefix)x$(PNUM).hlp,$(DIVID)$(ModelShortPrefix)x$(PNUM).cnt,$(DIVID)cfg$(PNUM).hlp;multistring 23=;COLA Files;,hpcola.bak,hpdmip.bak,hpdmipx.bak,hpnetsrv.bak,hpnwpsrv.bak,hpnwshim.bak,hpobj.bak,hpprntr.bak,hpprui.bak,hpsnmp.bak;multistring 24=;CPrjErrorObjectResourceDLL;$(DIVID)DR3$(PNUM) 25=;IDS_FATAL_INSTALLATION_ERROR;24;resource;$(CPrjErrorObjectResourceDLL);FALSE 26=;WINHELPEXE;$(OSPATH)winhlp32.exe 27=;InstallerOSList;,WinNT4.0;string 28=;SupportedOSList;,Win95,Win98,WinNT4.0;string 29=;InstallerOS;,Windows NT4.0;string 30=;SupportedProducts;,HP 2000C Printer;string 31=;DISKSUBDIRNAME;disk;string 32=;CDINSTDIRNAME;cdinst;string 33=;DLL_EXT;DL_;string 34=;EXE_EXT;EX_;string 35=;HLP_EXT;HL_;string 36=;HPA_EXT;HP_;string 37=;EDB_EXT;ED_;string 38=;TER_EXT;TE_;string 39=;DAT_EXT;DA_;string 40=;DRV_EXT;DR_;string 41=;INI_EXT;IN_;string 42=;CNT_EXT;CN_;string 43=;AVI_EXT;AV_;string 44=;BAK_EXT;BA_;string 45=;FailInstallation;FALSE;bool ;-------------------------------------------------------------- [Install Base] ; required section do not remove UNINSTALLABLE=NOT Type=Product 0=Make Base Install Path [Make Base Install Path] ; required section do not remove Type=DirAction Symbols=Make Base Install Path Symbols Command=Add Dir=$(BasePath) [Make Base Install Path Symbols] ; required section do not remove Type=Symbols 0=;BasePath;$(OSDRIVE)\$(DIVID)$(PNUM)\ ;-------------------------------------------------------------- [AlertDisplay] Type=DisplayAction Wait=TRUE ResourceDLL=$(EXEPATH)$(DIVID)ti4$(PNUM).dll DLL=$(EXEPATH)$(DIVID)ti3$(PNUM).dll StartDisplay=?StartDisplay@CAlertDialog@@SAHAAHPAVCDisplayActionThread@@@Z [AlertDisplayCopyFiles] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)ti4$(PNUM).dll,0,$(INSTALLPATH),1111,8448 1=,$(SOURCEPATH)$(DIVID)ti5$(PNUM).dll,0,$(INSTALLPATH),1111,8448 [AlertDisplayCopyFiles From EXEPATH to INSTALLPATH] ; UNINSTALLABLE=NOT Type=CopyFilesAction 0=,$(EXEPATH)$(DIVID)ti4$(PNUM).dll,0,$(INSTALLPATH),1111,8448 1=,$(EXEPATH)$(DIVID)ti5$(PNUM).dll,0,$(INSTALLPATH),1111,8448 [AlertDisplayCopyFiles From EXEPATH to SPOOLDRIVERSPATH] ; UNINSTALLABLE=NOT Type=CopyFilesAction 0=,$(EXEPATH)$(DIVID)ti4$(PNUM).dll,0,$(SPOOLDRIVERSPATH),1111,8448 1=,$(EXEPATH)$(DIVID)ti5$(PNUM).dll,0,$(SPOOLDRIVERSPATH),1111,8448 ;-------------------------------------------------------------- [pre-Install] ; required section do not remove UNINSTALLABLE=REQUIRED Type=Product 0=Make Install Path 1=Remove Old Uninstall CfgFile,optional 2=Product Level Pre-Install,optional Symbols=Configurable Install Symbols ;Set the Configurable Install Symbols - they are used throughout the .ini file [Product Level Pre-Install Defaults] Type=Symbols 0=;Product;HP 2000C Printer 1=;Printer Model Name;$(Product) 2=;PrinterFriendlyName;$(Printer Model Name) 3=;Port;LPT1: 4=;PrinterDefault;TRUE;bool 5=;PrinterDirect;FALSE;bool 6=;PrinterQueued;TRUE;bool 7=;PrinterEnableBidi;TRUE;bool 8=;PrinterEnableDevQ;TRUE;bool 9=;PrinterLocal;TRUE;bool 10=;PrinterShared;FALSE;bool 11=;PrinterNetwork;FALSE;bool 12=;PrinterHidden;FALSE;bool 13=;PrinterKeepPrintedJobs;FALSE;bool 14=;PrinterDoCompleteFirst;TRUE;bool 15=;UninstallName;Uninstall $(SharedPrinterName) Driver;string 16=;SharedPrinterName;$(PrinterFriendlyName);string 17=;Is Delayed Install;TRUE 18=;HP 2000C PrinterShortName;HP 2000C 19=;ShortPrinterName;$($(Product)ShortName) 20=;CableTested;FALSE;bool 21=;BidiEnabled;FALSE;bool ; The following is the size of the installed driver files in KBytes - replace by the follow two lines when the code to support them has been implemented. 22=;RequiredDiskSpace;30720;number 23=;InitialInstallRequiredDiskSpace;30720;number 24=;ReinstallRequiredDiskSpace;30720;number 25=;2000CUtilitiesGroup;61;resource;$(DIVID)dr1$(PNUM).dll;FALSE 26=;TaskbarName;70;resource;$(DIVID)dr1$(PNUM).dll;FALSE [Product Level Pre-Install] Type=Feature UNINSTALLABLE=Required Symbols=Product Level Pre-Install Defaults ReverseOrderForUninstall=FALSE 0=EnvCheckDialog 1=DisplayLicenseDialog 2=If Not Failed Product Pre-Install Installation 3=Copy Installer Base Files from EXEPATH to SPOOLDRIVERSPATH 4=$(AlertDisplayCopyFiles From EXEPATH to SPOOLDRIVERSPATH) 5=Set HPECP sys file name,optional [If Not Failed Product Pre-Install Installation] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(FailInstallation)==FALSE [Set HPECP sys file name] Type=Feature 0=Check And Set to hld file,optional 1=Check And Set to sys file,optional [Check And Set to hld file] Type=Feature 0=if delayed install 2 1=set HPECP_sys to hld file [if delayed install 2] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Is Delayed Install)==TRUE [set HPECP_sys to hld file] Type=Feature Symbols=set HPECP_sys to hld file Symbols [set HPECP_sys to hld file Symbols] Type=Symbols 0=;HPECP_sys;$(HPECP).hld;string;TRUE [Check And Set to sys file] Type=Feature 0=if not delayed install 5 1=set HPECP_sys to sys file [if not delayed install 5] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Is Delayed Install)==FALSE [set HPECP_sys to sys file] Type=Feature Symbols=set HPECP_sys to sys file Symbols [set HPECP_sys to sys file Symbols] Type=Symbols 0=;HPECP_sys;$(IODllName).sys [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;$(BasePath)$(ProductKey)\;string 1=;LOG;$(INSTALLPATH)$(OWNNAME).log 2=;UNINSTALLFILE;$(INSTALLPATH)$(OWNNAME)_u.ini [Remove Old Uninstall CfgFile] Type=DeleteFilesAction 0=$(UNINSTALLFILE) [Copy Installer Base Files from EXEPATH to INSTALLPATH] ; UNINSTALLABLE=NOT Type=CopyFilesAction 0=,$(EXEPATH)$(DIVID)ti1$(PNUM).exe,0,$(INSTALLPATH)$(DIVID)ti1$(PNUM).exe,1111,8448 1=,$(EXEPATH)$(DIVID)cnt$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)cnt$(PNUM).dll,1111,8448 2=,$(EXEPATH)$(DIVID)ti1$(PNUM).ini,0,$(INSTALLPATH)$(DIVID)ti1$(PNUM).ini,1111,8448 3=,$(EXEPATH)$(DIVID)dr1$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)dr1$(PNUM).dll,1111,8448 4=,$(EXEPATH)$(DIVID)dr2$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)dr2$(PNUM).dll,1111,8448 5=,$(EXEPATH)$(DIVID)dr3$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)dr3$(PNUM).dll,1111,8448 6=,$(EXEPATH)$(DIVID)ti7$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)ti7$(PNUM).dll,1111,8448 [Copy Installer Base Files from EXEPATH to SPOOLDRIVERSPATH] ; UNINSTALLABLE=NOT Type=CopyFilesAction 0=,$(EXEPATH)$(DIVID)ti1$(PNUM).exe,0,$(SPOOLDRIVERSPATH)$(DIVID)ti1$(PNUM).exe,1111,8448 1=,$(EXEPATH)$(DIVID)cnt$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)cnt$(PNUM).dll,1111,8448 2=,$(EXEPATH)$(DIVID)ti1$(PNUM).ini,0,$(SPOOLDRIVERSPATH)$(DIVID)ti1$(PNUM).ini,1111,8448 3=,$(EXEPATH)$(DIVID)dr1$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)dr1$(PNUM).dll,1111,8448 4=,$(EXEPATH)$(DIVID)dr2$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)dr2$(PNUM).dll,1111,8448 5=,$(EXEPATH)$(DIVID)dr3$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)dr3$(PNUM).dll,1111,8448 6=,$(EXEPATH)$(DIVID)ti7$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)ti7$(PNUM).dll,1111,8448 ;-------------------------------------------------------------- [post-Install] ; required section do not remove UNINSTALLABLE=OPTIONAL ReverseOrderForUninstall=FALSE Type=Product 0=If Not Failed Installation 1=UninstallShortcut 2=Copy Installer Base Files from EXEPATH to INSTALLPATH 3=$(AlertDisplayCopyFiles From EXEPATH to INSTALLPATH) 4=Check and Launch TaskTray,optional 5=InstallComplete [UninstallShortcut] ; required section do not remove Type=ModifyUIAction IconFileName=$(INSTALLPATH)$(OWNNAME).exe IconOffset=0 ShowCommand=NORMAL ExeName=$(INSTALLPATH)$(OWNNAME).exe WorkingDirectory=$(INSTALLPATH) CmdLineParameters=-P $(Product) -I $(UNINSTALLFILE) -U -DLOG=;$(INSTALLPATH)$(OWNNAME)_u.log;string LinkFileName=$(BasePath)$(UninstallName).lnk ShortcutDesc=$(UninstallName) [If Not Failed Installation] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(FailInstallation)==FALSE [Languages] ;list of language dlls ;-------------------------------------------------------------- [HP 2000C Printer] Type=Product Symbols=HP 2000C Printer Symbols Desc=HP 2000C Printer 0=Product Install,optional [HP 2000C Printer Symbols] Type=Symbols 0=;PrinterIndex;24 1=;ModelPrefix;200 2=;PrinterAttributes;0x4;hex 3=;HPCFileName;$(DIVID)$(ModelPrefix)$(PNUM).hpc 4=;Printer Model Name;*current value* 5=;Printer Key;$(Printer Model Name)$(ProductKey) 6=;Driver Key;$(DIVID)$(PNUM) 7=;Driver Base ID;$(DIVID) 8=;DriverDependentFiles;,$(DIVID)lrl$(PNUM).DLL,$(DIVID)try$(PNUM).exe,$(DefaultDependentFiles);multistring 9=;TaskTraySupported;TRUE;BOOL 10=;ModelShortPrefix;20;string 11=;Release Notes Link Name;51;resource;$(DIVID)dr1$(PNUM).dll;FALSE 12=;Toolbox Link Name;50;resource;$(DIVID)dr1$(PNUM).dll;FALSE ;---------------------------------------------------------------- ; this section for the debug c runtime dll which is not copied for release builds ; This is done becuase the msvcrt file was getting deleted at uninstall ; In the release build this was causing a blue-screen after msvcrt was deleted by the uninstaller [Debug Runtime Files] UNINSTALLABLE=NOT Type=Feature 0=If Debug Build 1=Do Debug Runtime Files [If Debug Build] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(DEBUGSUFFIX)==d ; note that the nested feature is to force the debug symbol to be undefined unless debug is true [Do Debug Runtime Files] Type=Feature 0=Copy Debug Runtime Files [Copy Debug Runtime Files] UNINSTALLABLE=NOT Type=CopyFilesAction 0=,$(SOURCEPATH)msvcrtd.dll,0,$(SPOOLDRIVERSPATH),1111,8448 ;-------------------------------------------------------------- [GetCurrentPrinterFriendlyName] Type=ExecuteAction Wait=TRUE UNINSTALLABLE=optional 0=;DLL;$(DIVID)PTD$(PNUM).dll;;;?GetCurrentPrinterFriendlyName@@YAHXZ [FlagKeysInUse] Type=ExecuteAction Wait=TRUE UNINSTALLABLE=REQUIRED 0=;DLL;$(DIVID)PTD$(PNUM).dll;;;?FlagKeysInUse@@YAHXZ Symbols=FlagKeysInUse Symbols [FlagKeysInUse Symbols] Type=Symbols 0=;Driver Key;*current value* 1=;Printer Model Name;*current value* ;-------------------------------------------------------------- [Product Install] Type=Feature 0=If Not Failed Product Installation 1=Check and Set Install Type 2=If CompatibleDriverVersionID 3=Debug Runtime Files,optional 4=Driver 5=FlagKeysInUse,uninstall 6=Printer 7=GetCurrentPrinterFriendlyName,uninstall [If Not Failed Product Installation] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(FailInstallation)==FALSE ;-------------------------------------------------------------- [Check and Set Install Type] Type=Feature 0=SetPortType 1=SetServerInstalledDriverVersionID 2=CheckCompatibleDriverVersionID,optional [SetPortType] Type=ExecuteAction Wait=TRUE UNINSTALLABLE=NOT 0=;DLL;$(DIVID)PTI$(PNUM).dll;?SetPortType@@YAHXZ [SetServerInstalledDriverVersionID] Type=ExecuteAction Wait=TRUE UNINSTALLABLE=NOT 0=;DLL;$(DIVID)PTI$(PNUM).dll;?SetServerInstalledDriverVersionID@@YAHXZ [CheckCompatibleDriverVersionID] Type=Feature 0=If NotCompatibleDriverVersionID 1=UpgradeServerDialog [UpgradeServerDialog] Type=DisplayAction Wait=TRUE ResourceDLL=$(DIVID)DR1$(PNUM).dll DLL=$(DIVID)DA1$(PNUM).dll StartDisplay=?StartDisplay@CUpgradeServerDialog@@SAHAAHPAVCDisplayActionThread@@@Z [If NotCompatibleDriverVersionID] Type=ConditionalAction UNINSTALLABLE=NOT evaluate=$(CompatibleDriverVersionID)==FALSE [If CompatibleDriverVersionID] Type=ConditionalAction UNINSTALLABLE=NOT evaluate=$(CompatibleDriverVersionID)==TRUE ;-------------------------------------------------------------- [Driver] Type=Feature UNINSTALLABLE=optional 0=ProgramGroup,optional 1=Model Specific 2=Common Symbols=DriverSymbols [Common] Type=Feature UNINSTALLABLE=optional 0=Delete Spool Files,uninstall 1=Delete Ini Files,uninstall 2=IO Install,optional 3=DriverDeleteFiles 4=DriverFilesCopy1 5=Copy inf file for alternate driver install 6=DriverFilesCopy2 to SPOOLDRIVERSPATH 7=KernelDriverCopy 8=No Debug Files,optional 9=Copy COLA Files 10=Toolbox,optional 11=TaskTray,optional 12=Hackers Menu,optional 13=HelpSystem,optional 14=AddPrinterDriver 15=if Driver not in use,uninstall [if Driver not in use] Uninstallable=REQUIRED Type=ConditionalAction evaluate=$(Driver Key InUse)==FALSE [DriverSymbols] Type=Symbols 0=;ObjectId;0 1=;SpoolDataType;RAW 2=;PortMonitorName;$(DIVID)$(LangMonVersion)$(PNUM) 3=;DriverVersion;1;number 4=;PrintProcessor;winprint 5=;DefaultDependentFiles;$(Help Files)$(MSVCRTSYMBOL),$(DIVID)hid$(PNUM).exe,$(DIVID)tbx$(PNUM).exe,$(DIVID)cfg$(PNUM).exe,$(DIVID)mem$(PNUM).dll,$(DIVID)lnk$(PNUM).exe,$(DIVID)lnk$(PNUM).ini,$(DIVID)pml$(PNUM).dll,$(DIVID)com$(PNUM).dll,$(DIVID)mlc$(PNUM).dll,$(DIVID)km$(PNUM).dll,$(DIVID)ntu$(PNUM).dll,$(DIVID)ui$(PNUM).dll,$(DIVID)24r$(PNUM).dll,$(DIVID)$(ModelPrefix)$(PNUM).hpc,$(DIVID)cps$(PNUM).dll,$(DIVID)cnt$(PNUM).dll,$(DIVID)img$(PNUM).dll,$(DIVID)mon$(PNUM).dll,$(DIVID)pcl$(PNUM).dll,$(DIVID)win$(PNUM).dll,$(DIVID)srl$(PNUM).dll,$(DIVID)hrl$(PNUM).dll,$(DIVID)trl$(PNUM).dll,$(DIVID)mrl$(PNUM).dll,$(DIVID)cbl$(PNUM).dll,$(DIVID)net$(PNUM).dll,$(DIVID)rsu$(PNUM).dll,$(DIVID)rsa$(PNUM).dll,$(DIVID)stb$(PNUM).dll,$(DIVID)tst$(PNUM).dll 6=;DriverDependentFiles;,$(DefaultDependentFiles);multistring 7=;KernelModeDLL;$(DIVID)km$(PNUM).dll 8=;DataDLL;$(DIVID)stb$(PNUM).DLL 9=;ConfigDLL;$(DIVID)stb$(PNUM).dll 10=;PortMonitorDLL;$(DIVID)lpm$(PNUM).dll 11=;DriverName;$(Printer Model Name) 12=;TaskTraySupported;FALSE;BOOL ;----This language monitor version must be synchronized with STR_LM_VER in filename.h 13=;LangMonVersion;001;string 14=;DigitalFilterEnable;0;number [AddPrinterDriver] Type=ExecuteAction Wait=TRUE UNINSTALLABLE=REQUIRED 0=;DLL;$(DIVID)PTI$(PNUM).dll;?AddPrinterDriverW@@YAHXZ;;?DeletePrinterDriverW@@YAHXZ Symbols=AddPrinterDriver Symbols [AddPrinterDriver Symbols] Type=Symbols 0=;DriverName;*current value* ;---------------------------------------------------------------- [Printer] UNINSTALLABLE=optional Type=Feature 0=Check And SetupDelayedInstall,optional 1=sleep Add Printer,uninstall 2=AddPrinter 3=SetPortType For Uninstall,uninstall 4=SetupLocalInstallPrinterData,optional 5=Check and Set Default Printer,optional 6=Check and Set CIS flags,optional 7=if Printer Key is in use,uninstall [SetPortType For Uninstall] Type=ExecuteAction UNINSTALLABLE=REQUIRED Wait=TRUE 0=;DLL;$(DIVID)PTI$(PNUM).dll;;;?SetPortType@@YAHXZ [Check And SetupDelayedInstall] Type=Feature UNINSTALLABLE=optional 0=if delayed install 1=SetupDelayedInstall [if delayed install] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Is Delayed Install)==TRUE [SetupDelayedInstall] Type=ModifyEnvAction Keys=:PerMachine 0=;Add;CIS_SZ;$(PrinterFriendlyName) Delayed Install;$(DIVID)ti1$(PNUM).exe -M -DPortMonitorName=,$(PortMonitorName) -DInstallSteps=%'Delayed Install -DProductKey=,$(ProductKey) -B -P$(Product) -U- -DPrinterFriendlyName=,$(PrinterFriendlyName) -DPort=,$(PORT) ;---------------------------------------------------------------------------- [sleep Add Printer] Type=ExecuteAction Wait=TRUE 0=;DLL;$(DIVID)PTD$(PNUM).dll;;;?Sleep@@YAHXZ Symbols=sleep Add Printer symbols [sleep Add Printer symbols] Type=Symbols ; About 5 sec 0=;SleepTime;5000;number ;---------------------------------------------------------------------------- [AddPrinter] Type=ExecuteAction Wait=TRUE 0=;DLL;$(DIVID)PTI$(PNUM).dll;?AddPrinterW@@YAHXZ;;?DeletePrinter@@YAHXZ ;---------------------------------------------------------------------------- [SetupLocalInstallPrinterData] Type=Feature 0=If Local Install 1=SetPrinterData ;2=SetPrinterAttributes 2=if Printer Key is in use,uninstall [If Local Install] Uninstallable=REQUIRED Type=ConditionalAction evaluate=$(InstallPortType)==Local [SetPrinterData] Type=Feature 0=SetPerPrinterData [SetPerPrinterData] Type=ExecuteAction UNINSTALL=NOT Wait=TRUE 0=;DLL;$(DIVID)PTD$(PNUM).dll;?DoSetPrinterData@@YAHXZ Symbols=SetPerPrinterData Symbols [SetPerPrinterData Symbols] Type=Symbols 0=;HPCFileName;*current value* 1=;Printer Model Name;*current value* 2=;Printer Key;*current value* 3=;Driver Key;*current value* 4=;Driver Base ID;*current value* ;---------------------------------------------------------------------------- [SetPrinterAttributes] Type=ExecuteAction Wait=TRUE Uninstallable=NOT 0=;DLL;$(DIVID)PTD$(PNUM).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=;PrinterNetwork;*current value* 7=;PrinterHidden;*current value* 8=;PrinterKeepPrintedJobs;*current value* 9=;PrinterDoCompleteFirst;*current value* ; 10=;PrinterShared;*current value* ;---------------------------------------------------------------------------- [Check and Set Default Printer] Type=Feature UNINSTALLABLE=NOT 0=If Default Printer Set 1=SetDefaultPrinterKey [If Default Printer Set] Uninstallable=Not Type=ConditionalAction evaluate=$(NTDefaultPrinter)==TRUE [SetDefaultPrinterKey] Type=ModifyEnvAction Keys=:REG:HKEY_CURRENT_USER:Software:Microsoft:Windows NT:CurrentVersion:Windows 0=:Add:REG_SZ:Device:$(PrinterFriendlyName),winspool,$(Port) Symbols=SetDefaultPrinterKey Symbols [SetDefaultPrinterKey Symbols] Type=Symbols 0=;PrinterFriendlyName;*current value* 1=;Port;*current value* [if Printer Key is in use] Uninstallable=REQUIRED Type=ConditionalAction evaluate=$(Printer Key InUse)==TRUE ; ----------------------------------------------------------------------------- [Check and Set CIS flags] Type=Feature UNINSTALLABLE=NOT 0=Check and Set Bidi Flag,optional 1=Check and Set DSMEnable Flag,optional [Check and Set Bidi Flag] Type=Feature 0=Set CIS Bidi Flag to TRUE 1=if Enable Bidirectional Communcation is FALSE 2=Set CIS Bidi Flag to FALSE [Set CIS Bidi Flag to TRUE] Type=ModifyEnvAction Keys=:PerMachine 0=;Add;CIS_SZ;Bidi;0100 [if Enable Bidirectional Communcation is FALSE] Uninstallable=Not Type=ConditionalAction evaluate=$(Enable Bidirectional Communcation and Enable SW ECP)==FALSE [Set CIS Bidi Flag to FALSE] Type=ModifyEnvAction Keys=:PerMachine 0=;Add;CIS_SZ;Bidi;0000 [Check and Set DSMEnable Flag] Type=Feature ;FALSE prevents toolbox from launching during print jobs) 0=Set CIS DSMEnable Flag to TRUE 1=if Launch Toolbox During a Print Job is FALSE 2=Set CIS DSMEnable Flag to FALSE [Set CIS DSMEnable Flag to TRUE] Type=ModifyEnvAction Keys=:PerMachine 0=;Add;CIS_SZ;DSMEnable;0100 [if Launch Toolbox During a Print Job is FALSE] Uninstallable=Not Type=ConditionalAction evaluate=$(Launch Toolbox During a Print Job and Enable Status)==FALSE [Set CIS DSMEnable Flag to FALSE] Type=ModifyEnvAction Keys=:PerMachine 0=;Add;CIS_SZ;DSMEnable;0000 ;------------------------------------------------------------------------------------------------- [SetCISPrinterData] Type=ModifyEnvAction Keys=;PerModelNumber;$(Printer Model Name) 0=;Add;CIS_SZ;HPCFileName;$(HPCFileName) 1=;Add;CIS_SZ;Printer Model Name;$(Printer Model Name) Symbols=SetCISPrinterData Symbols [SetCISPrinterData Symbols] Type=Symbols 0=;HPCFileName;*current value* 1=;Printer Model Name;*current value* ;---------------------------------------------------------------------------- [DriverDeleteFiles] Type=DeleteFilesAction ;file#=filename, 0=$(SPOOLDRIVERSPATH)$(DIVID)km$(PNUM).dll [DriverFilesCopy1] Type=CopyFilesAction ;file#=filename,disk#,destination,size,copystyleflag ;copy to the spool drivers directory 0=,$(SOURCEPATH)$(DIVID)24r$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)24r$(PNUM).dll,1111,8448 1=,$(SOURCEPATH)$(DIVID)cbl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)cbl$(PNUM).dll,1111,8448 2=,$(SOURCEPATH)$(DIVID)cps$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)cps$(PNUM).dll,1111,8448 3=,$(SOURCEPATH)$(DIVID)hrl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)hrl$(PNUM).dll,1111,8448 4=,$(SOURCEPATH)$(DIVID)img$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)img$(PNUM).dll,1111,8448 5=,$(SOURCEPATH)$(DIVID)mrl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)mrl$(PNUM).dll,1111,8448 6=,$(SOURCEPATH)$(DIVID)ntu$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)ntu$(PNUM).dll,1111,8448 7=,$(SOURCEPATH)$(DIVID)pcl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)pcl$(PNUM).dll,1111,8448 8=,$(SOURCEPATH)$(DIVID)rsa$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)rsa$(PNUM).dll,1111,8448 9=,$(SOURCEPATH)$(DIVID)rsu$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)rsu$(PNUM).dll,1111,8448 10=,$(SOURCEPATH)$(DIVID)srl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)srl$(PNUM).dll,1111,8448 11=,$(SOURCEPATH)$(DIVID)trl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)trl$(PNUM).dll,1111,8448 12=,$(SOURCEPATH)$(DIVID)stb$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)stb$(PNUM).dll,1111,8448 13=,$(SOURCEPATH)$(DIVID)ui$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)ui$(PNUM).dll,1111,8448 [Copy inf file for alternate driver install] Type=CopyFilesAction ;file#=filename,disk#,destination,size,copystyleflag 0=,$(SOURCEPATH)$(DIVID)ti1$(PNUM).inf,0,$(OSPATH)inf\$(DIVID)ti1$(PNUM).inf,1111,8448 [KernelDriverCopy] Type=CopyFilesAction ;file#=filename,disk#,destination,size,copystyleflag 0=,$(SOURCEPATH)$(DIVID)km$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)km$(PNUM).dll,1111,8448 [DriverFilesCopy2 to SPOOLDRIVERSPATH] Type=CopyFilesAction ;file#=filename,disk#,destination,size,copystyleflag 0=,$(SOURCEPATH)$(DIVID)cnt$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)cnt$(PNUM).dll,1111,8448 1=,$(SOURCEPATH)$(DIVID)mon$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)mon$(PNUM).dll,1111,8448 2=,$(SOURCEPATH)$(DIVID)net$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)net$(PNUM).dll,1111,8448 3=,$(SOURCEPATH)$(DIVID)win$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)win$(PNUM).dll,1111,8448 [Model Specific] Type=Feature 0=ModelFilesCopy 1=Check And SetCISPrinterData,optional 2=if model is not in use,uninstall [Check And SetCISPrinterData] Type=Feature 0=if not delayed install 4 1=SetCISPrinterData [if not delayed install 4] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Is Delayed Install)==FALSE [if model is not in use] Type=ConditionalAction UNINSTALLABLE=REQUIRED evaluate=$(Printer Model Name InUse)==FALSE [ModelFilesCopy] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)$(ModelPrefix)$(PNUM).hpc,0,$(SPOOLDRIVERSPATH),1111,8448 ;-------------------------------------------------------------- [No Debug Files] ; Type=Feature ; Changing this feature to a CopyFilesAction so it will copy the tst file ; to support the flight recorder (PUMP) - mlc 12/2/97 Type=CopyFilesAction ;file#=filename,disk#,destination,size,copystyleflag 0=,$(SOURCEPATH)$(DIVID)tst$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)tst$(PNUM).dll,1111,8448 [Debug Files] Type=CopyFilesAction ;file#=filename,disk#,destination,size,copystyleflag 0=,$(SOURCEPATH)$(DIVID)tst$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)tst$(PNUM).dll,1111,8448 ;-------------------------------------------------------------- [Copy COLA Files] Type=CopyFilesAction ;UNINSTALLABLE=NOT ;file#=filename,disk#,destination,size,copystyleflag ;copy to the spool drivers directory ;to copy files only if they don't exist use copystyleflag of 4096 0=,$(SOURCEPATH)hpcola.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpcola.bak,1111,8448 1=,$(SOURCEPATH)hpdmip.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpdmip.bak,1111,8448 2=,$(SOURCEPATH)hpdmipx.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpdmipx.bak,1111,8448 3=,$(SOURCEPATH)hpnetsrv.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpnetsrv.bak,1111,8448 4=,$(SOURCEPATH)hpnwpsrv.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpnwpsrv.bak,1111,8448 5=,$(SOURCEPATH)hpnwshim.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpnwshim.bak,1111,8448 6=,$(SOURCEPATH)hpobj.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpobj.bak,1111,8448 7=,$(SOURCEPATH)hpprntr.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpprntr.bak,1111,8448 8=,$(SOURCEPATH)hpprui.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpprui.bak,1111,8448 9=,$(SOURCEPATH)hpsnmp.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpsnmp.bak,1111,8448 ;---------------------------------------------------------------------------- [IO Install] Type=Feature 0=Check And Copy Kernel IO,optional 1=Get IO DllName 2=Copy HPECP for delayed install 3=Copy Upper IO 1 to SPOOLDRIVERSPATH 4=Copy Upper IO 2 5=Check And Launch Kernel IO,optional 6=sleep AddPortMonitor 7=AddPortMonitor Symbols=HPECP Symbols [Check And Copy Kernel IO] Type=Feature UNINSTALLABLE=NOT 0=if not delayed install 1=Copy Kernel IO,optional [if not delayed install] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Is Delayed Install)==FALSE [Check And Launch Kernel IO] Type=Feature UNINSTALLABLE=NOT 0=if not delayed install 2 1=Launch Kernel IO,optional [if not delayed install 2] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Is Delayed Install)==FALSE [Copy Kernel IO] Type=Feature Uninstallable=Optional ;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=Copy HPECP 4=HPECP Registry Setup Symbols=HPECP Symbols [sleep Kernel IO] Type=ExecuteAction Wait=TRUE UNINSTALLABLE=NOT 0=;DLL;$(DIVID)PTD$(PNUM).dll;?Sleep@@YAHXZ Symbols=sleep Kernel IO symbols [sleep Kernel IO symbols] Type=Symbols ; About 5 sec 0=;SleepTime;5000;number [Launch Kernel IO] Type=Feature Uninstallable=Optional ;Launch Kerenl IO for 1284, Kernel Filters, USB and 1394. 0=sleep Kernel IO 1=Start HPECP Symbols=HPECP Symbols [HPECP Symbols] Type=Symbols 0=;HPECPVERSION;1 1=;HPECP;$(DIVID)ECP$(PNUM) 2=;NECIOName;$(DIVID)P98$(PNUM) 3=;HPIOName;$(DIVID)ECP$(PNUM) ;-------------------------------------------------------------- [Does HPECP Need Install] Type=ExecuteAction Wait=TRUE 0=;DLL;$(DIVID)IOI$(PNUM).dll;?DoesHPECPNeedInstall@@YAHXZ [Stop HPECP] Type=ExecuteAction Wait=TRUE 0=;DLL;$(DIVID)IOI$(PNUM).dll;?StopHPECP@@YAHXZ [Start HPECP] Type=ExecuteAction Wait=TRUE 0=;DLL;$(DIVID)IOI$(PNUM).dll;?StartHPECP@@YAHXZ;;?StopHPECP@@YAHXZ [Delete HPECP] Type=DeleteFilesAction 0=$(DRIVERSPATH)$(HPECP).sys [Get IO DllName] Type=ExecuteAction Wait=TRUE 0=;DLL;$(DIVID)IOI$(PNUM).dll;?SetupIOInstallName@@YAHXZ [Copy HPECP for delayed install] Type=CopyFilesAction 0=,$(SOURCEPATH)$(IODllName).sys,0,$(DRIVERSPATH)$(HPECP_sys),1111,8448,TRUE [Copy HPECP] Type=CopyFilesAction 0=,$(DRIVERSPATH)$(HPECP_sys),0,$(DRIVERSPATH)$(HPECP).sys,1111,8448,TRUE [Copy Upper IO 1 to SPOOLDRIVERSPATH] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)com$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)com$(PNUM).dll,1111,8448 1=,$(SOURCEPATH)$(DIVID)mem$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)mem$(PNUM).dll,1111,8448 2=,$(SOURCEPATH)$(DIVID)mlc$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)mlc$(PNUM).dll,1111,8448 3=,$(SOURCEPATH)$(DIVID)pml$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)pml$(PNUM).dll,1111,8448 [Copy Upper IO 2] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)iop$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)iop$(PNUM).dll,1111,8448 1=,$(SOURCEPATH)$(DIVID)hid$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)hid$(PNUM).exe,1111,8448 2=,$(SOURCEPATH)$(DIVID)lpm$(PNUM).$(DLL_EXT),0,$(DLLPATH)$(DIVID)lpm$(PNUM).dll,1111,8448 3=,$(SOURCEPATH)$(DIVID)lpm$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)lpm$(PNUM).dll,1111,8448 [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 5=HPECP Legacy Setup 2 6=HPECP IO Enable [HPECP Device Setup 1] Type=ModifyEnvAction UNINSTALLABLE=NOT Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Services:$(HPECP) ; For now remove the DependOnGroup because of some incompaitibilites with ; the Iomega Zip Drives. They will fix this eventually, but for now keep ; it hidden. ;0=:Add:REG_MULTI_SZ:DependOnGroup:Parallel arbitrator 0=:Add:REG_MULTI_SZ:DependOnService:Parport 1=:Add:REG_DWORD:ErrorControl:0 2=:Add:REG_SZ:Group:Extended base 3=:Add:REG_DWORD:Start:2 4=:Add:REG_DWORD:Tag:2 5=: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 ;NOTES: 1=NIBBLE 2=SWECP 3=HWECP 4=ECP_FRAME 0=:Add:REG_DWORD:MaxInputMode:1 ;NOTES: 1=LPT 2=SWECP 3=HWECP 4=ECP_FRAME 1=:Add:REG_DWORD:MaxOutputMode:3 2=:Add:REG_DWORD:PortLockMode:2 3=:Add:REG_DWORD:PortAllocMode:1 ; Used for Debugging ;4=:Add:REG_DWORD:911:40 [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 Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Enum:Root:LEGACY_$(HPECP) 0=:Add:REG_DWORD:NextInstance:1 [HPECP Legacy Setup 2] Type=ModifyEnvAction 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 1=:Add:REG_DWORD:DigitalFilterEnable:$(DigitalFilterEnable) 2=:Add:REG_DWORD:CurrentBidiMode:1 [sleep AddPortMonitor] Type=ExecuteAction Wait=TRUE UNINSTALLABLE=NOT 0=;DLL;$(DIVID)PTD$(PNUM).dll;?Sleep@@YAHXZ Symbols=sleep AddPortMonitor symbols [sleep AddPortMonitor symbols] Type=Symbols ; About 15 sec 0=;SleepTime;15000;number [AddPortMonitor] Type=ExecuteAction Wait=TRUE 0=;DLL;$(DIVID)IOI$(PNUM).dll;?AddPortMonitor@@YAHXZ;;?DeletePortMonitor@@YAHXZ Symbols=AddPortMonitor Symbols [AddPortMonitor Symbols] Type=Symbols 0=;PortMonitorName;*current value* ;-------------------------------Files to be deleted during uninstall ; These files are copied to the \2 directory by the OS during the Add Printer Driver call. [Delete Spool Files] Type=DeleteFilesAction 0=$(SPOOLDRIVERSPATH2)$(DIVID)$(ModelPrefix)$(PNUM).hpc 1=$(SPOOLDRIVERSPATH2)$(DIVID)20d$(PNUM).hlp 2=$(SPOOLDRIVERSPATH2)$(DIVID)20h$(PNUM).hlp 3=$(SPOOLDRIVERSPATH2)$(DIVID)20r$(PNUM).hlp 4=$(SPOOLDRIVERSPATH2)$(DIVID)20t$(PNUM).hlp 5=$(SPOOLDRIVERSPATH2)$(DIVID)20x$(PNUM).hlp 6=$(SPOOLDRIVERSPATH2)$(DIVID)20x$(PNUM).cnt 7=$(SPOOLDRIVERSPATH2)$(DIVID)24r$(PNUM).dll 8=$(SPOOLDRIVERSPATH2)$(DIVID)cbl$(PNUM).dll 9=$(SPOOLDRIVERSPATH2)$(DIVID)cfg$(PNUM).exe 10=$(SPOOLDRIVERSPATH2)$(DIVID)cfg$(PNUM).hlp 11=$(SPOOLDRIVERSPATH2)$(DIVID)cnt$(PNUM).dll 12=$(SPOOLDRIVERSPATH2)$(DIVID)com$(PNUM).dll 13=$(SPOOLDRIVERSPATH2)$(DIVID)cps$(PNUM).dll 14=$(SPOOLDRIVERSPATH2)$(DIVID)hid$(PNUM).exe 15=$(SPOOLDRIVERSPATH2)$(DIVID)hrl$(PNUM).dll 16=$(SPOOLDRIVERSPATH2)$(DIVID)img$(PNUM).dll 17=$(SPOOLDRIVERSPATH2)$(DIVID)km$(PNUM).dll 18=$(SPOOLDRIVERSPATH2)$(DIVID)lnk$(PNUM).exe 19=$(SPOOLDRIVERSPATH2)$(DIVID)lnk$(PNUM).ini 20=$(SPOOLDRIVERSPATH2)$(DIVID)lrl$(PNUM).dll 21=$(SPOOLDRIVERSPATH2)$(DIVID)mem$(PNUM).dll 22=$(SPOOLDRIVERSPATH2)$(DIVID)mlc$(PNUM).dll 23=$(SPOOLDRIVERSPATH2)$(DIVID)mon$(PNUM).dll 24=$(SPOOLDRIVERSPATH2)$(DIVID)mrl$(PNUM).dll 25=$(SPOOLDRIVERSPATH2)$(DIVID)net$(PNUM).dll 26=$(SPOOLDRIVERSPATH2)$(DIVID)ntu$(PNUM).dll 27=$(SPOOLDRIVERSPATH2)$(DIVID)pcl$(PNUM).dll 28=$(SPOOLDRIVERSPATH2)$(DIVID)pml$(PNUM).dll 29=$(SPOOLDRIVERSPATH2)$(DIVID)rsa$(PNUM).dll 30=$(SPOOLDRIVERSPATH2)$(DIVID)rsu$(PNUM).dll 31=$(SPOOLDRIVERSPATH2)$(DIVID)srl$(PNUM).dll 32=$(SPOOLDRIVERSPATH2)$(DIVID)stb$(PNUM).dll 33=$(SPOOLDRIVERSPATH2)$(DIVID)tbx$(PNUM).exe 34=$(SPOOLDRIVERSPATH2)$(DIVID)trl$(PNUM).dll 35=$(SPOOLDRIVERSPATH2)$(DIVID)try$(PNUM).exe 36=$(SPOOLDRIVERSPATH2)$(DIVID)tst$(PNUM).dll 37=$(SPOOLDRIVERSPATH2)$(DIVID)ui$(PNUM).dll 38=$(SPOOLDRIVERSPATH2)$(DIVID)win$(PNUM).dll [Delete Ini Files] Type=DeleteFilesAction 0=$(OSPATH)$(DIVID)css$(PNUM).ini 1=$(OSPATH)$(DIVID)tbx$(PNUM).ini ;-----------------------------------------------------Program Group [ProgramGroup] Type=Product 0=if Create Utilities Group and Icons is TRUE 3 1=Create Utilities Group,optional 2=if Driver not in use2,uninstall [if Create Utilities Group and Icons is TRUE 3] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Create Utilities Group and Shortcut Icons)==TRUE [Create Utilities Group] Uninstallable=optional Type=DirAction Command=Add Dir=$(ProgramsPath)$(2000CUtilitiesGroup) [if Driver not in use2] Uninstallable=REQUIRED Type=ConditionalAction evaluate=$(Driver Key InUse)==FALSE ;-----------------------------------------------------Help System [HelpSystem] Type=Product 0=CopyHelpFiles 1=if Create Utilities Group and Icons is TRUE 2 2=CreateHelpIcon,optional [if Create Utilities Group and Icons is TRUE 2] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Create Utilities Group and Shortcut Icons)==TRUE [CopyHelpFiles] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)r$(PNUM).hlp,1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)r$(PNUM).hlp,1111,8448 1=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)d$(PNUM).$(HLP_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)d$(PNUM).hlp,1111,8448 2=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)h$(PNUM).$(HLP_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)h$(PNUM).hlp,1111,8448 3=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)t$(PNUM).$(HLP_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)t$(PNUM).hlp,1111,8448 4=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)x$(PNUM).$(HLP_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)x$(PNUM).hlp,1111,8448 5=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)x$(PNUM).$(CNT_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)x$(PNUM).cnt,1111,8448 6=,$(SOURCEPATH)$(DIVID)rel$(PNUM).ico,1,$(SPOOLDRIVERSPATH),1111,8448 [CreateHelpIcon] Type=ModifyUIAction IconFileName=$(SPOOLDRIVERSPATH)$(DIVID)rel$(PNUM).ico IconOffset=0 ShowCommand=NORMAL ExeName=$(WINHELPEXE) WorkingDirectory=$(SPOOLDRIVERSPATH) CmdLineParameters=$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)r$(PNUM).hlp LinkFileName=$(ProgramsPath)$(2000CUtilitiesGroup)\$(Release Notes Link Name).lnk ShortcutDesc=$(Release Notes Link Name) ;----------------------------------------------------Display Actions ;[DisplayBackgroundWindow] ; Type=DisplayAction ; Wait=FALSE ; ResourceDLL=$(DIVID)DR1$(PNUM).dll ; DLL=$(DIVID)DA1$(PNUM).dll ; StartDisplay=?StartDisplay@CBackgroundWnd@@SAHAAHPAVCDisplayActionThread@@@Z ; UninstallStartDisplay=?StartDisplay@CBackgroundWnd@@SAHAAHPAVCDisplayActionThread@@@Z ; UninstallCopyFileSection=DA1CopyFilesSection [DA1CopyFilesSection] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)DR1$(PNUM).dll,1,$(INSTALLPATH)$(DIVID)DR1$(PNUM).DLL,1111,8448 1=,$(SOURCEPATH)$(DIVID)DR3$(PNUM).dll,1,$(INSTALLPATH)$(DIVID)DR3$(PNUM).DLL,1111,8448 [EnvCheckDialog] Type=DisplayAction Wait=TRUE ResourceDLL=$(DIVID)DR2$(PNUM).dll DLL=$(DIVID)DA2$(PNUM).dll StartDisplay=?StartDisplay@CEnvCheck@@SAHAAHPAVCDisplayActionThread@@@Z [DisplayLicenseDialog] Type=DisplayAction Wait=TRUE ResourceDLL=$(DIVID)DR1$(PNUM).dll DLL=$(DIVID)DA1$(PNUM).dll StartDisplay=?StartDisplay@CLicenseDialog@@SAHAAHPAVCDisplayActionThread@@@Z UninstallStartDisplay=?StartDisplay@CUninstAreYouSure@@SAHAAHPAVCDisplayActionThread@@@Z UninstallCopyFileSection=DA1CopyFilesSection [InstallComplete] Type=Feature 0=InstallCompleteDialog [InstallCompleteDialog] Type=DisplayAction Wait=TRUE ResourceDLL=$(DIVID)DR1$(PNUM).dll DLL=$(DIVID)DA1$(PNUM).dll StartDisplay=?StartDisplay@CInstallCompleteDialog@@SAHAAHPAVCDisplayActionThread@@@Z UninstallStartDisplay=?StartDisplay@CUninstallCompleteDialog@@SAHAAHPAVCDisplayActionThread@@@Z UninstallCopyFileSection=DA1CopyFilesSection ;---------------------------------------Task Tray Install ----------------------- [TaskTray] Type=Feature 0=if tasktray is supported 1=TaskTray Files to SPOOLDRIVERSPATH 2=if Launch Tasktray Icon on Startup is TRUE 3=TaskTray Shortcut 4=if Driver not in use3,uninstall [if tasktray is supported] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(TaskTraySupported)==TRUE [TaskTray Files to SPOOLDRIVERSPATH] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)try$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)try$(PNUM).exe,1111,8448 1=,$(SOURCEPATH)$(DIVID)lrl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)lrl$(PNUM).dll,1111,8448 [if Launch Tasktray Icon on Startup is TRUE] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Launch Tasktray Icon on Startup)==TRUE [TaskTray Shortcut] Type=ModifyUIAction IconFileName=$(SPOOLDRIVERSPATH)$(DIVID)try$(PNUM).exe IconOffset=0 ShowCommand=NORMAL ExeName=$(SPOOLDRIVERSPATH)$(DIVID)try$(PNUM).exe WorkingDirectory=$(SPOOLDRIVERSPATH) CmdLineParameters=-n$(PrinterIndex) LinkFileName=$(STARTUPPATH)$(TaskbarName).lnk ShortcutDesc=$(TaskbarName) [if Driver not in use3] Uninstallable=REQUIRED Type=ConditionalAction evaluate=$(Driver Key InUse)==FALSE [Check and Launch TaskTray] Type=Feature 0=if Launch Tasktray Icon on Startup is TRUE 2 1=TaskTray Launch,optional [if Launch Tasktray Icon on Startup is TRUE 2] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Launch Tasktray Icon on Startup)==TRUE [TaskTray Launch] Type=ExecuteAction Wait=FALSE 0=;PGM;$(SPOOLDRIVERSPATH)$(DIVID)try$(PNUM).exe -n$(PrinterIndex);$(SPOOLDRIVERSPATH) ;---------------------------------------Toolbox Install ----------------------- [Toolbox] Type=Feature Uninstallable=Optional 0=Toolbox Install,optional 1=Link Manager Files to SPOOLDRIVERSPATH 2=Toolbox Files to SPOOLDRIVERSPATH [Toolbox Install] Type=Feature 0=if Create Utilities Group and Icons is TRUE 1=Toolbox Utilities Group Shortcut,optional [if Create Utilities Group and Icons is TRUE] UNINSTALLABLE=NOT Type=ConditionalAction evaluate=$(Create Utilities Group and Shortcut Icons)==TRUE [Link Manager Files to SPOOLDRIVERSPATH] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)lnk$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)lnk$(PNUM).exe,1111,8448 1=,$(SOURCEPATH)$(DIVID)lnk$(PNUM).$(INI_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)lnk$(PNUM).ini,1111,8448 [Toolbox Files to SPOOLDRIVERSPATH] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)tbx$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)tbx$(PNUM).exe,1111,8448 1=,$(SOURCEPATH)$(DIVID)trl$(PNUM).$(AVI_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)trl$(PNUM).avi,1111,8448 ;[Toolbox DeskTop Shortcut] ; Type=ModifyUIAction ; IconFileName=$(DLLPATH)$(DIVID)tbx$(PNUM).exe ; IconOffset=0 ; ShowCommand=NORMAL ; ExeName=$(DLLPATH)$(DIVID)tbx$(PNUM).exe ; ;use default WorkingDirectory= ; CmdLineParameters=-n$(PrinterIndex) ; LinkFileName=$(DESKTOPPATH)$(Toolbox Link Name).lnk ; ShortcutDesc=$(Toolbox Link Name) [Toolbox Utilities Group Shortcut] Type=ModifyUIAction IconFileName=$(SPOOLDRIVERSPATH)$(DIVID)tbx$(PNUM).exe IconOffset=0 ShowCommand=NORMAL ExeName=$(SPOOLDRIVERSPATH)$(DIVID)tbx$(PNUM).exe ;use default WorkingDirectory= CmdLineParameters=-n$(PrinterIndex) LinkFileName=$(ProgramsPath)$(2000CUtilitiesGroup)\$(Toolbox Link Name).lnk ShortcutDesc=$(Toolbox Link Name) ;----------------------------------------------------Config Tool [Hackers Menu] Type=Feature 0=Hackers Menu Files to SPOOLDRIVERSPATH [Hackers Menu Files to SPOOLDRIVERSPATH] Type=CopyFilesAction 0=,$(SOURCEPATH)$(DIVID)cfg$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)cfg$(PNUM).exe,1111,8448 1=,$(SOURCEPATH)$(DIVID)cfg$(PNUM).$(HLP_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)cfg$(PNUM).hlp,1111,8448 ;-----------------------------------------Delayed Install [Delayed Install] Type=Feature 0=Delayed PreInstall 1=Product Setup 2=set HPECP_sys to hld file 3=Delayed IO Install 4=Delayed Printer Data Symbols=Delayed Install Symbols [Delayed PreInstall] Type=Feature Symbols=Product Level Pre-Install Defaults [Product Setup] Type=Feature Symbols=$(Product) Symbols 0=Driver Setup [Delayed IO Install] Type=Feature 0=Copy Kernel IO,optional 1=Launch Kernel IO,optional 2=Delete Trigger File [Delayed Printer Data] Type=Feature Symbols=Configurable Install Symbols ; Uncomment the first two lines (and renumber section) to produce an install log for the delayed installation ; 0=Make Base Install Path ; 1=Make Install Path 0=SetCISPrinterData,optional [Delayed Install Symbols] Type=Symbols 0=;Is Delayed Install;TRUE [Delete Trigger File] Type=DeleteFilesAction 0=$(DRIVERSPATH)$(HPECP_sys) [Driver Setup] Type=Feature Symbols=DriverSymbols ;-----------------------------------------End of Delayed Install Section