;---------------------------------------------------------------
; Noell 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]
%NTTSA_Desc%            = NTTSA.ndi,   NW_NTTSA

[NTTSA.ndi]
AddReg                  = NTTSA.ndi.AddReg
CopyFiles               = system.fl, sys.nls.fl
Characteristics         = 0x20080 ;NCF_HAS_UI, NCF_Fixed_Bindings
DelReg = DelOldRegSettings.delreg

[NTTSA.ndi.AddReg]
HKR, "Ndi",              "ClsID",,           "{916ED4CB-F0BA-44ec-90F7-3A429B99F085}"
HKR, "Ndi",              "ComponentDll",,    "NWSETUP.DLL"
HKR, "Ndi",              "Service",,         "NTTSA"
HKR, "Ndi",              "HelpText",,        "%NTTSA_HELP%"
HKR, "Ndi\Interfaces",   "UpperRange",,      "noupper"
HKR, "Ndi\Interfaces",   "LowerRange",,      "nolower"
HKR, Ndi, RequiredAll, 0, "NW_NWFS"

[NTTSA.ndi.Remove]
DelFiles=system.fl,sys.nls.fl
DelReg=NTTSA.DelReg

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

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

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

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

; File system redirector
[NTTSA.AddService]
DisplayName = %ProductNTTSADisplayName%
ServiceType = 32
StartType = 2
ErrorControl = 1
ServiceBinary = %11%\tsamain.exe
AddReg = NTTSA.AddReg

[NTTSA.AddEventLog]
AddReg=NTTSA.AddEventLog.reg

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

;
; Add Registry sections
;

[NTTSA.AddReg]
HKR,"Parameters",, %FLG_ADDREG_KEYONLY%

HKLM,"SOFTWARE\Novell\NTTSA\CurrentVersion","MajorVersion",0x10001,4
HKLM,"SOFTWARE\Novell\NTTSA\CurrentVersion","MinorVersion",0x10001,70
HKLM,"SOFTWARE\Novell\NTTSA\CurrentVersion","Title",,%ProductNTTSADisplayName%
HKLM,"SOFTWARE\Novell\NTTSA\CurrentVersion","Description",,%NTTSA_Desc%



[NTTSA.DelReg]
HKLM,"Software\Novell\NTTSA"
HKLM,"Software\Novell\Netware TSA"
HKLM,"SYSTEM\CurrentControlSet\Services\Eventlog\System\NTTSA"

;[NTTSA.ndi.ExternalApp]
;Run = NTTSA.ExternalApp.Run

;[NTTSA.ExternalApp.Run]
;CommandLine = tsaprefs.exe
;WindowStyle = 2
;Directory   = %11% ; %windir%\system32

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

;---------------------------------------------------------------
; File Sections to be copied
;---------------------------------------------------------------
[sys.nls.fl]
; --- help files ---
tsaprefs.hlp
; --- resource files ---
tsamisc.dll,,,0x00010000
tsares.dll,,,0x00010000

[system.fl]
tsamain.exe,,,0x00010000
tsacore.dll,,,0x00010000
tsaprefs.exe
tsaresp.dll,,,0x00010000

;---------------------------------------------------------------
; 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 ---
TSA.INF =39,,1024

; -- help files ---
tsaprefs.hlp = 39,,1024

; -- resource files ---
tsamisc.dll = 39,,1024
tsares.dll = 39,,1024

; -- systemroot files ---
tsamain.exe  = 39,..\..\redir,1024
tsacore.dll  = 39,..\..\redir,1024
tsaprefs.exe = 39,..\..\redir,1024
tsaresp.dll  = 39,..\..\redir,1024

;---------------------------------------------------------------
; Setupnw.exe required information
;---------------------------------------------------------------
[FileConstantsENG]
ProductNW_NTTSADisplayName	= "Novell Target Service Agent"
ProductNW_NTTSADescription	= "Novell Target Service Agent will backup selected hard drives from a server automatically."

[FileConstants]
ProductNW_NTTSAName	= "NTTSA"

[GeneralConstants]
ProductMajorVersion = 4
ProductMinorVersion = 70

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

NTTSA_Desc   = ""Novell Target Service Agent""

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

NTTSA_HELP = "Novell Target Service Agent will backup selected hard drives from a server automatically."

; 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

ProductNTTSADisplayName			= "Novell Target Service Agent"

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