;---------------------------------------------------------------
; Novell Client for NT 5.0
; Novell Network Client
;
; VeRsIoN=v4.70 Novell Client Install - Client INF
; (c) Copyright 1997, by Novell, Inc. All rights reserved.
;
;---------------------------------------------------------------
[version]
signature="$Windows NT$"
DriverVer=12/02/99

; NetClient
Class = NetService
ClassGUID={4D36E974-E325-11CE-BFC1-08002BE10318}

Provider=%V_NOVELL%
;LayoutFile=nwlayout.inf

[Manufacturer]
%V_NOVELL%=NOVELL

[NOVELL]
%NDPS_Desc%             = NDPS.ndi,   NW_NDPS

[NDPS.ndi]
AddReg                  = NDPS.ndi.AddReg, NDPS.AddReg
CopyFiles               = system.fl, sys.nls.fl, sys.nls_lang.fl
Characteristics         = 0x20080 ;Has UI, Fixed Binding
DelReg = DelOldRegSettings.delreg

[NDPS.ndi.AddReg]
HKR, "Ndi",              "ClsID",,           "{A485FBA9-8126-425f-AAC9-C109432AC885}"
HKR, "Ndi",              "ComponentDll",,    "NWSETUP.DLL"
;HKR, "Ndi",              "Service",,         "NDPS"
HKR, "Ndi",              "HelpText",,        "%NDPS_HELP%"
HKR, "Ndi\Interfaces",   "UpperRange",,      "noupper"
HKR, "Ndi\Interfaces",   "LowerRange",,      "nolower"
HKR, Ndi, RequiredAll, 0, "NW_NWFS"


[NDPS.ndi.Remove]
DelFiles=system.fl, sys.nls.fl, sys.nls_lang.fl
DelReg=NDPS.Delreg

[DelOldRegSettings.delreg]
HKLM,"Software\Novell\NDPS\CurrentVersion","MajorInternalVersion"
HKLM,"Software\Novell\NDPS\CurrentVersion","MinorInternalVersion"

;---------------------------------------------------------------
;       Install/Remove the client services
;---------------------------------------------------------------
;[NDPS.ndi.Services]
;AddService=     NDPS,,NDPS.AddService, NDPS.AddEventLog

;[NDPS.ndi.Remove.Services]
;DelService=     NDPS

;---------------------------------------------------------------
; Add each client service
;---------------------------------------------------------------

;[NDPS.AddService]
;DisplayName = %ProductNDPSDisplayName%
;ServiceType = 1
;StartType = 2
;ErrorControl = 1
;ServiceBinary = %11%\tsamain.exe
;AddReg = NDPS.AddReg

;[NDPS.AddEventLog]
;AddReg=NDPS.AddEventLog.reg

;[NDPS.AddEventLog.reg]
;HKR,,EventMessageFile,0x20000,"%%SystemRoot%%\system32\nls\%LANG%\nwevents.dll"
;HKR,,TypesSupported,0x10001,7

;
; Add Registry sections
;

[NDPS.AddReg]
HKLM,"SOFTWARE\Novell\NDPS\CurrentVersion","MajorVersion",0x10001,4
HKLM,"SOFTWARE\Novell\NDPS\CurrentVersion","MinorVersion",0x10001,70
HKLM,"SOFTWARE\Novell\NDPS\CurrentVersion","Title",,%ProductNDPSDisplayName%
HKLM,"SOFTWARE\Novell\NDPS\CurrentVersion","Description",,%NDPS_Desc%

HKLM,"System\CurrentControlSet\Control\Print\Providers\Novell Distributed Print Services",Name,,"ndppnt.dll"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run",NDPS,,"%11%\dpmw32.exe"

HKCR,Clsid\{04c23aa0-3d34-11d2-b788-008029605ac7},,,"NDPS Shell Extension"
HKCR,Clsid\{04c23aa0-3d34-11d2-b788-008029605ac7}\InprocServer32,,,"ndpsprop.dll"
HKCR,Clsid\{04c23aa0-3d34-11d2-b788-008029605ac7}\InprocServer32,"ThreadingModel",,"Apartment"

HKCR,Printers\shellex\PropertySheetHandlers\{04c23aa0-3d34-11d2-b788-008029605ac7}
HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{04c23aa0-3d34-11d2-b788-008029605ac7}",,"NDPS Shell Extension"

HKLM,"SOFTWARE\Novell\Graphical Login\NWLGE\NDPS",LoginExtType,0x10001,32769
HKLM,"SOFTWARE\Novell\Graphical Login\NWLGE\NDPS",LoginExtName,,"DPLGNW32.DLL"
HKLM,"SOFTWARE\Novell\Graphical Login\NWLGE\NDPS",LoginExtDesc,,"Login Extension NDPS-RPM"
;HKLM,"SOFTWARE\Novell\Graphical Login\NWLGE\NDPS",RunContext,0x10001,0

[NDPS.DelReg]
HKLM,"System\CurrentControlSet\Control\Print\Providers\Novell Distributed Print Services"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run",NDPS

