;---------------------------------------------------------------
; Novell NetWare Client for Windows 2000
; Novell Network Client
;
; 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

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

Provider=%V_NOVELL%
;LayoutFile=nwlayout.inf

[Manufacturer]
%V_NOVELL%=NOVELL

[NOVELL]
%WM_Desc%  = WM.ndi, NW_WM

[WM.ndi]
AddReg       = WM.ndi.AddReg
CopyFiles    = sys.fl, sys.nls.fl
Characteristics  = 0x20080 ;NCF_HAS_UI, NCF_FIXED_BINDING
DelReg = DelOldRegSettings.delreg

[WM.ndi.AddReg]
HKR,"Ndi",              "ClsID",,           "{3BFCD282-6931-4319-8EE2-D83B08D7C716}"
HKR,"Ndi",              "ComponentDll",,    "NWSETUP.DLL"
HKR,"Ndi",              "Service",,         "WM"
HKR,"Ndi",              "HelpText",,        "%WM_HELP%"
HKR,"Ndi\Interfaces",   "UpperRange",,      "noupper"
HKR,"Ndi\Interfaces",   "LowerRange",,      "noupper"
HKR, Ndi, RequiredAll, 0, "NW_NWFS"

[WM.ndi.Remove]
DelFiles= sys.fl, sys.nls.fl
DelReg=WM.delreg

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

;---------------------------------------------------------------
; Add the client entries to the registry
;---------------------------------------------------------------

[WM.addreg]
HKLM,"Software\Novell\Workstation Manager\Identification","EXE Path",,%11%
HKLM,"SOFTWARE\Novell\Workstation Manager\PredesktopHelperDLLs","WMUSPOL.DLL",,"WMUSPOL.DLL"
HKLM,"SOFTWARE\Novell\Workstation Manager\PredesktopHelperDLLs","WMPRTNT.DLL",,"WMPRTNT.DLL"
HKLM,"SOFTWARE\Novell\Workstation Manager\PredesktopHelperDLLs","WMPOLHLP.DLL",,"WMPOLHLP.DLL"
HKLM,"SOFTWARE\Novell\Workstation Manager\PredesktopHelperDLLs","WMPM.DLL",,"WMPM.DLL"
HKLM,"SYSTEM\CurrentControlSet\Services\WM","ObjectName",,"LocalSystem"
HKLM,"SYSTEM\CurrentControlSet\Services\WM","TextModeFlags",0x10001,1
HKLM,"SOFTWARE\Novell\Workstation Manager","Enabled",0x10001,1
HKLM,"SOFTWARE\Novell\WM\CurrentVersion","ServiceName",,"WM"
HKLM,"SOFTWARE\Novell\WM\CurrentVersion","RefCount",0x10001,0
HKLM,"SOFTWARE\Novell\WM\CurrentVersion","SoftwareType",,"service"
HKLM,"SOFTWARE\Novell\WM\CurrentVersion","Hidden",0x10001,0
HKLM,"SOFTWARE\Novell\WM\CurrentVersion","Review",0x10001,0
HKLM,"SOFTWARE\Novell\WM\CurrentVersion","MajorVersion",0x10001,4
HKLM,"SOFTWARE\Novell\WM\CurrentVersion","MinorVersion",0x10001,70
HKLM,"SOFTWARE\Novell\WM\CurrentVersion","Title",,%ProductWMDisplayName%
HKLM,"SOFTWARE\Novell\WM\CurrentVersion","InstallDate",0x10001,0

;---------------------------------------------------------------
; Clear the client entries from the registry
;---------------------------------------------------------------

[WM.delreg]
HKLM,"Software\Novell\Workstation Manager"
HKLM,"Software\Novell\WM"
HKLM,"SYSTEM\CurrentControlSet\Services\Eventlog\System\WM"

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

[WM.ndi.Remove.Services]
DelService=     WM

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

; WM service
[WM.AddService]
DisplayName = %ProductWMDisplayName%
ServiceType = 16
StartType = 2
ErrorControl = 1
ServiceBinary = %11%\wm.exe
Dependencies = "NetWareWorkstation"
AddReg = WM.addreg

[WM.AddEventLog]
AddReg=WM.AddEventLog.reg

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

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


;---------------------------------------------------------------
; File Sections to be copied
;---------------------------------------------------------------
[sys.nls.fl]
wmschedr.dll
wmsched.hlp
wmgr32.hlp

[sys.fl]
wm.exe
wmrundll.exe
wmsched.dll
wmsched.exe
wmuspol.dll
wmdtpol.dll
wmprtnt.dll
;wsreg.dll
wmcchlpr.dll
wmrasm.dll
wmpolhlp.dll
wminv.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]
WM.INF       = 39,,1024

wmsched.hlp  = 39,,1024
wmgr32.hlp   = 39,,1024
wmschedr.dll = 39,,1024
wm.exe       = 39,..\..\redir,1024
wmrundll.exe = 39,..\..\redir,1024
wmsched.dll  = 39,..\..\redir,1024
wmsched.exe  = 39,..\..\redir,1024
wmuspol.dll  = 39,..\..\redir,1024
wmdtpol.dll  = 39,..\..\redir,1024
wmprtnt.dll  = 39,..\..\redir,1024
wsreg.dll    = 39,..\..\redir,1024
wmcchlpr.dll = 39,..\..\redir,1024
wmrasm.dll   = 39,..\..\redir,1024
wmpolhlp.dll = 39,..\..\redir,1024
wminv.dll    = 39,..\..\redir,1024


[UpgradeOptions]
; During upgrade, do not copy files over the following client or newer
ProductMajorVersion = 4
ProductMinorVersion = 70
; Options for InstallWM are 'IfInstalled', 'YES', or 'NO'
InstallWM = IfInstalled

;---------------------------------------------------------------
; Setupnw.exe required information
;---------------------------------------------------------------
[FileConstantsENG]
ProductNW_WMDisplayName	= "Novell Workstation Manager"
ProductNW_WMDescription	= "Novell Workstation Manager allows administrators to configure and manage workstations using NDS."

[FileConstants]
ProductNW_WMName	= "WM"

[GeneralConstants]
ProductMajorVersion = 4
ProductMinorVersion = 70

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

WM_Desc = "Novell Workstation Manager"

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

WM_HELP = "Novell Workstation Manager allows administrators to configure and manage workstations using NDS."

; 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

ProductWMDisplayName = "Novell Workstation Manager"

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