hi

i m developing raster printer mini-driver using unitool and language monitor for win 95/98/NT/2000.
i m facing a problem in installing this minidriver on windows NT. the printers for which we are developing drivers are bi-directional. we are using language monitor in our driver. in the inf file we are mentioning the "LanguageMonitor"="Name, DLL" directive in the
installation section and adding the file name in
the "CopyFiles" directive in the same section as per the windows DDK. but its not working and unable to install the
driver.i m getting error "unable to install WindowsNT x386 driver".
but its working in other OS's(windows 95,98,2000).we have gone through many inf files of standard companies printer divers. we tried it through "AddReg" directive. but unable
to do so. i m not clear about how to use "AddReg"
directive.

Please help us . here i m giving the model of inf file used.
regards
Veerendra Gowd
--------------------INF FILE----------------

[Version]
Signature="$Windows NT$"
Provider=%COM%
LayoutFile=Oemsetupr.inf
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer


; Manufacturer Sections
;
; This section lists all of the manufacturers that we

will
; display in the Dialog box.
;

[Manufacturer]
"COM"

; Model section

[COM]
"COM K66" = COM.DLL

;[INST_DRVR]


[COM.DLL.NT]
[email protected],RASDD_NT,@COMK66LM.dll
DataSection=RASDD_DATA_NT
DataFile=COM.DLL
LanguageMonitor="COM LM,COMK66LM.dll"
;AddReg=Reg_Files


;[Reg_Files]
;HKLM,%SubKey%,Monitor,,COMK66LM.DLL


; Copy Sections


[FINSTALL]
FINSTALL.DLL
FINSTALL.HLP

[UNI]
UNIDRV.DLL
UNIDRV.HLP
ICONLIB.DLL


[RASDD_NT]
.\RASDDUI.HLP
.\RASDD.DLL
.\RASDDUI.DLL


; Data Sections


;[COMK66LM_FILES]
;COMK66LM.DLL

[RASDD_DATA_NT]
DriverFile=RASDD.DLL
ConfigFile=RASDDUI.DLL
HelpFile=RASDDUI.HLP


[UNI_DATA]
HelpFile=UNIDRV.HLP
DefaultDataType=EMF


; Call SetupSetDirectoryId with 66000 to set the target

directory at runtime
; (depending on which environment drivers are getting

installed)


[DestinationDirs]
DefaultDestDir=66000
COMK66LM_FILES=11

[Strings]
MS="Microsoft"
;SubKey="SYSTEM\CurrentControlSet\Control\Print\En vironm

ents\Windows NT x86\Drivers\Version-2\COM K66"