;---------------------------------------------------------------
; Novell Novell IP Gateway for Windows 2000
; Novell Novell IP Gateway
;
; VeRsIoN=v4.70 Novell Client Install for Windows 2000 (990105)
; CoPyRiGhT=copyright 1992-1999, by Novell, INC. All rights reserved.
;
;---------------------------------------------------------------

[version]
signature="$Windows NT$"
DriverVer=12/02/99

Class = NetTrans
ClassGUID={4D36E975-E325-11CE-BFC1-08002BE10318}

Provider=%V_NOVELL%
;LayoutFile=nwlayout.inf

[Manufacturer]
%V_NOVELL%=NOVELL

[NOVELL]
%CPROXY_Desc%  = CPROXY.ndi, NW_CPROXY

[CPROXY.ndi]
AddReg       = CPROXY.ndi.AddReg, param.AddReg
CopyFiles    = Files-Res-Sys32,Files-System32,Files-Netware
Characteristics  = 0x20080 ;NCF_HAS_UI, NCF_FIXED_BINDING
DelReg = DelOldRegSettings.delreg

[CPROXY.ndi.AddReg]
HKR,"Ndi",              "ClsID",,           "{EAEA39B2-1B01-40D4-A27A-007B5B7E6954}"
HKR,"Ndi",              "ComponentDll",,    "NWSETUP.DLL"
HKR,"Ndi",              "Service",,         "CPROXY"
HKR,"Ndi",              "CoServices", %REG_MULTI_SZ%, "CFWNTSYS", "GCFWMAP", "NWTCP"
HKR,"Ndi",              "ExcludeSetupStartServices", %REG_MULTI_SZ%, "CFWNTSYS", "GCFWMAP", "NWTCP"
HKR,"Ndi",              "HelpText",,        "%CPROXY_HELP%"
;                /***get correct interfaces ***/
HKR,"Ndi\Interfaces",   "UpperRange",,      "CPROXY"
HKR,"Ndi\Interfaces",   "LowerRange",,      "ndis5"
HKR, Ndi, RequiredAll, 0, "NW_NWFS"


[CPROXY.ndi.Remove]
DelFiles=Files-Res-Sys32,Files-System32,Files-Netware
DelReg=GW.delreg

;---------------------------------------------------------------
; Add the client entries to the registry
;---------------------------------------------------------------
[param.addreg]
HKR,"Parameters",, %FLG_ADDREG_KEYONLY%
HKLM,"SOFTWARE\Novell\CProxy","Enabled",0x10001,1


;---------------------------------------------------------------
; Clear the client entries from the registry
;---------------------------------------------------------------
[GW.delreg]
HKLM,"Software\Novell\CFWNTSYS"
HKLM,"Software\Novell\CPROXY"
HKLM,"Software\Novell\GCFWMAP"
HKLM,"Software\Novell\NWTCP"
HKLM,"SYSTEM\CurrentControlSet\Services\Eventlog\System\CPROXY"
HKLM,"SYSTEM\CurrentControlSet\Services\Eventlog\System\CFWNTSYS"
HKLM,"SYSTEM\CurrentControlSet\Services\Eventlog\System\GCFWMAP"
HKLM,"SYSTEM\CurrentControlSet\Services\Eventlog\System\NWTCP"

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


;---------------------------------------------------------------
;       Install/Remove the client services
;---------------------------------------------------------------
[CPROXY.ndi.Services]
AddService=     CPROXY,, CPROXY.AddService, CPROXY.AddEventLog
AddService=     CFWNTSYS,, CFWNTSYS.AddService, CFWNTSYS.AddEventLog
AddService=     GCFWMAP,, GCFWMAP.AddService, GCFWMAP.AddEventLog
AddService=     NWTCP,, NWTCP.AddService, NWTCP.AddEventLog

[CPROXY.ndi.Remove.Services]
DelService=     CPROXY
DelService=     CFWNTSYS
DelService=     GCFWMAP
DelService=     NWTCP

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

;  CPROXY: IP Gateway Client
[CPROXY.AddService]
DisplayName = %ProductCPROXYDisplayName%
ServiceType = 2
StartType = 2
ErrorControl = 1
ServiceBinary = %11%\NetWare\cproxynt.sys
LoadOrderGroup = "NetWare IP Gateway"
Dependencies   = "GCFWMAP"

