home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 June / Chip_1999-06_cd.bin / ovladace / drivers / 2kc21en_nt.EXE / 2kc21en_nt / HPRti109.ini < prev    next >
Encoding:
INI File  |  1998-12-11  |  46.7 KB  |  1,325 lines

  1. [Configurable Install Symbols]
  2. ; required section do not remove
  3.     Type=Symbols
  4.     0=;Enable Bidirectional Communcation and Enable SW ECP;TRUE;bool
  5.     1=;Launch Toolbox During a Print Job and Enable Status;TRUE;bool
  6.     2=;Create Utilities Group and Shortcut Icons;TRUE;bool
  7.     3=;Launch Tasktray Icon on Startup;TRUE;bool
  8.  
  9. [InstallSymbols]
  10. ; required section do not remove
  11.     Type=Symbols
  12.     0=;BATCH;FALSE;bool
  13.     1=;UNINSTALL;FALSE;bool
  14.     2=;ConfigureUninstall;TRUE;bool
  15.     3=;DIVID;HPR
  16.     4=;PNUM;09
  17.     5=;DEBUGSUFFIX;
  18.     6=;CErrorObjectResourceDLL;$(DIVID)ti5$(PNUM).dll
  19.     7=;SOURCEPATH;$(EXEPATH)
  20.     8=;DLLPATH;$(SYSTEMPATH)
  21.     9=;DRIVERSPATH;$(SYSTEMPATH)drivers\
  22.     10=;SPOOLDRIVERSPATH;$(SYSTEMPATH)spool\drivers\w32x86\
  23.     11=;SPOOLDRIVERSPATH2;$(SYSTEMPATH)spool\drivers\w32x86\2\
  24.     12=;StartAsThread;?StartAsThread@CDisplayActionThread@@SAHP6AHAAHPAV1@@ZHAAVCString@@@Z
  25.     13=;InstallSteps;'Install Base'pre-Install'$(PRODUCT),optional'post-Install,optional;string
  26.     14=;AlertDisplay;AlertDisplay
  27.     15=;AlertDisplayCopyFiles;AlertDisplayCopyFiles
  28.     16=;AlertDisplayDeleteFiles;AlertDisplayDeleteFiles
  29.     17=;AlertDisplayCopyFiles From EXEPATH to INSTALLPATH;AlertDisplayCopyFiles From EXEPATH to INSTALLPATH;string
  30.     18=;AlertDisplayCopyFiles From EXEPATH to SPOOLDRIVERSPATH;AlertDisplayCopyFiles From EXEPATH to SPOOLDRIVERSPATH;string
  31.     19=;ProductKey;$(InstallKey)
  32.     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
  33.     21=;MSVCRTSYMBOL;
  34.     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
  35.     23=;COLA Files;,hpcola.bak,hpdmip.bak,hpdmipx.bak,hpnetsrv.bak,hpnwpsrv.bak,hpnwshim.bak,hpobj.bak,hpprntr.bak,hpprui.bak,hpsnmp.bak;multistring
  36.     24=;CPrjErrorObjectResourceDLL;$(DIVID)DR3$(PNUM)
  37.     25=;IDS_FATAL_INSTALLATION_ERROR;24;resource;$(CPrjErrorObjectResourceDLL);FALSE
  38.     26=;WINHELPEXE;$(OSPATH)winhlp32.exe    
  39.     27=;InstallerOSList;,WinNT4.0;string
  40.     28=;SupportedOSList;,Win95,Win98,WinNT4.0;string
  41.     29=;InstallerOS;,Windows NT4.0;string
  42.     30=;SupportedProducts;,HP 2000C Printer;string
  43.     31=;DISKSUBDIRNAME;disk;string
  44.     32=;CDINSTDIRNAME;cdinst;string
  45.     33=;DLL_EXT;DL_;string
  46.     34=;EXE_EXT;EX_;string
  47.     35=;HLP_EXT;HL_;string
  48.     36=;HPA_EXT;HP_;string
  49.     37=;EDB_EXT;ED_;string
  50.     38=;TER_EXT;TE_;string
  51.     39=;DAT_EXT;DA_;string
  52.     40=;DRV_EXT;DR_;string
  53.     41=;INI_EXT;IN_;string
  54.     42=;CNT_EXT;CN_;string
  55.     43=;AVI_EXT;AV_;string
  56.     44=;BAK_EXT;BA_;string
  57.     45=;FailInstallation;FALSE;bool
  58.  
  59. ;--------------------------------------------------------------
  60.  
  61. [Install Base]
  62. ; required section do not remove
  63.     UNINSTALLABLE=NOT
  64.     Type=Product
  65.     0=Make Base Install Path
  66.  
  67. [Make Base Install Path]
  68. ; required section do not remove
  69.     Type=DirAction
  70.     Symbols=Make Base Install Path Symbols
  71.     Command=Add
  72.     Dir=$(BasePath)
  73.  
  74. [Make Base Install Path Symbols]
  75. ; required section do not remove
  76.     Type=Symbols
  77.     0=;BasePath;$(OSDRIVE)\$(DIVID)$(PNUM)\
  78.  
  79. ;--------------------------------------------------------------
  80.  
  81. [AlertDisplay]
  82.     Type=DisplayAction
  83.     Wait=TRUE
  84.     ResourceDLL=$(EXEPATH)$(DIVID)ti4$(PNUM).dll
  85.     DLL=$(EXEPATH)$(DIVID)ti3$(PNUM).dll
  86.     StartDisplay=?StartDisplay@CAlertDialog@@SAHAAHPAVCDisplayActionThread@@@Z
  87.  
  88. [AlertDisplayCopyFiles]
  89.     Type=CopyFilesAction
  90.     0=,$(SOURCEPATH)$(DIVID)ti4$(PNUM).dll,0,$(INSTALLPATH),1111,8448
  91.     1=,$(SOURCEPATH)$(DIVID)ti5$(PNUM).dll,0,$(INSTALLPATH),1111,8448
  92.  
  93. [AlertDisplayCopyFiles From EXEPATH to INSTALLPATH]
  94. ;   UNINSTALLABLE=NOT
  95.     Type=CopyFilesAction
  96.     0=,$(EXEPATH)$(DIVID)ti4$(PNUM).dll,0,$(INSTALLPATH),1111,8448
  97.     1=,$(EXEPATH)$(DIVID)ti5$(PNUM).dll,0,$(INSTALLPATH),1111,8448
  98.  
  99. [AlertDisplayCopyFiles From EXEPATH to SPOOLDRIVERSPATH]
  100. ;    UNINSTALLABLE=NOT
  101.     Type=CopyFilesAction
  102.     0=,$(EXEPATH)$(DIVID)ti4$(PNUM).dll,0,$(SPOOLDRIVERSPATH),1111,8448
  103.     1=,$(EXEPATH)$(DIVID)ti5$(PNUM).dll,0,$(SPOOLDRIVERSPATH),1111,8448
  104.  
  105.  
  106. ;--------------------------------------------------------------
  107.  
  108. [pre-Install]
  109. ; required section do not remove
  110.     UNINSTALLABLE=REQUIRED
  111.     Type=Product
  112.     0=Make Install Path
  113.     1=Remove Old Uninstall CfgFile,optional
  114.     2=Product Level Pre-Install,optional
  115.     Symbols=Configurable Install Symbols
  116. ;Set the Configurable Install Symbols - they are used throughout the .ini file
  117.     
  118. [Product Level Pre-Install Defaults]
  119.     Type=Symbols
  120.     0=;Product;HP 2000C Printer
  121.     1=;Printer Model Name;$(Product)
  122.     2=;PrinterFriendlyName;$(Printer Model Name)
  123.     3=;Port;LPT1:
  124.     4=;PrinterDefault;TRUE;bool  
  125.     5=;PrinterDirect;FALSE;bool
  126.     6=;PrinterQueued;TRUE;bool
  127.     7=;PrinterEnableBidi;TRUE;bool 
  128.     8=;PrinterEnableDevQ;TRUE;bool
  129.     9=;PrinterLocal;TRUE;bool
  130.     10=;PrinterShared;FALSE;bool
  131.     11=;PrinterNetwork;FALSE;bool
  132.     12=;PrinterHidden;FALSE;bool
  133.     13=;PrinterKeepPrintedJobs;FALSE;bool
  134.     14=;PrinterDoCompleteFirst;TRUE;bool
  135.     15=;UninstallName;Uninstall $(SharedPrinterName) Driver;string
  136.     16=;SharedPrinterName;$(PrinterFriendlyName);string
  137.     17=;Is Delayed Install;TRUE 
  138.     18=;HP 2000C PrinterShortName;HP 2000C
  139.     19=;ShortPrinterName;$($(Product)ShortName)      
  140.     20=;CableTested;FALSE;bool
  141.     21=;BidiEnabled;FALSE;bool
  142. ; 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.
  143.     22=;RequiredDiskSpace;30720;number 
  144.     23=;InitialInstallRequiredDiskSpace;30720;number
  145.     24=;ReinstallRequiredDiskSpace;30720;number
  146.     25=;2000CUtilitiesGroup;61;resource;$(DIVID)dr1$(PNUM).dll;FALSE
  147.     26=;TaskbarName;70;resource;$(DIVID)dr1$(PNUM).dll;FALSE
  148.  
  149. [Product Level Pre-Install]
  150.     Type=Feature
  151.     UNINSTALLABLE=Required
  152.     Symbols=Product Level Pre-Install Defaults
  153.     ReverseOrderForUninstall=FALSE
  154.     0=EnvCheckDialog
  155.     1=DisplayLicenseDialog
  156.     2=If Not Failed Product Pre-Install Installation
  157.     3=Copy Installer Base Files from EXEPATH to SPOOLDRIVERSPATH
  158.     4=$(AlertDisplayCopyFiles From EXEPATH to SPOOLDRIVERSPATH)
  159.     5=Set HPECP sys file name,optional 
  160.  
  161. [If Not Failed Product Pre-Install Installation]
  162.     UNINSTALLABLE=NOT
  163.     Type=ConditionalAction
  164.     evaluate=$(FailInstallation)==FALSE
  165.  
  166. [Set HPECP sys file name] 
  167.     Type=Feature 
  168.     0=Check And Set to hld file,optional 
  169.     1=Check And Set to sys file,optional 
  170.  
  171. [Check And Set to hld file] 
  172.     Type=Feature 
  173.     0=if delayed install 2 
  174.     1=set HPECP_sys to hld file  
  175.  
  176. [if delayed install 2] 
  177.     UNINSTALLABLE=NOT 
  178.     Type=ConditionalAction 
  179.     evaluate=$(Is Delayed Install)==TRUE 
  180.  
  181. [set HPECP_sys to hld file] 
  182.     Type=Feature 
  183.     Symbols=set HPECP_sys to hld file Symbols 
  184.  
  185. [set HPECP_sys to hld file Symbols] 
  186.     Type=Symbols 
  187.     0=;HPECP_sys;$(HPECP).hld;string;TRUE 
  188.  
  189. [Check And Set to sys file] 
  190.     Type=Feature 
  191.     0=if not delayed install 5 
  192.     1=set HPECP_sys to sys file 
  193.  
  194. [if not delayed install 5] 
  195.     UNINSTALLABLE=NOT 
  196.     Type=ConditionalAction 
  197.     evaluate=$(Is Delayed Install)==FALSE 
  198.  
  199. [set HPECP_sys to sys file] 
  200.     Type=Feature 
  201.     Symbols=set HPECP_sys to sys file Symbols 
  202.  
  203. [set HPECP_sys to sys file Symbols] 
  204.     Type=Symbols 
  205.     0=;HPECP_sys;$(IODllName).sys 
  206.  
  207. [Make Install Path]
  208. ; required section do not remove
  209.     UNINSTALLABLE=NOT
  210.     Type=DirAction
  211.     Symbols=Make Install Path Symbols
  212.     Command=Add
  213.     Dir=$(INSTALLPATH)
  214.  
  215. [Make Install Path Symbols]
  216. ; required section do not remove
  217.     Type=Symbols
  218.     0=;INSTALLPATH;$(BasePath)$(ProductKey)\;string
  219.     1=;LOG;$(INSTALLPATH)$(OWNNAME).log
  220.     2=;UNINSTALLFILE;$(INSTALLPATH)$(OWNNAME)_u.ini
  221.  
  222. [Remove Old Uninstall CfgFile]
  223.     Type=DeleteFilesAction
  224.     0=$(UNINSTALLFILE)
  225.  
  226. [Copy Installer Base Files from EXEPATH to INSTALLPATH]
  227. ;   UNINSTALLABLE=NOT
  228.     Type=CopyFilesAction
  229.     0=,$(EXEPATH)$(DIVID)ti1$(PNUM).exe,0,$(INSTALLPATH)$(DIVID)ti1$(PNUM).exe,1111,8448
  230.     1=,$(EXEPATH)$(DIVID)cnt$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)cnt$(PNUM).dll,1111,8448
  231.     2=,$(EXEPATH)$(DIVID)ti1$(PNUM).ini,0,$(INSTALLPATH)$(DIVID)ti1$(PNUM).ini,1111,8448
  232.     3=,$(EXEPATH)$(DIVID)dr1$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)dr1$(PNUM).dll,1111,8448
  233.     4=,$(EXEPATH)$(DIVID)dr2$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)dr2$(PNUM).dll,1111,8448
  234.     5=,$(EXEPATH)$(DIVID)dr3$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)dr3$(PNUM).dll,1111,8448
  235.     6=,$(EXEPATH)$(DIVID)ti7$(PNUM).dll,0,$(INSTALLPATH)$(DIVID)ti7$(PNUM).dll,1111,8448
  236.  
  237. [Copy Installer Base Files from EXEPATH to SPOOLDRIVERSPATH]
  238. ;   UNINSTALLABLE=NOT
  239.     Type=CopyFilesAction
  240.     0=,$(EXEPATH)$(DIVID)ti1$(PNUM).exe,0,$(SPOOLDRIVERSPATH)$(DIVID)ti1$(PNUM).exe,1111,8448
  241.     1=,$(EXEPATH)$(DIVID)cnt$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)cnt$(PNUM).dll,1111,8448
  242.     2=,$(EXEPATH)$(DIVID)ti1$(PNUM).ini,0,$(SPOOLDRIVERSPATH)$(DIVID)ti1$(PNUM).ini,1111,8448
  243.     3=,$(EXEPATH)$(DIVID)dr1$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)dr1$(PNUM).dll,1111,8448
  244.     4=,$(EXEPATH)$(DIVID)dr2$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)dr2$(PNUM).dll,1111,8448
  245.     5=,$(EXEPATH)$(DIVID)dr3$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)dr3$(PNUM).dll,1111,8448
  246.     6=,$(EXEPATH)$(DIVID)ti7$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)ti7$(PNUM).dll,1111,8448
  247.  
  248. ;--------------------------------------------------------------
  249.  
  250. [post-Install]
  251. ; required section do not remove
  252.     UNINSTALLABLE=OPTIONAL
  253.     ReverseOrderForUninstall=FALSE
  254.     Type=Product
  255.     0=If Not Failed Installation
  256.     1=UninstallShortcut
  257.     2=Copy Installer Base Files from EXEPATH to INSTALLPATH
  258.     3=$(AlertDisplayCopyFiles From EXEPATH to INSTALLPATH)
  259.     4=Check and Launch TaskTray,optional
  260.     5=InstallComplete
  261.  
  262. [UninstallShortcut]
  263. ; required section do not remove
  264.     Type=ModifyUIAction
  265.     IconFileName=$(INSTALLPATH)$(OWNNAME).exe
  266.     IconOffset=0
  267.     ShowCommand=NORMAL
  268.     ExeName=$(INSTALLPATH)$(OWNNAME).exe
  269.     WorkingDirectory=$(INSTALLPATH)
  270.     CmdLineParameters=-P $(Product) -I $(UNINSTALLFILE) -U -DLOG=;$(INSTALLPATH)$(OWNNAME)_u.log;string
  271.     LinkFileName=$(BasePath)$(UninstallName).lnk
  272.     ShortcutDesc=$(UninstallName)
  273.  
  274. [If Not Failed Installation]
  275.     UNINSTALLABLE=NOT
  276.     Type=ConditionalAction
  277.     evaluate=$(FailInstallation)==FALSE
  278.  
  279. [Languages]
  280.     ;list of language dlls
  281.  
  282. ;--------------------------------------------------------------
  283.  
  284. [HP 2000C Printer]
  285.     Type=Product
  286.     Symbols=HP 2000C Printer Symbols
  287.     Desc=HP 2000C Printer
  288.     0=Product Install,optional
  289.  
  290. [HP 2000C Printer Symbols]
  291.     Type=Symbols
  292.     0=;PrinterIndex;24
  293.     1=;ModelPrefix;200
  294.     2=;PrinterAttributes;0x4;hex
  295.     3=;HPCFileName;$(DIVID)$(ModelPrefix)$(PNUM).hpc 
  296.     4=;Printer Model Name;*current value* 
  297.     5=;Printer Key;$(Printer Model Name)$(ProductKey)
  298.     6=;Driver Key;$(DIVID)$(PNUM)
  299.     7=;Driver Base ID;$(DIVID)
  300.     8=;DriverDependentFiles;,$(DIVID)lrl$(PNUM).DLL,$(DIVID)try$(PNUM).exe,$(DefaultDependentFiles);multistring
  301.     9=;TaskTraySupported;TRUE;BOOL
  302.     10=;ModelShortPrefix;20;string
  303.     11=;Release Notes Link Name;51;resource;$(DIVID)dr1$(PNUM).dll;FALSE
  304.     12=;Toolbox Link Name;50;resource;$(DIVID)dr1$(PNUM).dll;FALSE
  305.  
  306. ;----------------------------------------------------------------
  307. ; this section for the debug c runtime dll which is not copied for release builds
  308. ; This is done becuase the msvcrt file was getting deleted at uninstall
  309. ; In the release build this was causing a blue-screen after msvcrt was deleted by the uninstaller
  310.  
  311. [Debug Runtime Files]
  312.     UNINSTALLABLE=NOT
  313.     Type=Feature
  314.     0=If Debug Build
  315.     1=Do Debug Runtime Files
  316.  
  317. [If Debug Build]
  318.     UNINSTALLABLE=NOT
  319.     Type=ConditionalAction
  320.     evaluate=$(DEBUGSUFFIX)==d
  321.  
  322. ; note that the nested feature is to force the debug symbol to be undefined unless debug is true
  323. [Do Debug Runtime Files]
  324.     Type=Feature
  325.     0=Copy Debug Runtime Files
  326.  
  327. [Copy Debug Runtime Files]
  328.     UNINSTALLABLE=NOT
  329.     Type=CopyFilesAction
  330.     0=,$(SOURCEPATH)msvcrtd.dll,0,$(SPOOLDRIVERSPATH),1111,8448
  331.  
  332. ;--------------------------------------------------------------
  333.  
  334. [GetCurrentPrinterFriendlyName]
  335.     Type=ExecuteAction
  336.     Wait=TRUE
  337.     UNINSTALLABLE=optional
  338.     0=;DLL;$(DIVID)PTD$(PNUM).dll;;;?GetCurrentPrinterFriendlyName@@YAHXZ
  339.  
  340. [FlagKeysInUse]
  341.     Type=ExecuteAction
  342.     Wait=TRUE
  343.     UNINSTALLABLE=REQUIRED
  344.     0=;DLL;$(DIVID)PTD$(PNUM).dll;;;?FlagKeysInUse@@YAHXZ
  345.     Symbols=FlagKeysInUse Symbols
  346.  
  347. [FlagKeysInUse Symbols]
  348.     Type=Symbols
  349.     0=;Driver Key;*current value*
  350.     1=;Printer Model Name;*current value*
  351.  
  352. ;--------------------------------------------------------------
  353.  
  354. [Product Install]
  355.     Type=Feature
  356.     0=If Not Failed Product Installation
  357.     1=Check and Set Install Type
  358.     2=If CompatibleDriverVersionID
  359.     3=Debug Runtime Files,optional
  360.     4=Driver
  361.     5=FlagKeysInUse,uninstall
  362.     6=Printer
  363.     7=GetCurrentPrinterFriendlyName,uninstall
  364.  
  365. [If Not Failed Product Installation]
  366.     UNINSTALLABLE=NOT
  367.     Type=ConditionalAction
  368.     evaluate=$(FailInstallation)==FALSE
  369.  
  370. ;--------------------------------------------------------------
  371.  
  372. [Check and Set Install Type]
  373.     Type=Feature
  374.     0=SetPortType
  375.     1=SetServerInstalledDriverVersionID
  376.     2=CheckCompatibleDriverVersionID,optional
  377.  
  378. [SetPortType]
  379.     Type=ExecuteAction
  380.     Wait=TRUE
  381.     UNINSTALLABLE=NOT
  382.     0=;DLL;$(DIVID)PTI$(PNUM).dll;?SetPortType@@YAHXZ
  383.  
  384. [SetServerInstalledDriverVersionID]
  385.     Type=ExecuteAction
  386.     Wait=TRUE
  387.     UNINSTALLABLE=NOT
  388.     0=;DLL;$(DIVID)PTI$(PNUM).dll;?SetServerInstalledDriverVersionID@@YAHXZ
  389.  
  390. [CheckCompatibleDriverVersionID]
  391.     Type=Feature
  392.     0=If NotCompatibleDriverVersionID
  393.     1=UpgradeServerDialog
  394.  
  395. [UpgradeServerDialog]
  396.     Type=DisplayAction
  397.     Wait=TRUE
  398.     ResourceDLL=$(DIVID)DR1$(PNUM).dll
  399.     DLL=$(DIVID)DA1$(PNUM).dll
  400.     StartDisplay=?StartDisplay@CUpgradeServerDialog@@SAHAAHPAVCDisplayActionThread@@@Z
  401.  
  402. [If NotCompatibleDriverVersionID]
  403.     Type=ConditionalAction
  404.     UNINSTALLABLE=NOT
  405.     evaluate=$(CompatibleDriverVersionID)==FALSE
  406.  
  407. [If CompatibleDriverVersionID]
  408.     Type=ConditionalAction
  409.     UNINSTALLABLE=NOT
  410.     evaluate=$(CompatibleDriverVersionID)==TRUE
  411.  
  412. ;--------------------------------------------------------------
  413.  
  414. [Driver]
  415.     Type=Feature
  416.     UNINSTALLABLE=optional
  417.     0=ProgramGroup,optional
  418.     1=Model Specific
  419.     2=Common
  420.     Symbols=DriverSymbols
  421.  
  422. [Common]
  423.     Type=Feature
  424.     UNINSTALLABLE=optional
  425.     0=Delete Spool Files,uninstall
  426.     1=Delete Ini Files,uninstall
  427.     2=IO Install,optional
  428.     3=DriverDeleteFiles
  429.     4=DriverFilesCopy1
  430.     5=Copy inf file for alternate driver install
  431.     6=DriverFilesCopy2 to SPOOLDRIVERSPATH
  432.     7=KernelDriverCopy
  433.     8=No Debug Files,optional
  434.     9=Copy COLA Files
  435.     10=Toolbox,optional
  436.     11=TaskTray,optional
  437.     12=Hackers Menu,optional
  438.     13=HelpSystem,optional
  439.     14=AddPrinterDriver
  440.     15=if Driver not in use,uninstall
  441.  
  442. [if Driver not in use]
  443.     Uninstallable=REQUIRED
  444.     Type=ConditionalAction
  445.     evaluate=$(Driver Key InUse)==FALSE
  446.  
  447. [DriverSymbols]
  448.     Type=Symbols
  449.     0=;ObjectId;0 
  450.     1=;SpoolDataType;RAW
  451.     2=;PortMonitorName;$(DIVID)$(LangMonVersion)$(PNUM)
  452.     3=;DriverVersion;1;number
  453.     4=;PrintProcessor;winprint
  454.     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
  455.     6=;DriverDependentFiles;,$(DefaultDependentFiles);multistring
  456.     7=;KernelModeDLL;$(DIVID)km$(PNUM).dll
  457.     8=;DataDLL;$(DIVID)stb$(PNUM).DLL
  458.     9=;ConfigDLL;$(DIVID)stb$(PNUM).dll
  459.     10=;PortMonitorDLL;$(DIVID)lpm$(PNUM).dll
  460.     11=;DriverName;$(Printer Model Name)
  461.     12=;TaskTraySupported;FALSE;BOOL
  462. ;----This language monitor version must be synchronized with STR_LM_VER in filename.h    
  463.     13=;LangMonVersion;001;string
  464.     14=;DigitalFilterEnable;0;number 
  465.     
  466. [AddPrinterDriver]
  467.     Type=ExecuteAction
  468.     Wait=TRUE
  469.     UNINSTALLABLE=REQUIRED
  470.     0=;DLL;$(DIVID)PTI$(PNUM).dll;?AddPrinterDriverW@@YAHXZ;;?DeletePrinterDriverW@@YAHXZ
  471.     Symbols=AddPrinterDriver Symbols
  472.  
  473. [AddPrinterDriver Symbols]
  474.     Type=Symbols
  475.     0=;DriverName;*current value*
  476.  
  477. ;----------------------------------------------------------------
  478.  
  479. [Printer]
  480.     UNINSTALLABLE=optional
  481.     Type=Feature
  482.     0=Check And SetupDelayedInstall,optional 
  483.     1=sleep Add Printer,uninstall
  484.     2=AddPrinter
  485.     3=SetPortType For Uninstall,uninstall
  486.     4=SetupLocalInstallPrinterData,optional
  487.     5=Check and Set Default Printer,optional
  488.     6=Check and Set CIS flags,optional
  489.     7=if Printer Key is in use,uninstall 
  490.  
  491. [SetPortType For Uninstall]
  492.     Type=ExecuteAction
  493.     UNINSTALLABLE=REQUIRED
  494.     Wait=TRUE
  495.     0=;DLL;$(DIVID)PTI$(PNUM).dll;;;?SetPortType@@YAHXZ
  496.  
  497. [Check And SetupDelayedInstall] 
  498.     Type=Feature 
  499.     UNINSTALLABLE=optional 
  500.     0=if delayed install 
  501.     1=SetupDelayedInstall  
  502.  
  503. [if delayed install] 
  504.     UNINSTALLABLE=NOT 
  505.     Type=ConditionalAction 
  506.     evaluate=$(Is Delayed Install)==TRUE 
  507.  
  508. [SetupDelayedInstall]
  509.     Type=ModifyEnvAction
  510.     Keys=:PerMachine
  511.     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)
  512.  
  513. ;----------------------------------------------------------------------------
  514.  
  515. [sleep Add Printer]
  516.     Type=ExecuteAction
  517.     Wait=TRUE
  518.     0=;DLL;$(DIVID)PTD$(PNUM).dll;;;?Sleep@@YAHXZ
  519.     Symbols=sleep Add Printer symbols
  520.  
  521. [sleep Add Printer symbols]
  522.     Type=Symbols
  523.     ; About 5 sec
  524.     0=;SleepTime;5000;number
  525.  
  526. ;----------------------------------------------------------------------------
  527.  
  528. [AddPrinter]
  529.     Type=ExecuteAction
  530.     Wait=TRUE
  531.     0=;DLL;$(DIVID)PTI$(PNUM).dll;?AddPrinterW@@YAHXZ;;?DeletePrinter@@YAHXZ
  532.  
  533. ;----------------------------------------------------------------------------
  534.  
  535. [SetupLocalInstallPrinterData]
  536.     Type=Feature
  537.     0=If Local Install
  538.     1=SetPrinterData
  539.     ;2=SetPrinterAttributes
  540.     2=if Printer Key is in use,uninstall
  541.  
  542. [If Local Install] 
  543.     Uninstallable=REQUIRED 
  544.     Type=ConditionalAction 
  545.     evaluate=$(InstallPortType)==Local 
  546.  
  547. [SetPrinterData]
  548.     Type=Feature
  549.     0=SetPerPrinterData
  550.  
  551. [SetPerPrinterData]
  552.     Type=ExecuteAction
  553.     UNINSTALL=NOT
  554.     Wait=TRUE
  555.     0=;DLL;$(DIVID)PTD$(PNUM).dll;?DoSetPrinterData@@YAHXZ
  556.     Symbols=SetPerPrinterData Symbols
  557.  
  558. [SetPerPrinterData Symbols]
  559.     Type=Symbols
  560.     0=;HPCFileName;*current value* 
  561.     1=;Printer Model Name;*current value* 
  562.     2=;Printer Key;*current value*
  563.     3=;Driver Key;*current value*
  564.     4=;Driver Base ID;*current value*
  565.  
  566. ;----------------------------------------------------------------------------
  567.  
  568. [SetPrinterAttributes]
  569.     Type=ExecuteAction
  570.     Wait=TRUE
  571.     Uninstallable=NOT
  572.     0=;DLL;$(DIVID)PTD$(PNUM).dll;?SetPrinterAttributes@@YAHXZ
  573.     Symbols=SetPrinterAttributes Symbols
  574.  
  575. [SetPrinterAttributes Symbols]
  576.     Type=Symbols
  577.     0=;PrinterDefault;*current value* 
  578.     1=;PrinterDirect;*current value*
  579.     2=;PrinterQueued;*current value* 
  580.     3=;PrinterEnableBidi;*current value* 
  581.     4=;PrinterEnableDevQ;*current value*
  582.     5=;PrinterLocal;*current value*
  583.     6=;PrinterNetwork;*current value*
  584.     7=;PrinterHidden;*current value*
  585.     8=;PrinterKeepPrintedJobs;*current value*
  586.     9=;PrinterDoCompleteFirst;*current value*
  587.     ; 10=;PrinterShared;*current value*
  588.  
  589. ;----------------------------------------------------------------------------
  590.  
  591. [Check and Set Default Printer]
  592.     Type=Feature 
  593.     UNINSTALLABLE=NOT 
  594.     0=If Default Printer Set
  595.     1=SetDefaultPrinterKey
  596.  
  597. [If Default Printer Set]
  598.     Uninstallable=Not
  599.     Type=ConditionalAction
  600.     evaluate=$(NTDefaultPrinter)==TRUE
  601.  
  602. [SetDefaultPrinterKey]
  603.     Type=ModifyEnvAction
  604.     Keys=:REG:HKEY_CURRENT_USER:Software:Microsoft:Windows NT:CurrentVersion:Windows
  605.     0=:Add:REG_SZ:Device:$(PrinterFriendlyName),winspool,$(Port)
  606.     Symbols=SetDefaultPrinterKey Symbols
  607.  
  608. [SetDefaultPrinterKey Symbols]
  609.     Type=Symbols
  610.     0=;PrinterFriendlyName;*current value*
  611.     1=;Port;*current value* 
  612.  
  613. [if Printer Key is in use]
  614.     Uninstallable=REQUIRED
  615.     Type=ConditionalAction
  616.     evaluate=$(Printer Key InUse)==TRUE
  617.  
  618. ; -----------------------------------------------------------------------------
  619.  
  620. [Check and Set CIS flags]
  621.     Type=Feature 
  622.     UNINSTALLABLE=NOT 
  623.     0=Check and Set Bidi Flag,optional
  624.     1=Check and Set DSMEnable Flag,optional
  625.  
  626. [Check and Set Bidi Flag]
  627.     Type=Feature
  628.     0=Set CIS Bidi Flag to TRUE
  629.     1=if Enable Bidirectional Communcation is FALSE
  630.     2=Set CIS Bidi Flag to FALSE
  631.  
  632. [Set CIS Bidi Flag to TRUE]
  633.     Type=ModifyEnvAction
  634.     Keys=:PerMachine
  635.     0=;Add;CIS_SZ;Bidi;0100
  636.  
  637. [if Enable Bidirectional Communcation is FALSE]
  638.     Uninstallable=Not
  639.     Type=ConditionalAction
  640.     evaluate=$(Enable Bidirectional Communcation and Enable SW ECP)==FALSE
  641.  
  642. [Set CIS Bidi Flag to FALSE]
  643.     Type=ModifyEnvAction
  644.     Keys=:PerMachine
  645.     0=;Add;CIS_SZ;Bidi;0000
  646.  
  647. [Check and Set DSMEnable Flag]
  648.     Type=Feature
  649. ;FALSE prevents toolbox from launching during print jobs)
  650.     0=Set CIS DSMEnable Flag to TRUE
  651.     1=if Launch Toolbox During a Print Job is FALSE
  652.     2=Set CIS DSMEnable Flag to FALSE
  653.  
  654. [Set CIS DSMEnable Flag to TRUE]
  655.     Type=ModifyEnvAction
  656.     Keys=:PerMachine
  657.     0=;Add;CIS_SZ;DSMEnable;0100
  658.  
  659. [if Launch Toolbox During a Print Job is FALSE]
  660.     Uninstallable=Not
  661.     Type=ConditionalAction
  662.     evaluate=$(Launch Toolbox During a Print Job and Enable Status)==FALSE
  663.  
  664. [Set CIS DSMEnable Flag to FALSE]
  665.     Type=ModifyEnvAction
  666.     Keys=:PerMachine
  667.     0=;Add;CIS_SZ;DSMEnable;0000
  668.  
  669. ;-------------------------------------------------------------------------------------------------
  670.  
  671. [SetCISPrinterData]
  672.     Type=ModifyEnvAction
  673.     Keys=;PerModelNumber;$(Printer Model Name) 
  674.     0=;Add;CIS_SZ;HPCFileName;$(HPCFileName) 
  675.     1=;Add;CIS_SZ;Printer Model Name;$(Printer Model Name)
  676.     Symbols=SetCISPrinterData Symbols
  677.  
  678. [SetCISPrinterData Symbols]
  679.     Type=Symbols
  680.     0=;HPCFileName;*current value* 
  681.     1=;Printer Model Name;*current value*
  682.  
  683. ;----------------------------------------------------------------------------
  684. [DriverDeleteFiles]
  685.     Type=DeleteFilesAction
  686.     ;file#=filename,
  687.     0=$(SPOOLDRIVERSPATH)$(DIVID)km$(PNUM).dll
  688.  
  689. [DriverFilesCopy1]
  690.     Type=CopyFilesAction
  691.     ;file#=filename,disk#,destination,size,copystyleflag
  692.     ;copy to the spool drivers directory
  693.     0=,$(SOURCEPATH)$(DIVID)24r$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)24r$(PNUM).dll,1111,8448
  694.     1=,$(SOURCEPATH)$(DIVID)cbl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)cbl$(PNUM).dll,1111,8448
  695.     2=,$(SOURCEPATH)$(DIVID)cps$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)cps$(PNUM).dll,1111,8448
  696.     3=,$(SOURCEPATH)$(DIVID)hrl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)hrl$(PNUM).dll,1111,8448
  697.     4=,$(SOURCEPATH)$(DIVID)img$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)img$(PNUM).dll,1111,8448
  698.     5=,$(SOURCEPATH)$(DIVID)mrl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)mrl$(PNUM).dll,1111,8448
  699.     6=,$(SOURCEPATH)$(DIVID)ntu$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)ntu$(PNUM).dll,1111,8448
  700.     7=,$(SOURCEPATH)$(DIVID)pcl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)pcl$(PNUM).dll,1111,8448
  701.     8=,$(SOURCEPATH)$(DIVID)rsa$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)rsa$(PNUM).dll,1111,8448
  702.     9=,$(SOURCEPATH)$(DIVID)rsu$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)rsu$(PNUM).dll,1111,8448
  703.     10=,$(SOURCEPATH)$(DIVID)srl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)srl$(PNUM).dll,1111,8448
  704.     11=,$(SOURCEPATH)$(DIVID)trl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)trl$(PNUM).dll,1111,8448
  705.     12=,$(SOURCEPATH)$(DIVID)stb$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)stb$(PNUM).dll,1111,8448
  706.     13=,$(SOURCEPATH)$(DIVID)ui$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)ui$(PNUM).dll,1111,8448
  707.  
  708. [Copy inf file for alternate driver install]
  709.     Type=CopyFilesAction
  710.     ;file#=filename,disk#,destination,size,copystyleflag
  711.     0=,$(SOURCEPATH)$(DIVID)ti1$(PNUM).inf,0,$(OSPATH)inf\$(DIVID)ti1$(PNUM).inf,1111,8448
  712.  
  713. [KernelDriverCopy]
  714.     Type=CopyFilesAction
  715.     ;file#=filename,disk#,destination,size,copystyleflag
  716.     0=,$(SOURCEPATH)$(DIVID)km$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)km$(PNUM).dll,1111,8448
  717.  
  718. [DriverFilesCopy2 to SPOOLDRIVERSPATH]
  719.     Type=CopyFilesAction
  720.     ;file#=filename,disk#,destination,size,copystyleflag
  721.     0=,$(SOURCEPATH)$(DIVID)cnt$(PNUM).dll,0,$(SPOOLDRIVERSPATH)$(DIVID)cnt$(PNUM).dll,1111,8448
  722.     1=,$(SOURCEPATH)$(DIVID)mon$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)mon$(PNUM).dll,1111,8448
  723.     2=,$(SOURCEPATH)$(DIVID)net$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)net$(PNUM).dll,1111,8448
  724.     3=,$(SOURCEPATH)$(DIVID)win$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)win$(PNUM).dll,1111,8448
  725.  
  726. [Model Specific]
  727.     Type=Feature
  728.     0=ModelFilesCopy
  729.     1=Check And SetCISPrinterData,optional     
  730.     2=if model is not in use,uninstall
  731.  
  732. [Check And SetCISPrinterData] 
  733.     Type=Feature 
  734.     0=if not delayed install 4 
  735.     1=SetCISPrinterData
  736.  
  737. [if not delayed install 4] 
  738.     UNINSTALLABLE=NOT 
  739.     Type=ConditionalAction 
  740.     evaluate=$(Is Delayed Install)==FALSE 
  741.  
  742. [if model is not in use]
  743.     Type=ConditionalAction
  744.     UNINSTALLABLE=REQUIRED
  745.     evaluate=$(Printer Model Name InUse)==FALSE
  746.  
  747. [ModelFilesCopy]
  748.     Type=CopyFilesAction
  749.     0=,$(SOURCEPATH)$(DIVID)$(ModelPrefix)$(PNUM).hpc,0,$(SPOOLDRIVERSPATH),1111,8448
  750.  
  751. ;--------------------------------------------------------------
  752.  
  753. [No Debug Files]
  754. ;    Type=Feature
  755. ; Changing this feature to a CopyFilesAction so it will copy the tst file
  756. ; to support the flight recorder (PUMP) - mlc 12/2/97
  757.     Type=CopyFilesAction
  758.     ;file#=filename,disk#,destination,size,copystyleflag
  759.     0=,$(SOURCEPATH)$(DIVID)tst$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)tst$(PNUM).dll,1111,8448
  760.  
  761. [Debug Files]
  762.     Type=CopyFilesAction
  763.     ;file#=filename,disk#,destination,size,copystyleflag
  764.     0=,$(SOURCEPATH)$(DIVID)tst$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)tst$(PNUM).dll,1111,8448
  765.  
  766. ;--------------------------------------------------------------
  767.  
  768. [Copy COLA Files]
  769.     Type=CopyFilesAction
  770.     ;UNINSTALLABLE=NOT
  771.     ;file#=filename,disk#,destination,size,copystyleflag 
  772.     ;copy to the spool drivers directory
  773.     ;to copy files only if they don't exist use copystyleflag of 4096 
  774.     0=,$(SOURCEPATH)hpcola.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpcola.bak,1111,8448 
  775.     1=,$(SOURCEPATH)hpdmip.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpdmip.bak,1111,8448 
  776.     2=,$(SOURCEPATH)hpdmipx.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpdmipx.bak,1111,8448 
  777.     3=,$(SOURCEPATH)hpnetsrv.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpnetsrv.bak,1111,8448 
  778.     4=,$(SOURCEPATH)hpnwpsrv.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpnwpsrv.bak,1111,8448 
  779.     5=,$(SOURCEPATH)hpnwshim.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpnwshim.bak,1111,8448 
  780.     6=,$(SOURCEPATH)hpobj.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpobj.bak,1111,8448
  781.     7=,$(SOURCEPATH)hpprntr.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpprntr.bak,1111,8448
  782.     8=,$(SOURCEPATH)hpprui.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpprui.bak,1111,8448
  783.     9=,$(SOURCEPATH)hpsnmp.$(BAK_EXT),1,$(SPOOLDRIVERSPATH)hpsnmp.bak,1111,8448
  784.  
  785. ;---------------------------------------------------------------------------- 
  786.  
  787.  
  788.   [IO Install]
  789.     Type=Feature
  790.     0=Check And Copy Kernel IO,optional 
  791.     1=Get IO DllName 
  792.     2=Copy HPECP for delayed install 
  793.     3=Copy Upper IO 1 to SPOOLDRIVERSPATH 
  794.     4=Copy Upper IO 2 
  795.     5=Check And Launch Kernel IO,optional 
  796.     6=sleep AddPortMonitor 
  797.     7=AddPortMonitor 
  798.     Symbols=HPECP Symbols 
  799.  
  800. [Check And Copy Kernel IO] 
  801.     Type=Feature 
  802.     UNINSTALLABLE=NOT 
  803.     0=if not delayed install 
  804.     1=Copy Kernel IO,optional 
  805.  
  806. [if not delayed install] 
  807.     UNINSTALLABLE=NOT 
  808.     Type=ConditionalAction 
  809.     evaluate=$(Is Delayed Install)==FALSE 
  810.  
  811. [Check And Launch Kernel IO] 
  812.     Type=Feature 
  813.     UNINSTALLABLE=NOT 
  814.     0=if not delayed install 2 
  815.     1=Launch Kernel IO,optional 
  816.  
  817. [if not delayed install 2] 
  818.     UNINSTALLABLE=NOT 
  819.     Type=ConditionalAction 
  820.     evaluate=$(Is Delayed Install)==FALSE 
  821.  
  822. [Copy Kernel IO]
  823.     Type=Feature
  824.     Uninstallable=Optional
  825.     ;HPECP needs install if older or equal version is on system or not present
  826.     0=Does HPECP Need Install
  827.     1=Stop HPECP
  828.     2=Delete HPECP
  829.     3=Copy HPECP
  830.     4=HPECP Registry Setup
  831.     Symbols=HPECP Symbols
  832.  
  833. [sleep Kernel IO]
  834.     Type=ExecuteAction
  835.     Wait=TRUE
  836.     UNINSTALLABLE=NOT
  837.     0=;DLL;$(DIVID)PTD$(PNUM).dll;?Sleep@@YAHXZ
  838.     Symbols=sleep Kernel IO symbols
  839.  
  840. [sleep Kernel IO symbols]
  841.     Type=Symbols
  842.     ; About 5 sec
  843.     0=;SleepTime;5000;number
  844.  
  845. [Launch Kernel IO]
  846.     Type=Feature
  847.     Uninstallable=Optional
  848.     ;Launch Kerenl IO for 1284, Kernel Filters, USB and 1394.
  849.     0=sleep Kernel IO
  850.     1=Start HPECP
  851.     Symbols=HPECP Symbols
  852.  
  853. [HPECP Symbols]
  854.     Type=Symbols
  855.     0=;HPECPVERSION;1
  856.     1=;HPECP;$(DIVID)ECP$(PNUM)
  857.     2=;NECIOName;$(DIVID)P98$(PNUM)
  858.     3=;HPIOName;$(DIVID)ECP$(PNUM)
  859.  
  860. ;--------------------------------------------------------------
  861.  
  862. [Does HPECP Need Install]
  863.     Type=ExecuteAction
  864.     Wait=TRUE
  865.     0=;DLL;$(DIVID)IOI$(PNUM).dll;?DoesHPECPNeedInstall@@YAHXZ
  866.  
  867. [Stop HPECP]
  868.     Type=ExecuteAction
  869.     Wait=TRUE
  870.     0=;DLL;$(DIVID)IOI$(PNUM).dll;?StopHPECP@@YAHXZ
  871.  
  872. [Start HPECP]
  873.     Type=ExecuteAction
  874.     Wait=TRUE
  875.     0=;DLL;$(DIVID)IOI$(PNUM).dll;?StartHPECP@@YAHXZ;;?StopHPECP@@YAHXZ
  876.  
  877. [Delete HPECP]
  878.     Type=DeleteFilesAction
  879.     0=$(DRIVERSPATH)$(HPECP).sys
  880.  
  881. [Get IO DllName]
  882.     Type=ExecuteAction
  883.     Wait=TRUE
  884.     0=;DLL;$(DIVID)IOI$(PNUM).dll;?SetupIOInstallName@@YAHXZ
  885.  
  886. [Copy HPECP for delayed install] 
  887.     Type=CopyFilesAction 
  888.     0=,$(SOURCEPATH)$(IODllName).sys,0,$(DRIVERSPATH)$(HPECP_sys),1111,8448,TRUE 
  889.  
  890. [Copy HPECP]
  891.     Type=CopyFilesAction
  892.     0=,$(DRIVERSPATH)$(HPECP_sys),0,$(DRIVERSPATH)$(HPECP).sys,1111,8448,TRUE 
  893.  
  894. [Copy Upper IO 1 to SPOOLDRIVERSPATH]
  895.     Type=CopyFilesAction
  896.     0=,$(SOURCEPATH)$(DIVID)com$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)com$(PNUM).dll,1111,8448
  897.     1=,$(SOURCEPATH)$(DIVID)mem$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)mem$(PNUM).dll,1111,8448
  898.     2=,$(SOURCEPATH)$(DIVID)mlc$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)mlc$(PNUM).dll,1111,8448
  899.     3=,$(SOURCEPATH)$(DIVID)pml$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)pml$(PNUM).dll,1111,8448
  900.  
  901. [Copy Upper IO 2]
  902.     Type=CopyFilesAction
  903.     0=,$(SOURCEPATH)$(DIVID)iop$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)iop$(PNUM).dll,1111,8448
  904.     1=,$(SOURCEPATH)$(DIVID)hid$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)hid$(PNUM).exe,1111,8448
  905.     2=,$(SOURCEPATH)$(DIVID)lpm$(PNUM).$(DLL_EXT),0,$(DLLPATH)$(DIVID)lpm$(PNUM).dll,1111,8448
  906.     3=,$(SOURCEPATH)$(DIVID)lpm$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)lpm$(PNUM).dll,1111,8448
  907.  
  908. [HPECP Registry Setup]
  909.     Type=Feature
  910.     0=HPECP Device Setup 1
  911.     1=HPECP Device Setup 2
  912.     2=HPECP Device Setup 3
  913.     3=HPECP Device Setup 4
  914.     4=HPECP Legacy Setup 1
  915.     5=HPECP Legacy Setup 2
  916.     6=HPECP IO Enable
  917.  
  918. [HPECP Device Setup 1]
  919.     Type=ModifyEnvAction
  920.     UNINSTALLABLE=NOT
  921.     Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Services:$(HPECP)
  922.     ; For now remove the DependOnGroup because of some incompaitibilites with
  923.     ; the Iomega Zip Drives.  They will fix this eventually, but for now keep
  924.     ; it hidden.
  925.     ;0=:Add:REG_MULTI_SZ:DependOnGroup:Parallel arbitrator
  926.     0=:Add:REG_MULTI_SZ:DependOnService:Parport
  927.     1=:Add:REG_DWORD:ErrorControl:0
  928.     2=:Add:REG_SZ:Group:Extended base
  929.     3=:Add:REG_DWORD:Start:2
  930.     4=:Add:REG_DWORD:Tag:2
  931.     5=:Add:REG_DWORD:Type:1
  932.  
  933. [HPECP Device Setup 2]
  934.     Type=ModifyEnvAction
  935.     UNINSTALLABLE=NOT
  936.     Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Services:$(HPECP):Enum
  937.     0=:Add:REG_SZ:0:Root\LEGACY_$(HPECP)\0000
  938.     1=:Add:REG_DWORD:Count:1
  939.     2=:Add:REG_DWORD:NextInstance:1
  940.  
  941. [HPECP Device Setup 3]
  942.     Type=ModifyEnvAction
  943.     Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Services:$(HPECP):Parameters
  944.     ;just set the key no real entry/values at install time
  945.     ;NOTES:  1=NIBBLE 2=SWECP 3=HWECP 4=ECP_FRAME
  946.     0=:Add:REG_DWORD:MaxInputMode:1
  947.     ;NOTES:  1=LPT 2=SWECP 3=HWECP 4=ECP_FRAME
  948.     1=:Add:REG_DWORD:MaxOutputMode:3
  949.     2=:Add:REG_DWORD:PortLockMode:2
  950.     3=:Add:REG_DWORD:PortAllocMode:1
  951.     ; Used for Debugging
  952.     ;4=:Add:REG_DWORD:911:40
  953.  
  954. [HPECP Device Setup 4]
  955.     Type=ModifyEnvAction
  956.     Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Services:$(HPECP)
  957.     ;just set the key no real entry/values at install time
  958.     0=:Add:REG_SZ:Version:$(HPECPVERSION)
  959.  
  960. [HPECP Legacy Setup 1]
  961.     Type=ModifyEnvAction
  962.     Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Enum:Root:LEGACY_$(HPECP)
  963.     0=:Add:REG_DWORD:NextInstance:1
  964.  
  965. [HPECP Legacy Setup 2]
  966.     Type=ModifyEnvAction
  967.     Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Enum:Root:LEGACY_$(HPECP):0000
  968.     0=:Add:REG_SZ:BaseDevicePath:HTREE\ROOT\0
  969.     1=:Add:REG_SZ:Class:Unknown
  970.     ;Note this needs to be read from the Parallel incarnate... not hardcoded
  971.     2=:Add:REG_SZ:ClassGUID:{4D36E97E-E325-11CE-BFC1-08002BE10318}
  972.     3=:Add:REG_SZ:DeviceDesc:Parallel Device
  973.     4=:Add:REG_DWORD:FoundAtEnum:1
  974.     5=:Add:REG_DWORD:Problem:0
  975.     6=:Add:REG_SZ:Service:$(HPECP)
  976.     7=:Add:REG_DWORD:StatusFlags:8
  977.  
  978. [HPECP IO Enable] 
  979.     Type=ModifyEnvAction 
  980.     Keys=:REG:HKEY_LOCAL_MACHINE:SYSTEM:CurrentControlSet:Control:Print:Monitors:$(PortMonitorName) 
  981.     ;just set the key no real entry/values presence triggers VCOMM to use HPECP 
  982.     0=:Add:REG_SZ:$(HPECP):InUse 
  983.     1=:Add:REG_DWORD:DigitalFilterEnable:$(DigitalFilterEnable) 
  984.     2=:Add:REG_DWORD:CurrentBidiMode:1 
  985.  
  986. [sleep AddPortMonitor]
  987.     Type=ExecuteAction
  988.     Wait=TRUE
  989.     UNINSTALLABLE=NOT
  990.     0=;DLL;$(DIVID)PTD$(PNUM).dll;?Sleep@@YAHXZ
  991.     Symbols=sleep AddPortMonitor symbols
  992.  
  993. [sleep AddPortMonitor symbols]
  994.     Type=Symbols
  995.     ; About 15 sec
  996.     0=;SleepTime;15000;number
  997.  
  998. [AddPortMonitor]
  999.     Type=ExecuteAction
  1000.     Wait=TRUE
  1001.     0=;DLL;$(DIVID)IOI$(PNUM).dll;?AddPortMonitor@@YAHXZ;;?DeletePortMonitor@@YAHXZ
  1002.     Symbols=AddPortMonitor Symbols
  1003.  
  1004. [AddPortMonitor Symbols]
  1005.     Type=Symbols
  1006.     0=;PortMonitorName;*current value*
  1007.  
  1008. ;-------------------------------Files to be deleted during uninstall
  1009. ;  These files are copied to the \2 directory by the OS during the Add Printer Driver call. 
  1010.  
  1011. [Delete Spool Files]
  1012.     Type=DeleteFilesAction
  1013.     0=$(SPOOLDRIVERSPATH2)$(DIVID)$(ModelPrefix)$(PNUM).hpc
  1014.     1=$(SPOOLDRIVERSPATH2)$(DIVID)20d$(PNUM).hlp
  1015.     2=$(SPOOLDRIVERSPATH2)$(DIVID)20h$(PNUM).hlp
  1016.     3=$(SPOOLDRIVERSPATH2)$(DIVID)20r$(PNUM).hlp
  1017.     4=$(SPOOLDRIVERSPATH2)$(DIVID)20t$(PNUM).hlp
  1018.     5=$(SPOOLDRIVERSPATH2)$(DIVID)20x$(PNUM).hlp
  1019.     6=$(SPOOLDRIVERSPATH2)$(DIVID)20x$(PNUM).cnt
  1020.     7=$(SPOOLDRIVERSPATH2)$(DIVID)24r$(PNUM).dll
  1021.     8=$(SPOOLDRIVERSPATH2)$(DIVID)cbl$(PNUM).dll
  1022.     9=$(SPOOLDRIVERSPATH2)$(DIVID)cfg$(PNUM).exe
  1023.     10=$(SPOOLDRIVERSPATH2)$(DIVID)cfg$(PNUM).hlp
  1024.     11=$(SPOOLDRIVERSPATH2)$(DIVID)cnt$(PNUM).dll
  1025.     12=$(SPOOLDRIVERSPATH2)$(DIVID)com$(PNUM).dll
  1026.     13=$(SPOOLDRIVERSPATH2)$(DIVID)cps$(PNUM).dll
  1027.     14=$(SPOOLDRIVERSPATH2)$(DIVID)hid$(PNUM).exe
  1028.     15=$(SPOOLDRIVERSPATH2)$(DIVID)hrl$(PNUM).dll
  1029.     16=$(SPOOLDRIVERSPATH2)$(DIVID)img$(PNUM).dll
  1030.     17=$(SPOOLDRIVERSPATH2)$(DIVID)km$(PNUM).dll
  1031.     18=$(SPOOLDRIVERSPATH2)$(DIVID)lnk$(PNUM).exe
  1032.     19=$(SPOOLDRIVERSPATH2)$(DIVID)lnk$(PNUM).ini
  1033.     20=$(SPOOLDRIVERSPATH2)$(DIVID)lrl$(PNUM).dll
  1034.     21=$(SPOOLDRIVERSPATH2)$(DIVID)mem$(PNUM).dll
  1035.     22=$(SPOOLDRIVERSPATH2)$(DIVID)mlc$(PNUM).dll
  1036.     23=$(SPOOLDRIVERSPATH2)$(DIVID)mon$(PNUM).dll
  1037.     24=$(SPOOLDRIVERSPATH2)$(DIVID)mrl$(PNUM).dll
  1038.     25=$(SPOOLDRIVERSPATH2)$(DIVID)net$(PNUM).dll
  1039.     26=$(SPOOLDRIVERSPATH2)$(DIVID)ntu$(PNUM).dll
  1040.     27=$(SPOOLDRIVERSPATH2)$(DIVID)pcl$(PNUM).dll
  1041.     28=$(SPOOLDRIVERSPATH2)$(DIVID)pml$(PNUM).dll
  1042.     29=$(SPOOLDRIVERSPATH2)$(DIVID)rsa$(PNUM).dll
  1043.     30=$(SPOOLDRIVERSPATH2)$(DIVID)rsu$(PNUM).dll
  1044.     31=$(SPOOLDRIVERSPATH2)$(DIVID)srl$(PNUM).dll
  1045.     32=$(SPOOLDRIVERSPATH2)$(DIVID)stb$(PNUM).dll
  1046.     33=$(SPOOLDRIVERSPATH2)$(DIVID)tbx$(PNUM).exe
  1047.     34=$(SPOOLDRIVERSPATH2)$(DIVID)trl$(PNUM).dll
  1048.     35=$(SPOOLDRIVERSPATH2)$(DIVID)try$(PNUM).exe
  1049.     36=$(SPOOLDRIVERSPATH2)$(DIVID)tst$(PNUM).dll
  1050.     37=$(SPOOLDRIVERSPATH2)$(DIVID)ui$(PNUM).dll
  1051.     38=$(SPOOLDRIVERSPATH2)$(DIVID)win$(PNUM).dll
  1052.  
  1053. [Delete Ini Files]
  1054.     Type=DeleteFilesAction
  1055.     0=$(OSPATH)$(DIVID)css$(PNUM).ini
  1056.     1=$(OSPATH)$(DIVID)tbx$(PNUM).ini
  1057.  
  1058. ;-----------------------------------------------------Program Group            
  1059.  
  1060. [ProgramGroup]
  1061.     Type=Product
  1062.     0=if Create Utilities Group and Icons is TRUE 3
  1063.     1=Create Utilities Group,optional
  1064.     2=if Driver not in use2,uninstall
  1065.  
  1066. [if Create Utilities Group and Icons is TRUE 3]
  1067.     UNINSTALLABLE=NOT
  1068.     Type=ConditionalAction
  1069.     evaluate=$(Create Utilities Group and Shortcut Icons)==TRUE
  1070.  
  1071. [Create Utilities Group]
  1072.     Uninstallable=optional
  1073.     Type=DirAction
  1074.     Command=Add
  1075.     Dir=$(ProgramsPath)$(2000CUtilitiesGroup)
  1076.  
  1077. [if Driver not in use2]
  1078.     Uninstallable=REQUIRED
  1079.     Type=ConditionalAction
  1080.     evaluate=$(Driver Key InUse)==FALSE
  1081.  
  1082. ;-----------------------------------------------------Help System
  1083.  
  1084. [HelpSystem]
  1085.     Type=Product
  1086.     0=CopyHelpFiles
  1087.     1=if Create Utilities Group and Icons is TRUE 2
  1088.     2=CreateHelpIcon,optional
  1089.  
  1090. [if Create Utilities Group and Icons is TRUE 2]
  1091.     UNINSTALLABLE=NOT
  1092.     Type=ConditionalAction
  1093.     evaluate=$(Create Utilities Group and Shortcut Icons)==TRUE
  1094.  
  1095. [CopyHelpFiles]
  1096.     Type=CopyFilesAction
  1097.     0=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)r$(PNUM).hlp,1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)r$(PNUM).hlp,1111,8448
  1098.     1=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)d$(PNUM).$(HLP_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)d$(PNUM).hlp,1111,8448
  1099.     2=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)h$(PNUM).$(HLP_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)h$(PNUM).hlp,1111,8448
  1100.     3=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)t$(PNUM).$(HLP_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)t$(PNUM).hlp,1111,8448
  1101.     4=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)x$(PNUM).$(HLP_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)x$(PNUM).hlp,1111,8448
  1102.     5=,$(SOURCEPATH)$(DIVID)$(ModelShortPrefix)x$(PNUM).$(CNT_EXT),1,$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)x$(PNUM).cnt,1111,8448
  1103.     6=,$(SOURCEPATH)$(DIVID)rel$(PNUM).ico,1,$(SPOOLDRIVERSPATH),1111,8448    
  1104.  
  1105. [CreateHelpIcon]
  1106.     Type=ModifyUIAction
  1107.     IconFileName=$(SPOOLDRIVERSPATH)$(DIVID)rel$(PNUM).ico
  1108.     IconOffset=0
  1109.     ShowCommand=NORMAL
  1110.     ExeName=$(WINHELPEXE) 
  1111.     WorkingDirectory=$(SPOOLDRIVERSPATH)
  1112.     CmdLineParameters=$(SPOOLDRIVERSPATH)$(DIVID)$(ModelShortPrefix)r$(PNUM).hlp
  1113.     LinkFileName=$(ProgramsPath)$(2000CUtilitiesGroup)\$(Release Notes Link Name).lnk
  1114.     ShortcutDesc=$(Release Notes Link Name)    
  1115.  
  1116. ;----------------------------------------------------Display Actions
  1117.  
  1118. ;[DisplayBackgroundWindow]
  1119. ;    Type=DisplayAction
  1120. ;    Wait=FALSE
  1121. ;    ResourceDLL=$(DIVID)DR1$(PNUM).dll
  1122. ;    DLL=$(DIVID)DA1$(PNUM).dll
  1123. ;    StartDisplay=?StartDisplay@CBackgroundWnd@@SAHAAHPAVCDisplayActionThread@@@Z
  1124. ;    UninstallStartDisplay=?StartDisplay@CBackgroundWnd@@SAHAAHPAVCDisplayActionThread@@@Z
  1125. ;    UninstallCopyFileSection=DA1CopyFilesSection
  1126.  
  1127. [DA1CopyFilesSection]
  1128.     Type=CopyFilesAction
  1129.     0=,$(SOURCEPATH)$(DIVID)DR1$(PNUM).dll,1,$(INSTALLPATH)$(DIVID)DR1$(PNUM).DLL,1111,8448
  1130.     1=,$(SOURCEPATH)$(DIVID)DR3$(PNUM).dll,1,$(INSTALLPATH)$(DIVID)DR3$(PNUM).DLL,1111,8448
  1131.  
  1132. [EnvCheckDialog]
  1133.     Type=DisplayAction
  1134.     Wait=TRUE
  1135.     ResourceDLL=$(DIVID)DR2$(PNUM).dll
  1136.     DLL=$(DIVID)DA2$(PNUM).dll
  1137.     StartDisplay=?StartDisplay@CEnvCheck@@SAHAAHPAVCDisplayActionThread@@@Z
  1138.  
  1139. [DisplayLicenseDialog]
  1140.     Type=DisplayAction
  1141.     Wait=TRUE
  1142.     ResourceDLL=$(DIVID)DR1$(PNUM).dll
  1143.     DLL=$(DIVID)DA1$(PNUM).dll
  1144.     StartDisplay=?StartDisplay@CLicenseDialog@@SAHAAHPAVCDisplayActionThread@@@Z
  1145.     UninstallStartDisplay=?StartDisplay@CUninstAreYouSure@@SAHAAHPAVCDisplayActionThread@@@Z
  1146.     UninstallCopyFileSection=DA1CopyFilesSection
  1147.  
  1148. [InstallComplete]
  1149.     Type=Feature
  1150.     0=InstallCompleteDialog
  1151.  
  1152. [InstallCompleteDialog]
  1153.     Type=DisplayAction
  1154.     Wait=TRUE
  1155.     ResourceDLL=$(DIVID)DR1$(PNUM).dll
  1156.     DLL=$(DIVID)DA1$(PNUM).dll
  1157.     StartDisplay=?StartDisplay@CInstallCompleteDialog@@SAHAAHPAVCDisplayActionThread@@@Z
  1158.     UninstallStartDisplay=?StartDisplay@CUninstallCompleteDialog@@SAHAAHPAVCDisplayActionThread@@@Z
  1159.     UninstallCopyFileSection=DA1CopyFilesSection
  1160.  
  1161. ;---------------------------------------Task Tray Install -----------------------
  1162.  
  1163. [TaskTray]
  1164.     Type=Feature
  1165.     0=if tasktray is supported
  1166.     1=TaskTray Files to SPOOLDRIVERSPATH
  1167.     2=if Launch Tasktray Icon on Startup is TRUE 
  1168.     3=TaskTray Shortcut
  1169.     4=if Driver not in use3,uninstall
  1170.  
  1171. [if tasktray is supported]
  1172.     UNINSTALLABLE=NOT
  1173.     Type=ConditionalAction
  1174.     evaluate=$(TaskTraySupported)==TRUE
  1175.  
  1176. [TaskTray Files to SPOOLDRIVERSPATH]
  1177.     Type=CopyFilesAction
  1178.     0=,$(SOURCEPATH)$(DIVID)try$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)try$(PNUM).exe,1111,8448
  1179.     1=,$(SOURCEPATH)$(DIVID)lrl$(PNUM).$(DLL_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)lrl$(PNUM).dll,1111,8448
  1180.  
  1181. [if Launch Tasktray Icon on Startup is TRUE]
  1182.     UNINSTALLABLE=NOT
  1183.     Type=ConditionalAction
  1184.     evaluate=$(Launch Tasktray Icon on Startup)==TRUE
  1185.  
  1186. [TaskTray Shortcut]
  1187.     Type=ModifyUIAction
  1188.     IconFileName=$(SPOOLDRIVERSPATH)$(DIVID)try$(PNUM).exe
  1189.     IconOffset=0
  1190.     ShowCommand=NORMAL
  1191.     ExeName=$(SPOOLDRIVERSPATH)$(DIVID)try$(PNUM).exe
  1192.     WorkingDirectory=$(SPOOLDRIVERSPATH)
  1193.     CmdLineParameters=-n$(PrinterIndex)
  1194.     LinkFileName=$(STARTUPPATH)$(TaskbarName).lnk
  1195.     ShortcutDesc=$(TaskbarName)
  1196.  
  1197. [if Driver not in use3]
  1198.     Uninstallable=REQUIRED
  1199.     Type=ConditionalAction
  1200.     evaluate=$(Driver Key InUse)==FALSE
  1201.  
  1202. [Check and Launch TaskTray]
  1203.     Type=Feature
  1204.     0=if Launch Tasktray Icon on Startup is TRUE 2
  1205.     1=TaskTray Launch,optional
  1206.  
  1207. [if Launch Tasktray Icon on Startup is TRUE 2]
  1208.     UNINSTALLABLE=NOT
  1209.     Type=ConditionalAction
  1210.     evaluate=$(Launch Tasktray Icon on Startup)==TRUE
  1211.  
  1212. [TaskTray Launch]
  1213.     Type=ExecuteAction
  1214.     Wait=FALSE
  1215.     0=;PGM;$(SPOOLDRIVERSPATH)$(DIVID)try$(PNUM).exe -n$(PrinterIndex);$(SPOOLDRIVERSPATH)
  1216.  
  1217. ;---------------------------------------Toolbox Install -----------------------
  1218. [Toolbox]
  1219.     Type=Feature
  1220.     Uninstallable=Optional
  1221.     0=Toolbox Install,optional
  1222.     1=Link Manager Files to SPOOLDRIVERSPATH
  1223.     2=Toolbox Files to SPOOLDRIVERSPATH
  1224.  
  1225. [Toolbox Install]
  1226.     Type=Feature
  1227.     0=if Create Utilities Group and Icons is TRUE
  1228.     1=Toolbox Utilities Group Shortcut,optional
  1229.  
  1230. [if Create Utilities Group and Icons is TRUE]
  1231.     UNINSTALLABLE=NOT
  1232.     Type=ConditionalAction
  1233.     evaluate=$(Create Utilities Group and Shortcut Icons)==TRUE
  1234.  
  1235. [Link Manager Files to SPOOLDRIVERSPATH]
  1236.     Type=CopyFilesAction
  1237.     0=,$(SOURCEPATH)$(DIVID)lnk$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)lnk$(PNUM).exe,1111,8448
  1238.     1=,$(SOURCEPATH)$(DIVID)lnk$(PNUM).$(INI_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)lnk$(PNUM).ini,1111,8448
  1239.  
  1240. [Toolbox Files to SPOOLDRIVERSPATH]
  1241.     Type=CopyFilesAction
  1242.     0=,$(SOURCEPATH)$(DIVID)tbx$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)tbx$(PNUM).exe,1111,8448
  1243.     1=,$(SOURCEPATH)$(DIVID)trl$(PNUM).$(AVI_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)trl$(PNUM).avi,1111,8448
  1244.  
  1245. ;[Toolbox DeskTop Shortcut]
  1246. ;    Type=ModifyUIAction
  1247. ;    IconFileName=$(DLLPATH)$(DIVID)tbx$(PNUM).exe
  1248. ;    IconOffset=0
  1249. ;    ShowCommand=NORMAL
  1250. ;    ExeName=$(DLLPATH)$(DIVID)tbx$(PNUM).exe
  1251. ;    ;use default WorkingDirectory=
  1252. ;    CmdLineParameters=-n$(PrinterIndex)
  1253. ;    LinkFileName=$(DESKTOPPATH)$(Toolbox Link Name).lnk
  1254. ;    ShortcutDesc=$(Toolbox Link Name)
  1255.  
  1256. [Toolbox Utilities Group Shortcut]
  1257.     Type=ModifyUIAction
  1258.     IconFileName=$(SPOOLDRIVERSPATH)$(DIVID)tbx$(PNUM).exe
  1259.     IconOffset=0
  1260.     ShowCommand=NORMAL
  1261.     ExeName=$(SPOOLDRIVERSPATH)$(DIVID)tbx$(PNUM).exe
  1262.     ;use default WorkingDirectory=
  1263.     CmdLineParameters=-n$(PrinterIndex)
  1264.     LinkFileName=$(ProgramsPath)$(2000CUtilitiesGroup)\$(Toolbox Link Name).lnk
  1265.     ShortcutDesc=$(Toolbox Link Name)    
  1266.  
  1267. ;----------------------------------------------------Config Tool    
  1268.  
  1269. [Hackers Menu]
  1270.     Type=Feature
  1271.     0=Hackers Menu Files to SPOOLDRIVERSPATH
  1272.  
  1273. [Hackers Menu Files to SPOOLDRIVERSPATH]
  1274.     Type=CopyFilesAction
  1275.     0=,$(SOURCEPATH)$(DIVID)cfg$(PNUM).$(EXE_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)cfg$(PNUM).exe,1111,8448
  1276.     1=,$(SOURCEPATH)$(DIVID)cfg$(PNUM).$(HLP_EXT),0,$(SPOOLDRIVERSPATH)$(DIVID)cfg$(PNUM).hlp,1111,8448
  1277.  
  1278. ;-----------------------------------------Delayed Install
  1279.  
  1280. [Delayed Install] 
  1281.     Type=Feature 
  1282.     0=Delayed PreInstall 
  1283.     1=Product Setup 
  1284.     2=set HPECP_sys to hld file 
  1285.     3=Delayed IO Install 
  1286.     4=Delayed Printer Data 
  1287.     Symbols=Delayed Install Symbols 
  1288.  
  1289. [Delayed PreInstall] 
  1290.     Type=Feature
  1291.     Symbols=Product Level Pre-Install Defaults
  1292.  
  1293. [Product Setup] 
  1294.     Type=Feature 
  1295.     Symbols=$(Product) Symbols 
  1296.     0=Driver Setup
  1297.  
  1298. [Delayed IO Install] 
  1299.     Type=Feature 
  1300.     0=Copy Kernel IO,optional 
  1301.     1=Launch Kernel IO,optional 
  1302.     2=Delete Trigger File 
  1303.  
  1304. [Delayed Printer Data] 
  1305.     Type=Feature 
  1306.     Symbols=Configurable Install Symbols
  1307. ; Uncomment the first two lines (and renumber section) to produce an install log for the delayed installation
  1308. ;    0=Make Base Install Path
  1309. ;    1=Make Install Path
  1310.     0=SetCISPrinterData,optional  
  1311.  
  1312. [Delayed Install Symbols] 
  1313.     Type=Symbols 
  1314.     0=;Is Delayed Install;TRUE 
  1315.  
  1316. [Delete Trigger File] 
  1317.     Type=DeleteFilesAction 
  1318.     0=$(DRIVERSPATH)$(HPECP_sys) 
  1319.  
  1320. [Driver Setup] 
  1321.     Type=Feature 
  1322.     Symbols=DriverSymbols
  1323.  
  1324. ;-----------------------------------------End of Delayed Install Section
  1325.