;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;
;
; OEMNSVWA.INF
;
; Novell WUser Agent
;
;
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;VeRsIoN=v4.81 Novell WUser Agent (980316)
;CoPyRiGhT=copyright 1992-2001, by Novell, INC. All rights reserved.
[Identification]
OptionType = NetService
[Options]
WUA
[FileConstants]
UtilityInf = "UTILITY.INF"
subroutineinf = "SUBROUTN.INF"
NwSetupDll = "nwsetup.dll"
Manufacturer = "Novell"
UserModeRoot = "%SystemRoot%"
System32Root = $(UserModeRoot)"\System32"
ProductWUAName = "Remote Management"
[GeneralConstants]
from = ""
to = ""
MAXIMUM_ALLOWED = 33554432
RegistryErrorIndex = NO_ERROR
KeyProduct = ""
TRUE = 1
FALSE = 0
NoTitle = 0
Manufacturer = "Novell"
[Identify]
read-syms Identification
set Status = STATUS_SUCCESSFUL
set Identifier = $(OptionType)
set Media = #("Source Media Descriptions", 1, 1)
Return $(Status) $(Identifier) $(Media)
[ReturnOptions]
set Status = STATUS_FAILED
set OptionList = {}
set OptionTextList = {}
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) in $(LanguageList)
goto returnoptions
else
set Status = STATUS_NOLANGUAGE
goto finish_ReturnOptions
endif
returnoptions = +
set OptionList = ^(Options, 1)
set OptionTextList = ^(OptionsText$($0), 1)
set Status = STATUS_SUCCESSFUL
finish_ReturnOptions = +
Return $(Status) $(OptionList) $(OptionTextList)
[InstallOption]
Set !G:DebugOutputControl = 0
set Status = STATUS_FAILED
set Option = $($1)
set SrcDir = $($2)
set AddCopy = $($3)
set DoCopy = $($4)
set DoConfig = $($5)
set OriginalAddCopy = $($3)
set OriginalDoCopy = $($4)
set OriginalDoConfig = $($5)
Debug-OutPut "OEMNSVWA.INF: Option = "$($Option)
Debug-OutPut "OEMNSVWA.INF: SrcDir = "$($SrcDir)
Debug-OutPut "OEMNSVWA.INF: AddCopy = "$($AddCopy)
Debug-OutPut "OEMNSVWA.INF: DoCopy = "$($DoCopy)
Debug-OutPut "OEMNSVWA.INF: DoConfig = "$($DoConfig)
set-subst LF = "\n"
read-syms GeneralConstants
read-syms FileConstants
read-syms FileConstants$(!STF_LANGUAGE)
read-syms InstallOption$(!STF_LANGUAGE)
detect date
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) in $(LanguageList)
goto installoption
else
Debug-OutPut "OEMNSVWA.INF: Language not supported"
set Status = STATUS_NOLANGUAGE
goto end
endif
installoption = +
Shell "" UnattendedInstallOption
ifstr(i) $(!NWUnattendedFile) != ""
ifstr(i) $(!NWUnattendedSection) != ""
Shell $(!NWUnattendedFile) ReadDefaultData, $(!NWUnattendedSection)
ifstr(i) $($R0) != "STATUS_SUCCESSFUL"
Debug-Output "Shell to read the NW Parameter values from an Unattend.txt file Failed."
Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "Warning", $(UnattendFileReadFailed)
ifstr(i) $($R1) == "CANCEL"
set CommonStatus = STATUS_USERCANCEL
goto end
endif
endif
endif
endif
ifstr(i) $(!NWUnattendedFile) != ""
ifstr(i) $(!NWWizard) != YES
Debug-OutPut "OEMNSVWA.INF: !DoRemove = "$(!DoRemove)
ifstr(i) $(!DoRemove) == YES
set !NTN_InstallMode = deinstall
else-Ifstr(i) $(!DoInstall) == NO
Debug-OutPut "OEMNSVWA.INF: !DoInstall = "$(!DoInstall)
set CommonStatus = STATUS_SUCCESSFUL
goto end
endif
endif
endif
OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\NetWareWorkStation" $(MAXIMUM_ALLOWED) KeyProduct
ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(NetWareClientNotInstalledMessage)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set CommonStatus = STATUS_USERCANCEL
goto end
endif
CloseRegKey $(KeyProduct)
set NovellParameters = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\Parameters"
Debug-OutPut "OEMNSVWA.INF: NovellParameters is "$(NovellParameters)
OpenRegKey $(!REG_H_LOCAL) "" $(NovellParameters) $(MAXIMUM_ALLOWED) KeyNovellParameters
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
GetRegValue $(KeyNovellParameters) "NWLanguage" LanguageList
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
set NLSDirName = *($(LanguageList), 4)
else
goto fatalregistry
endif
CloseRegKey $(KeyNovellParameters)
else
goto fatalregistry
Endif
set CurrentVersion = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion"
OpenRegKey $(!REG_H_LOCAL) "" $(CurrentVersion) $(MAXIMUM_ALLOWED) CurrentVersionKey
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
GetRegValue $(CurrentVersionKey) "CurrentVersion" VersionList
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
set VersionListData = *($(VersionList), 4)
Split-string $(VersionListData) "." SplitVersionList
Set NTMajorVersion = *($(SplitVersionList), 1)
Set NTMinorVersion = *($(SplitVersionList), 3)
Debug-OutPut "OEMNSVWA.INF: Windows NT current version is "$(VersionListData)
Debug-OutPut "OEMNSVWA.INF: Windows NT Major version is "$(NTMajorVersion)
Debug-OutPut "OEMNSVWA.INF: Windows NT Minor version is "$(NTMinorVersion)
else
Debug-Output "OEMNSVWA.INF: Error getting NT version"
endif
CloseRegKey $(CurrentVersionKey)
else
Debug-Output "OEMNSVWA.INF: Error opening "$(CurrentVersion)
endif
Debug-Output "OEMNSVWA.INF: Checking to see if advanced server"
set AdvancedServer = "NO"
Set TempKeyName = "SYSTEM\CurrentControlSet\Control\ProductOptions"
OpenRegKey $(!REG_H_LOCAL) "" $(TempKeyName) $(MAXIMUM_ALLOWED) TempKey
Ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
Set ValueName = "ProductType"
GetRegValue $(TempKey) $(ValueName) ValueList
Ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
set ValueListData = *($(ValueList), 4)
set AdvancedServer = "YES"
ifstr(i) $(ValueListData) == "WinNT"
set AdvancedServer = "NO"
Debug-Output "OEMNSVWA.INF: AdvancedServer is "$(AdvancedServer)
endif
else
Debug-Output "OEMNSVWA.INF: Failed to get ProductType"
endif
CloseRegKey $(TempKey)
else
Debug-Output "OEMNSVWA.INF: Failed to open ProductOptions key"
endif
set-title $(FunctionTitle)
set to = Begin
set from = Begin
set CommonStatus = STATUS_SUCCESSFUL
EndWait
Begin = +
Debug-Output "OEMNSVWA.INF: Begin Install Mode = "$(!NTN_InstallMode)
Ifstr(i) $(!NTN_InstallMode) == deinstall
set StartLabel = removewua
else-Ifstr(i) $(!NTN_InstallMode) == Update
set StartLabel = updatewua
else-Ifstr(i) $(!NTN_InstallMode) == bind
set StartLabel = bindwua
else-Ifstr(i) $(!NTN_InstallMode) == configure
set StartLabel = configurewua
else
set StartLabel = installwua
set OEM_ABANDON_OPTIONS = {}
set OEM_ABANDON_SOFTWARE = FALSE
set OEM_ABANDON_ON = TRUE
endif
set from = $(fatal)
set to = $(fatal)
goto $(StartLabel)
installwua = +
Debug-Output "OEMNSVWA.INF: Installing WUA"
set AddCopy = "YES"
set DoCopy = "YES"
Ifstr(i) $(DoCopy) == "YES"
AskSourceAgain = +
Shell "", DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
Ifint $($ShellCode) != $(!SHELL_CODE_OK)
Goto ShellCodeError
Else-Ifstr(i) $($R0) == STATUS_FAILED
Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set Error = $($R0)
Goto fatal
Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
Goto end
Endif
Set SrcDir = $($R1)
LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(SrcDir)
ifstr(i) $(STATUS) != "ERROR"
set SrcDir = $(STATUS)
Endif
LibraryProcedure Status1, $(!LIBHANDLE), CheckFileExistance, $(SrcDir)nls\$(NLSDirName)"\OEMNSVWA.INF"
ifstr(i) $(Status1) != "YES"
goto AskSourceAgain
endif
Endif
endif
set OEM_ABANDON_ON = TRUE
StartWait
install "Install-Dirs"
install "Install-Files"
ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set Error = $($R0)
goto fatal
endif
set AddCopy = $(OriginalAddCopy)
set DoCopy = $(OriginalDoCopy)
StartWait
InstallEnabledServices = +
Ifstr(i) $(CalledFromUpdate) == "YES"
goto ReturnToUpdate
endif
Install Install-Parameters
shell "" Write-Unattended-Variables
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
Debug-Output "OEMNSVWA: User Canceled due to a error processing the Unattended Variables."
set CommonStatus = STATUS_USERCANCEL
goto setfailed
endif
RunProgram ExitCode $(LoadDisk3Text) "" $(SrcDir)"RM\RMSetup.exe" "/noservicestart" "/noreboot"
goto end
configurewua = +
Debug-Output "OEMNSVWA.INF: Configuring WUA"
goto end
bindwua = +
Debug-Output "OEMNSVWA.INF: Binding WUA"
goto end
removewua= +
Debug-Output "OEMNSVWA.INF: Removing WUA"
Set TempKeyName = $(!NTN_SoftwareBase)"\"$(Manufacturer)
OpenRegKey $(!REG_H_LOCAL) "" $(TempKeyName) $(MAXIMUM_ALLOWED) TempKey
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
Debug-Output "OEMNSVWA.INF: Deleting all our WUA software"
DeleteRegTree $(TempKey) "Remote management"
ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
Debug-Output "OEMNSVWA.INF: Failed to delete Netware Remote management registry tree"
endif
CloseRegKey $(TempKey)
else
Debug-Output "OEMNSVWA.INF: Failed to open software key to delete old software"
endif
Debug-Output "OEMNSVWA.INF: About to call RMSetup.exe /uninstall"
RunProgram ExitCode $(LoadDisk3Text) "" $(!STF_WINDOWSSYSPATH)"\netware\RM\RMSetup.exe" "/uninstall" "/noreboot"
LoadLibrary $(LoadDisk3Text) $(!STF_WINDOWSSYSPATH)"\"$(NwSetupDll) NwLibHandle
Debug-Output "OEMNSVWA.INF: Deleting our WUA file"
LibraryProcedure GUIResult $(NwLibHandle) NWDeleteFile $(!STF_WINDOWSSYSPATH)"\netware\RM\RMSetup.exe"
FreeLibrary $(NwLibHandle)
goto end
updatewua = +
Debug-Output "OEMNSVWA.INF: Updating WUA"
set AddCopy = "YES"
set DoCopy = "YES"
Ifstr(i) $(DoCopy) == "YES"
AskSourceAgain = +
set OldSTF_SRCDIR_OVERRIDE = $(!STF_SRCDIR_OVERRIDE)
set !STF_SRCDIR_OVERRIDE = $(SrcDir)
Shell "", DoAskSource, $(!STF_CWDDIR), $(SrcDir) NO
Ifint $($ShellCode) != $(!SHELL_CODE_OK)
Goto ShellCodeError
Else-Ifstr(i) $($R0) == STATUS_FAILED
Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set Error = $($R0)
Goto fatal
Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
Goto end
Endif
Set SrcDir = $($R1)
LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(SrcDir)
ifstr(i) $(STATUS) != "ERROR"
set SrcDir = $(STATUS)
Endif
LibraryProcedure Status1, $(!LIBHANDLE), CheckFileExistance, $(SrcDir)nls\$(NLSDirName)"\OEMNSVWA.INF"
ifstr(i) $(Status1) != "YES"
goto AskSourceAgain
endif
Endif
install "Install-Dirs"
set AddCopy = "YES"
set DoCopy = "YES"
Install "Install-Files"
ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set Error = $($R0)
goto fatal
endif
set AddCopy = $(OriginalAddCopy)
set DoCopy = $(OriginalDoCopy)
set CalledFromUpdate = "YES"
goto InstallEnabledServices
ReturnToUpdate = +
Install Install-Parameters
shell "" Write-Unattended-Variables
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
Debug-Output "OEMNSVWA: User Canceled due to a error processing the Unattended Variables."
set CommonStatus = STATUS_USERCANCEL
goto setfailed
endif
RunProgram ExitCode $(LoadDisk3Text) "" $(SrcDir)"RM\RMSetup.exe" "/noservicestart" "/noreboot"
set !STF_SRCDIR_OVERRIDE = $(OldSTF_SRCDIR_OVERRIDE)
goto end
abandon = +
Debug-Output "OEMNSVWA.INF: abandon"
ForListDo $(OEM_ABANDON_OPTIONS)
Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), $(ProductSoftwareName), $($)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "OEMNSVWA.INF: RemoveHardwareComponent ShellCode error "$($ShellCode)
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
goto fatalregistry
endif
EndForListDo
Ifstr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), $(ProductSoftwareName), FALSE
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "OEMNSVWA.INF: RemoveSoftwareComponent ShellCode error "$($ShellCode)
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
goto fatalregistry
endif
endif
goto end
warning = +
Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
ifstr(i) $($R1) == "OK"
goto $(to)
else-ifstr(i) $($R1) == "CANCEL"
goto $(from)
else
goto "end"
endif
nonfatal = +
Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "NONFATAL", $(Error)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
ifstr(i) $($R1) == "OK"
goto $(from)
else
goto "end"
endif
fatalregistry = +
Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set Error = $($R0)
goto fatal
fatal = +
ifstr(i) $(Error) == ""
Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set Error = $($R0)
endif
Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
goto setfailed
ShellCodeError = +
set DlgType = "MessageBox"
set STF_MB_TITLE = $(ShellCodeErrorTitle)
set STF_MB_TEXT = $(ShellCodeErrorText)
set STF_MB_TYPE = 1
set STF_MB_ICON = 3
set STF_MB_DEF = 1
ui start "Error Message"
goto setfailed
setfailed = +
set CommonStatus = STATUS_FAILED
ifstr(i) $(OEM_ABANDON_ON) == TRUE
set OEM_ABANDON_ON = FALSE
goto abandon
endif
goto end
end = +
goto term
term = +
Return $(CommonStatus) $(DriverToLoad)
[Install-Dirs]
Debug-Output "OEMNSVWA.INF: Creating file directories"
CreateDir $(!STF_WINDOWSSYSPATH)"\NetWare\RM"
CreateDir $(!STF_WINDOWSSYSPATH)"\NetWare\RM\NLS"
CreateDir $(!STF_WINDOWSSYSPATH)"\NetWare\RM\NLS\"$(NLSDirName)
Exit
[Install-Files]
Debug-Output "OEMNSVWA.INF: Installing files"
set STF_VITAL = ""
Ifstr(i) $(AddCopy) == "YES"
;
; Add the files to the copy list
;
AddSectionFilesToCopyList Files-Inf-$(NLSDirName) $(SrcDir)nls\$(NLSDirName) $(!STF_WINDOWSSYSPATH)
AddSectionFilesToCopyList Files-System32-NetWare-RM $(SrcDir)RM $(!STF_WINDOWSSYSPATH)\netware\RM
AddSectionFilesToCopyList Files-System32-NetWare-RM-WINNT $(SrcDir)RM\Winnt $(!STF_WINDOWSSYSPATH)\netware\RM
AddSectionFilesToCopyList Files-Sys32-NW-RMNLS-Eng $(SrcDir)RM\nls\english $(!STF_WINDOWSSYSPATH)\netware\RM\nls\$(NLSDirName)
Debug-Output "OEMNSVWA.INF: Files added to list"
Endif
Ifstr(i) $(DoCopy) == "YES"
;
; Copy files in the copy list
;
set !STF_NCPA_FLUSH_COPYLIST = TRUE
set !STF_NETCANCELOVERIDE = "YES" ; this line removes the cancel button
CopyFilesInCopyList
Debug-Output "OEMNSVWA.INF: Files copied"
Endif
Exit
[Source Media Descriptions]
1 = "Novell Client for Windows NT Setup Disk 3", TAGFILE = NWC_3
[Files-Inf-English]
1, OEMNSVWA.INF, SIZE=50000, DECOMPRESS
[Files-Inf-Chineses]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Chineset]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Deutsch]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Espanol]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Francais]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Italiano]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Korean]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Nihongo]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Portugue]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Russki]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-Inf-Polski]
1, oemnsvwa.inf, SIZE=50000, DECOMPRESS
[Files-System32-NetWare-RM]
1, RMSetup.exe, SIZE=50000, DECOMPRESS
1, ntstacfg.exe, SIZE=50000, DECOMPRESS
1, ntstacfg.ini, SIZE=50000, DECOMPRESS
1, loc32vc.dll, SIZE=50000, DECOMPRESS
[Files-System32-NetWare-RM-WINNT]
1, ctl3d32.dll, SIZE=50000, DECOMPRESS
[Files-Sys32-NW-RMNLS-Eng]
1, ntstacfg.dll, SIZE=50000, DECOMPRESS
[Install-Parameters]
set TempKeyName = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\Remote management\CurrentVersion"
OpenRegKey $(!REG_H_LOCAL) "" $(TempKeyName) $(MAXIMUM_ALLOWED) TempKey
ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
CreateRegKey $(!REG_H_LOCAL) {$(TempKeyName), $(NoTitle), GenericClass} "" $(MAXIMUM_ALLOWED) "" TempKey
endif
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
;
; Set internal versions
;
set HaveInternalVersion = YES
ifint $(!MajorInternalVersion) == 0
ifint $(!MinorInternalVersion) == 0
set HaveInternalVersion = NO
endif
endif
ifstr(i) $(HaveInternalVersion) == NO
DeleteRegValue $(TempKey) "MajorInternalVersion"
DeleteRegValue $(TempKey) "MinorInternalVersion"
else
SetRegValue $(TempKey) {"MajorInternalVersion", $(NoTitle), $(!REG_VT_DWORD), $(!MajorInternalVersion)}
Ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
Debug-Output "OEMNSVWA.INF: Unable to update MajorInternalVersion value in "$(TempKeyName)
endif
SetRegValue $(TempKey) {"MinorInternalVersion", $(NoTitle), $(!REG_VT_DWORD), $(!MinorInternalVersion)}
Ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
Debug-Output "OEMNSVWA.INF: Unable to update MinorInternalVersion value in "$(TempKeyName)
endif
endif
SetRegValue $(TempKey) {"ServiceName",$(NoTitle),$(!REG_VT_SZ),"Remote management"}
SetRegValue $(TempKey) {"SoftWareType",$(NoTitle),$(!REG_VT_SZ),"service"}
SetRegValue $(TempKey) {"Title",$(NoTitle),$(!REG_VT_SZ),"Remote management"}
SetRegValue $(TempKey) {"Description",$(NoTitle),$(!REG_VT_SZ),"Remote management"}
SetRegValue $(TempKey) {"OperationsSupport", $(NoTitle), $(!REG_VT_DWORD), 133}
set TempKeyName2 = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\Remote management\CurrentVersion\NetRules"
OpenRegKey $(!REG_H_LOCAL) "" $(TempKeyName2) $(MAXIMUM_ALLOWED) TempKey2
ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
CreateRegKey $(!REG_H_LOCAL) {$(TempKeyName2), $(NoTitle), GenericClass} "" $(MAXIMUM_ALLOWED) "" TempKey2
endif
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
SetRegValue $(TempKey2) {"InfName",$(NoTitle),$(!REG_VT_SZ),"oemnsvwa.inf"}
SetRegValue $(TempKey2) {"InfOption",$(NoTitle),$(!REG_VT_SZ),"WUA"}
endif
CloseRegKey $(TempKey)
CloseRegKey $(TempKey2)
endif
Exit
[DoAskSource]
read-syms GeneralConstants
read-syms FileConstants
read-syms FileConstants$(!STF_LANGUAGE)
read-syms InstallOption$(!STF_LANGUAGE)
read-syms DoAskSource$(!STF_LANGUAGE)
Set DAS_CWDDIR = $($0)
Set DAS_SRCDIR = $($1)
Set DAS_BUILTIN = $($2)
Set DAS_Result = STATUS_FAILED
Ifstr(i) $(!STF_SRCDIR_OVERRIDE) != ""
Set DAS_SRCDIR = $(!STF_SRCDIR_OVERRIDE)
Set DAS_Result = STATUS_SUCCESSFUL
Goto DAS_exit
Endif
Ifstr(i) $(DAS_BUILTIN) == YES
Ifstr(i) $(!NTN_InstallPhase) == primary
Ifstr(i) $(!STF_SRCDIR_WINNT) != ""
Set DAS_SRCDIR = $(!STF_SRCDIR_WINNT)
Endif
Set DAS_Result = STATUS_SUCCESSFUL
Goto DAS_exit
Endif
Else
set SourcePathName = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion"
OpenRegKey $(!REG_H_LOCAL) "" $(SourcePathName) $(MAXIMUM_ALLOWED) SourcePathKey
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
GetRegValue $(SourcePathKey) "SourcePath" SourcePathList
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
set SourcePath = *($(SourcePathList), 4)
ifstr(i) $(DAS_SRCDIR) == $(SourcePath)
set NWSourcePathName = $(!NTN_SoftwareBase)"\Novell\NetWareWorkstation\CurrentVersion"
OpenRegKey $(!REG_H_LOCAL) "" $(NWSourcePathName) $(MAXIMUM_ALLOWED) NWSourcePathKey
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
GetRegValue $(NWSourcePathKey) "SourcePath" NWSourcePathList
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
set NWSourcePath = *($(NWSourcePathList), 4)
ifstr(i) $(NWSourcePath) != ""
set DAS_SRCDIR = $(NWSourcePath)
endif
endif
CloseRegKey $(NWSourcePathKey)
endif
endif
endif
CloseRegKey $(SourcePathKey)
endif
Endif
Debug-Output "OEMNXPGW.INF: [DoAskSource] STF_CWDDIR = "$(DAS_CWDDIR)" STF_SRCDIR = "$(DAS_SRCDIR)
Ifstr(i) $(DAS_SRCDIR) == ""
Set DAS_SRCDIR = "A:\"
Endif
Ifstr(i) $(DAS_SRCDIR) == $(!STF_SRCDIR_USED)
Set DAS_SRCDIR = $(!STF_SRCDIR_KEYED)
Endif
Shell "subroutn.inf" DoAskSourceEx $(DAS_SRCDIR) $(NetWareDlgText)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "OEMNXPGW.INF: shelling SUBROUTN.INF [DoAskSource] failed"
goto DAS_exit
endif
Set DAS_Result = $($R0)
Set DAS_SRCDIR = $($R1)
Set !STF_SRCDIR_USED = $($R1)
Set !STF_SRCDIR_KEYED = $($R3)
DAS_exit =+
Read-syms ProgressCopy$(!STF_LANGUAGE)
Return $(DAS_Result) $(DAS_SRCDIR)
[UnattendedInstallOption]
read-syms GeneralConstants
read-syms FileConstants
ifstr(i) $(!STF_GUI_UNATTENDED) == "NO"
ifstr(i) $(!STF_UNATTENDED) == "YES"
set !NWACU = "YES"
endif
else-ifstr(i) $(!STF_GUI_UNATTENDED) == "YES"
ifstr(i) $(!NWUnattendedFile) == ""
set !NWACU = "YES"
set !NWUnattendedFile = $(!STF_UNATTENDED)
set !NWUnattendedSection = $(!STF_UNATTENDED_SECTION)
else-ifstr(i) $(!STF_UNATTENDED_SECTION) != ""
set !NWUnattendedSection = $(!STF_UNATTENDED_SECTION)
endif
endif
Return
[Write-Unattended-Variables]
read-syms GeneralConstants
read-syms FileConstants
read-syms InstallOption$(!STF_LANGUAGE)
; If the /U parameter is passed from Setupnw.exe then call this section to set the defaults.
; Add the values in the unattended file to the registry.
set UnattendReturnStatus = STATUS_SUCCESSFUL
ifstr(i) $(!NWUnattendedFile) != ""
LoadLibrary $(LoadDisk3Text) $(!STF_WINDOWSSYSPATH)"\"$(NwSetupDll) NwLibHandle
SetHelpFile $(!STF_WINDOWSSYSPATH)"\nls\"$(!P:NLSDirName)"\nt4setup.hlp" $(!MinimumID) $(!MaximumID)
LibraryProcedure LibResult $(NwLibHandle) NWUnattendedInstall $(!NWUnattendedFile) $(!P:Option)
FreeLibrary $(NwLibHandle)
endif
Return $(UnattendReturnStatus)
[LanguagesSupported]
ENG, ENGLISH
[OptionsTextENG]
WUA = "Remote management"
[FileConstantsENG]
FunctionTitle = "Remote management"
ProductWUADisplayName = "Remote management"
ProductWUADescription = "Remote management allows an administrator to remotely control workstations. It depends on Workstation Manager in order to function."
ProCaption = "Remote management for Windows NT Setup"
ProCancel = "Cancel"
ProCancelMsg = "Remote management for Windows NT is not "+
"correctly installed. Are you sure you want to cancel "+
"copying files?"
ProCancelCap = "Network Setup Message"
ProText1 = "Copying:"
ProText2 = "To:"
[ProgressCopyENG]
!p:ProCaption = "Remote management for Windows NT Setup"
!p:ProCancel = "Cancel"
!p:ProCancelMsg = "Remote management for Windows NT is not "+
"correctly installed. Are you sure you want to cancel "+
"copying files?"
!p:ProCancelCap = "Setup Message"
!p:ProText1 = "Copying:"
!p:ProText2 = "To:"
[InstallOptionENG]
ShellCodeErrorTitle = "Error: Remote management Install"
ShellCodeErrorText = "Shell Code Error"
LoadDisk3Text = "Please load the Novell Client for Windows NT "+
"disk 3 into drive "
NetWareClientNotInstalledMessage = "You must install the Novell Client for Windows NT before this product can be installed."
UnattendFileReadFailed = "Read File Error while trying to read and "+
"initialize either the Novell ACU options and/or the Novell Client parameters "+
"from the Unattended file. The Novell Client parameters will not "+
"be set in the registry, and any ACU installation options will not "+
"install. Press CANCEL to Abort the installation and correct the "+
"syntax errors in the UNATTEND.TXT file. Press OK to manually "+
"complete the install of the Novell NT Client without setting the "+
"Client parameters."
[DoAskSourceENG]
NetWareDlgText = "Please enter the full path to the Novell "+
"Client for Windows NT distribution files. Then choose Continue."
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.