[CPROXY.AddEventLog]
AddReg=CPROXY.AddEventLog.reg

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


; CFWNTSYS: IP Gateway Component
[CFWNTSYS.AddService]
DisplayName = %ProductCFWNTSYSDisplayName%
ServiceType = 2
StartType = 2
ErrorControl = 1
ServiceBinary = %11%\NetWare\cfwntsys.sys
LoadOrderGroup = "NetWare Services"
Dependencies   = "ResMgr"

[CFWNTSYS.AddEventLog]
AddReg=RESMGR.AddEventLog.reg

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


; GCFWMAP: IP Gateway TDI Mapper
[GCFWMAP.AddService]
DisplayName = %ProductGCFWMAPDisplayName%
ServiceType = 2
StartType = 2
ErrorControl = 0
ServiceBinary = %11%\NetWare\gcfwmap.sys
LoadOrderGroup = "NetWare IP Gateway"
Dependencies   = "Tcpip", "Nwtcp"

[GCFWMAP.AddEventLog]
AddReg=GCFWMAP.AddEventLog.reg

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

; NWTcp: TCP/IPX Driver
[NWTCP.AddService]
DisplayName = %ProductNWTCPDisplayName%
ServiceType = 1
StartType = 2
ErrorControl = 1
ServiceBinary = %11%\NetWare\nwtcp.sys
LoadOrderGroup = "NetWare IP Gateway"
Dependencies   = "NwlnkIpx", "+NetWare Services", "+TDI"

[NWTCP.AddEventLog]
AddReg=NWTCP.AddEventLog.reg

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

;---------------------------------------------------------------
; Destination directories for files
;---------------------------------------------------------------
[DestinationDirs]
Files-System32    = 11
Files-Netware     = 11,NetWare
Files-Res-Sys32   = 11,nls\%LANG%

;---------------------------------------------------------------
; File Sections to be copied
;---------------------------------------------------------------
[Files-Res-Sys32]
nwgwpngr.dll

[Files-System32]
cfwntdll.dll,,,00010000
winping.exe

[Files-Netware]
cfwntsys.sys,,,00010000
gcfwmap.sys,,,00010000
cproxynt.sys,,,00010000
nwtcp.sys,,,00010000
gwspdll.dll,,,00010000
nwws2gw.dll,,,00010000
sporder.dll,,,00010000

;---------------------------------------------------------------
; 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]
nwgwpngr.dll = 39,,1024
cfwntdll.dll = 39,../../redir,1024
winping.exe  = 39,../../redir,1024
cfwntsys.sys = 39,../../redir,1024
gcfwmap.sys  = 39,../../redir,1024
cproxynt.sys = 39,../../redir,1024
nwtcp.sys    = 39,../../redir,1024
gwspdll.dll  = 39,../../redir,1024
nwws2gw.dll  = 39,../../redir,1024
sporder.dll  = 39,../../redir,1024


;---------------------------------------------------------------
; Setupnw.exe required information
;---------------------------------------------------------------
[FileConstantsENG]
	ProductNW_CPROXYDisplayName = "Novell IP Gateway"
	ProductNW_CPROXYDescription = "The Novell IP/IPX Gateway enables internet access on IPX or private IP networks when Novell IP/IPX Gateway servers are installed on the network."

[FileConstants]
	ProductNW_CPROXYName        = "CPROXY"

[GeneralConstants]
ProductMajorVersion = 4
ProductMinorVersion = 70

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

CPROXY_Desc = "Novell IP Gateway"

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

CPROXY_HELP = "The Novell IP/IPX Gateway enables internet access on IPX or private IP networks when Novell IP/IPX Gateway servers are installed on the network."

ProductCPROXYDisplayName                = "Novell IP Gateway"
ProductCPROXYDescription                = "The Novell IP/IPX Gateway enables internet access on IPX or private IP networks when Novell IP/IPX Gateway servers are installed on the network."
ProductCFWNTSYSDisplayName              = "Novell IP Gateway Framework"
ProductGCFWMAPDisplayName               = "Novell IP Gateway Mapper"
ProductNWTCPDisplayName                 = "Novell TCP/IPX Driver"

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