HKCR,Clsid\{04c23aa0-3d34-11d2-b788-008029605ac7}\InprocServer32
HKCR,Clsid\{04c23aa0-3d34-11d2-b788-008029605ac7}

HKCR,Printers\shellex\PropertySheetHandlers\{04c23aa0-3d34-11d2-b788-008029605ac7}
HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{04c23aa0-3d34-11d2-b788-008029605ac7}"

HKLM,"SOFTWARE\Novell\NDPS"
HKLM,"SOFTWARE\Novell\Graphical Login\NWLGE\NDPS"

;---------------------------------------------------------------
; Destination directories for files
;---------------------------------------------------------------
[DestinationDirs]
system.fl       = 11                                  ; LDID_SYSTEM
sys.nls.fl      = 11,NLS	                      ; Windows\system32\NLS
sys.nls_lang.fl = 11,NLS\%LANG%                       ; Windows\system32\NLS\%LANG%

;---------------------------------------------------------------
; File Sections to be copied
;---------------------------------------------------------------
[sys.nls.fl]
oidmsg.idx

[sys.nls_lang.fl]
monoid.idx
oidname.msg
dplmrw32.dll
dppsres.dll

[system.fl]
dpawin32.dll,,,0x00010000
dplwin32.dll,,,0x00010000
dppwin32.dll,,,0x00010000
dpswin32.dll,,,0x00010000
dplmw32.dll,,,0x00010000
dprpcw32.dll,,,0x00010000
dpmw32.exe,,,0x00010000
ndppnt.dll,,,0x00010000
dplgnw32.dll,,,0x00010000
cw3215mt.dll,,,0x00010000
ndpsprop.dll

;---------------------------------------------------------------
; Disk file layout information
;
; ****SOURCE ROOT DIR IS <diskroot>\NLS\%LANG%, go back/foreward fm there
; ****SOURCE ROOT DIR IS <diskroot>\NLS\%LANG%, go back/foreward fm there
;---------------------------------------------------------------
[SourceDisksNames]
39=%DSK1_NOVELL%,,,""

[SourceDisksFiles]

; -- inf files ---
NDPS.INF =39,,1024

; -- help files ---
; -- resource files ---
monoid.idx   = 39,,1024
oidname.msg  = 39,,1024
dplmrw32.dll = 39,,1024
dppsres.dll  = 39,,1024

; -- systemroot files ---
oidmsg.idx   = 39,../../redir,1024
dpawin32.dll = 39,../../redir,1024
dplwin32.dll = 39,../../redir,1024
dppwin32.dll = 39,../../redir,1024
dpswin32.dll = 39,../../redir,1024
dplmw32.dll  = 39,../../redir,1024
dprpcw32.dll = 39,../../redir,1024
dpmw32.exe   = 39,../../redir,1024
ndppnt.dll   = 39,../../redir,1024
dplgnw32.dll = 39,../../redir,1024
ndpsprop.dll = 39,../../redir,1024

; -- libs32 files ---
cw3215mt.dll = 39,../../libs32,1024

;---------------------------------------------------------------
; Setupnw.exe required information
;---------------------------------------------------------------
[FileConstantsENG]
ProductNW_NDPSDisplayName	= "Novell Distributed Print Services"
ProductNW_NDPSDescription	= "Novell Distributed Print Services allows bi-directional real time communication between your workstation and your network printer."

[FileConstants]
ProductNW_NDPSName	= "NDPS"

[GeneralConstants]
ProductMajorVersion = 4
ProductMinorVersion = 70

;---------------------------------------------------------------
; String constants
;---------------------------------------------------------------
[Strings]
V_NOVELL = "Novell"

NDPS_Desc   = ""Novell Distributed Print Services""

FLG_ADDREG_KEYONLY = 0x0010
REG_MULTI_SZ = 0x10000
REG_EXPAND_SZ = 0x20000
REG_DWORD = 0x10001
SERVICE_DEMAND_START = 3
SERVICE_AUTO_START = 2
SERVICE_WIN32_SHARE_PROCESS = 32
SERVICE_FILE_SYSTEM_DRIVER = 2
SERVICE_WIN32_OWN_PROCESS = 16

NDPS_HELP = "Novell Distributed Print Services allows bi-directional real time communication between your workstation and your network printer."

; Characteristic flags
NCF_VIRTUAL                 = 0x0001
NCF_WRAPPER                 = 0x0002
NCF_PHYSICAL                = 0x0004
NCF_HIDDEN                  = 0x0008
NCF_NO_SERVICE              = 0x0010
NCF_REMOVABLE               = 0x0020
NCF_HAS_UI                  = 0x0080
NCF_MODEM                   = 0x0100
NCF_VIRTUAL_HIDDEN          = 0x0009    ; NCF_VIRTUAL | NCF_HIDDEN
NCF_WRAPPER_HIDDEN          = 0x000A    ; NCF_WRAPPER | NCF_HIDDEN
NCF_REMOVABLE_HAS_UI        = 0x00A0    ; NCF_REMOVABLE | NCF_HAS_UI

ProductNDPSDisplayName	    = "Novell Distributed Print Services"

DSK1_NOVELL=             "Novell NetWare Client for Windows NT Disk 1"
LANG = ENGLISH
