home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / d / d423_liu / 7.ddi / OEMNXPTC.IN_ / OEMNXPTC.IN
Encoding:
INI File  |  1993-07-24  |  55.0 KB  |  1,273 lines

  1. [Identification]
  2.     OptionType = NetTransport
  3. [Options]
  4.     TCPIP
  5. [FileConstants]
  6. Manufacturer    = "Microsoft"
  7. ProductMajorVersion     = "3"
  8. ProductMinorVersion     = "1"
  9. ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  10. NetEventDLL     = "%SystemRoot%\System32\netevent.dll"
  11. IoLogMsgDLL     = "%SystemRoot%\System32\IoLogMsg.dll"
  12. ProductTCPIPName        = "Tcpip"
  13. ProductTCPIPImagePath   = "%SystemRoot%\System32\lmsvcs.exe"
  14. ProductTCPIPSvcType     = "serviceshare"
  15. ProductTCPIPWshDllPath  = "%SystemRoot%\System32\wshtcpip.dll"
  16. Sockmaxlength           = 16
  17. Sockminlength           = 16
  18. NetRuleTCPIPType        = "tcpip tcpipTransport streamsStack"
  19. NetRuleTCPIPUse         = $(SoftwareType)" yes yes"
  20. NetRuleTCPIPBindForm    = """Tcpip"" yes yes container"
  21. NetRuleTCPIPClass       = "tcpipTransport basic yes"
  22. ProductTCPIPSYSName     = "Tcpipsys"
  23. ProductTCPIPSYSImagePath= "\SystemRoot\System32\drivers\tcpip.sys"
  24. ProductTCPIPSYSSvcType  = "kernel"
  25. ProductNBTName          = "Nbt"
  26. ProductNBTImagePath     = "%SystemRoot%\System32\lmsvcs.exe"
  27. ProductNBTSvcType       = "serviceshare"
  28. NetRuleNBTType          = "nbt nbtNbTransport streamsStack"
  29. NetRuleNBTUse           = $(SoftwareType)
  30. NetRuleNBTBindForm      = """NBT"" yes yes container"
  31. NetRuleNBTClassList     = {"nbtNbTransport netBiosTransport yes"}
  32. ProductNBTSYSName       = "Nbtsys"
  33. ProductNBTSYSImagePath  = "\SystemRoot\System32\drivers\nbt.sys"
  34. ProductNBTSYSSvcType    = "kernel"
  35. ProductTELNETName       = "Telnet"
  36. ProductTELNETImagePath  = "%SystemRoot%\System32\lmsvcs.exe"
  37. ProductTELNETSvcType    = "serviceshare"
  38. ProductTELNETSYSName      = "Telnetsys"
  39. ProductTELNETSYSImagePath = "\SystemRoot\System32\drivers\telnet.sys"
  40. ProductTELNETSYSSvcType   = "kernel"
  41. ProductLOOPName         = "Loop"
  42. ProductLOOPImagePath    = " "
  43. ProductLOOPSvcType      = "adapter"
  44. ProductLMHOSTSName      = "LmHosts"
  45. ProductLMHOSTSImagePath  = "%SystemRoot%\System32\lmsvcs.exe"
  46. ProductKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(Product$(Option)Name)"\CurrentVersion"
  47. LinkageKeyName  = $(!NTN_ServiceBase)"\Tcpip\Linkage"
  48. ServiceTCPIPKeyName = $(!NTN_ServiceBase)"\Tcpip"
  49. ServiceKeyName  = $(!NTN_ServiceBase)
  50. DosDevices      = "SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices"
  51. [GeneralConstants]
  52. UtilityInf       = "UTILITY.INF"
  53. subroutineinf    = "SUBROUTN.INF"
  54. IPINFOINF        = "ipinfo.inf"
  55. SoftwareType     = "transport"
  56. Exit_Code        = 0
  57. BillboardVisible = 0
  58. from      = ""
  59. to        = ""
  60. ExitCodeOk     = 0
  61. ExitCodeCancel = 1
  62. ExitCodeFatal  = 2
  63. KeyNull         = ""
  64. MAXIMUM_ALLOWED   = 33554432
  65. SERVICE_NO_CHANGE = 4294967295
  66. RegistryErrorIndex = NO_ERROR
  67. KeyProduct      = ""
  68. KeyParameters   = ""
  69. TRUE            = 1
  70. FALSE           = 0
  71. NoTitle         = 0
  72. ExitState   = "Active"
  73. OldVersionExisted = $(FALSE)
  74. DriverPath      = $(!STF_NTPATH)\drivers
  75. [date]
  76.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  77. [Identify]
  78.     read-syms Identification
  79.     set Status     = STATUS_SUCCESSFUL
  80.     set Identifier = $(OptionType)
  81.     set Media      = #("Source Media Descriptions", 1, 1)
  82.     Return $(Status) $(Identifier) $(Media)
  83. [ReturnOptions]
  84.     set Status        = STATUS_FAILED
  85.     set OptionList     = {}
  86.     set OptionTextList = {}
  87.     set LanguageList = ^(LanguagesSupported, 1)
  88.     Ifcontains(i) $($0) in $(LanguageList)
  89.         goto returnoptions
  90.     else
  91.         set Status = STATUS_NOLANGUAGE
  92.         goto finish_ReturnOptions
  93.     endif
  94. returnoptions = +
  95.     set OptionList     = ^(Options, 1)
  96.     set OptionTextList = ^(OptionsText$($0), 1)
  97.     set Status         = STATUS_SUCCESSFUL
  98. finish_ReturnOptions = +
  99.     Return $(Status) $(OptionList) $(OptionTextList)
  100. [InstallOption]
  101.     set Option   = $($1)
  102.     set SrcDir   = $($2)
  103.     set AddCopy  = $($3)
  104.     set DoCopy   = $($4)
  105.     set DoConfig = $($5)
  106.     set LanguageList = ^(LanguagesSupported, 1)
  107.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  108.         Return STATUS_NOLANGUAGE
  109.     endif
  110.     Debug-Output "OEMNXPTC.INF: STF_CWDIR is: "$(!STF_CWDIR)
  111.     Debug-Output "OEMNXPTC.INF: STF_LANGUAGE is: "$(!STF_LANGUAGE)
  112.     set-subst LF = "\n"
  113.     read-syms GeneralConstants
  114.     read-syms FileConstants
  115.     read-syms DialogConstants$(!STF_LANGUAGE)
  116.     ifstr(i) $(!NTN_Origination) == "NCPA"
  117.         set Continue = $(OK)
  118.     endif
  119.     read-syms FileConstants$(!STF_LANGUAGE)
  120.     detect date
  121.     set-title  $(FunctionTitle)
  122.     set to   = Begin
  123.     set from = Begin
  124.     set CommonStatus = STATUS_SUCCESSFUL
  125.     EndWait
  126. Begin = +
  127.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  128.         set StartLabel = removeadapter
  129.         set OEM_ABANDON_OPTIONS = {+
  130.             $(ProductTCPIPSYSName),+
  131.             $(ProductNBTSYSName),+
  132.             $(ProductTELNETName),+
  133.             $(ProductLMHOSTSName),+
  134.             $(ProductTELNETSYSName),+
  135.             $(ProductLOOPName)}
  136.         set OEM_ABANDON_SOFTWARE = {+
  137.             $(ProductTCPIPName),+
  138.             $(ProductNBTName),+
  139.             "Streams"}
  140.     else-Ifstr(i) $(!NTN_InstallMode) == Update
  141.         set StartLabel = UpgradeSoftware
  142.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  143.         set IPAddressList  = {}
  144.         set SubnetMaskList = {}
  145.         set StartLabel = configureadapter
  146.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  147.         Shell $(IPINFOINF), GetIPInfo 
  148.         Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  149.         Else
  150.             set DefaultGateway = $($R0)
  151.             set IPAddressList  = $($R1)
  152.             set SubnetMaskList = $($R2)
  153.         Endif
  154.         set StartLabel = bindingadapter
  155.     else
  156.         set StartLabel = installadapter
  157.         set OEM_ABANDON_SOFTWARE = {}
  158.         set OEM_ABANDON_OPTIONS = {}
  159.     endif
  160.     set from = $(fatal)
  161.     set to = $(fatal)
  162.     goto $(StartLabel)
  163. installadapter = +
  164.     ifstr(i) $(!NTN_InstallMode) == "install"
  165.         Ifstr(i) $(DoCopy) == "YES"
  166.            Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  167.            Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  168.                Goto ShellCodeError
  169.            Else-Ifstr(i) $($R0) == STATUS_FAILED
  170.                Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  171.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  172.                    goto ShellCodeError
  173.                endif
  174.                set Error = $($R0)
  175.                Goto fatal
  176.            Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  177.                Goto successful
  178.            Endif
  179.            Set SrcDir = $($R1)
  180.         Endif
  181.         Set !LMHOST_SRCDIR = $(SrcDir)
  182.         Debug-Output "OEMNXPTC.INF: installadapter: installing [Install-Option]"
  183.         install "Install-Option"
  184.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  185.            Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  186.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  187.                goto ShellCodeError
  188.            endif
  189.            set Error = $($R0)
  190.            goto fatal
  191.         endif
  192.     endif
  193.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  194.     Ifstr $(KeyProduct) != $(KeyNull)
  195.         CloseRegKey $(KeyProduct)
  196.         Shell $(UtilityInf), VerExistedDlg, $(Product$(Option)Title),+
  197.             $(ProductVersion)
  198.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  199.             Debug-Output "OEMNXPTC.INF: ShellCode error: cannot get an error string."
  200.             goto ShellCodeError
  201.         endif
  202.         goto end
  203.     endif
  204.     set OEM_ABANDON_ON  = TRUE
  205.     read-syms Billboard1$(!STF_LANGUAGE)
  206.     Shell "subroutn.inf" PushBillboard NETSTATUSDLG $(Status)
  207.     Set BillboardVisible = 1
  208.     Set DoTcp       = FALSE
  209.     Set DoTcpipSys  = FALSE
  210.     Set DoLMHOSTS   = FALSE
  211.     Set DoNbt       = FALSE
  212.     Set DoNbtSys    = FALSE
  213.     Set DoAFD       = FALSE
  214.     Set DoTelnet    = FALSE
  215.     Set DoLoop      = FALSE
  216.     Set DoStreams   = FALSE
  217.     Set DoTelNetSys = FALSE
  218.     Ifstr(i) $(Option) == TCPIP
  219.         Set DoTcp      = TRUE
  220.         Set DoTcpipSys = TRUE
  221.         Set DoLMHOSTS  = TRUE
  222.         Set DoNbt      = TRUE
  223.         Set DoNbtSys   = TRUE
  224.         Set DoAFD      = TRUE
  225.         Set DoTelnet   = TRUE
  226.         Set DoLoop     = TRUE
  227.         Set DoStreams  = TRUE
  228.         Set DoTelNetSys  = TRUE
  229.         Set DoTcpipSvc = TRUE
  230.     Else-ifstr(i) $(Option) == NBT
  231.         Set DoNbt = TRUE
  232.     Else-ifstr(i) $(Option) == TELNET
  233.         Set DoTelnet    = TRUE
  234.     Else
  235.         Debug-Output "OEMNXPTC.INF: Unrecognized option"
  236.     Endif
  237.     StartWait
  238.     ifstr(i) $(DoTcp) == TRUE
  239.         Set ThisOption = TCPIP
  240.         Set OEM_ABANDON_SOFTWARE = >($(OEM_ABANDON_SOFTWARE), $(Product$(ThisOption)Name))
  241.         Debug-Output "OEMNXPTC.INF: installing TCP/IP."
  242.         Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer),+
  243.             $(Product$(ThisOption)Name),+
  244.             $(Product$(ThisOption)Name),+
  245.             $(Product$(ThisOption)DisplayName), $(STF_CONTEXTINFNAME),+
  246.             $(Product$(ThisOption)ImagePath),+
  247.             $(Product$(ThisOption)SvcType),+
  248.             "", {"Tcpipsys"}, ""
  249.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  250.             Debug-Output "OEMNXPTC.INF: ShellCode error, add software component"
  251.             goto ShellCodeError
  252.         endif
  253.         set RegistryErrorIndex = $($R0)
  254.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  255.             EndWait
  256.             Debug-Output "OEMNXPTC.INF: Registry error: add software components"
  257.             CloseRegKey $($R1)
  258.             CloseRegKey $($R2)
  259.             CloseRegKey $($R3)
  260.             CloseRegKey $($R4)
  261.             CloseRegKey $($R5)
  262.             goto fatalregistry
  263.         endif
  264.         Set TcpVersKeyHandle  = $($R1)
  265.         Set TcpRulesKeyHandle = $($R2)
  266.         Set TcpSvcKeyHandle   = $($R3)
  267.         Set TcpParmKeyHandle  = $($R4)
  268.         Set TcpLinkageHandle  = $($R5)
  269.         set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  270.                            {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  271.                            {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  272.                            {Title,$(NoTitle),$(!REG_VT_SZ),$(Product$(ThisOption)Title)},+
  273.                            {Description,$(NoTitle),$(!REG_VT_SZ),$(Product$(ThisOption)Description)},+
  274.                            {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(Product$(ThisOption)Name)},+
  275.                            {Review,$(NoTitle),$(!REG_VT_DWORD),1},+
  276.                            {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  277.         Shell  $(UtilityInf), AddValueList, $(TcpVersKeyHandle), $(NewValueList)
  278.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  279.             Debug-Output "OEMNXPTC.INF: ShellCode error, add value list"
  280.             goto ShellCodeError
  281.         endif
  282.         set RegistryErrorIndex = $($R0)
  283.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  284.             EndWait
  285.             Debug-Output "OEMNXPTC.INF: Registry error: add value list."
  286.             CloseRegKey $(TcpVersKeyHandle)
  287.             CloseRegKey $(TcpRulesKeyHandle)
  288.             CloseRegKey $(TcpSvcKeyHandle)
  289.             CloseRegKey $(TcpParmKeyHandle)
  290.             CloseRegkey $(TcpLinkageHandle)
  291.             goto fatalregistry
  292.         Endif
  293.         set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRule$(ThisOption)Type)},+
  294.                             {use,$(NoTitle),$(!REG_VT_SZ),$(NetRule$(ThisOption)Use)},+
  295.                             {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRule$(ThisOption)BindForm)},+
  296.                             {class,$(NoTitle),$(!REG_VT_SZ),$(NetRule$(ThisOption)Class)},+
  297.                             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(ThisOption)}}
  298.         Shell  $(UtilityInf), AddValueList, $(TcpRulesKeyHandle), $(NewValueList)
  299.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  300.             Debug-Output "OEMNXPTC.INF: ShellCode error."
  301.             goto ShellCodeError
  302.         endif
  303.         set RegistryErrorIndex = $($R0)
  304.         CloseRegKey $(TcpVersKeyHandle)
  305.         CloseRegKey $(TcpRulesKeyHandle)
  306.         set NewValueList = {{DNSLookupOrder,$(NoTitle),$(!REG_VT_DWORD),4},+
  307.                             {DataBasePath,$(NoTitle),$(!REG_VT_EXPAND_SZ),"%SystemRoot%\System32\drivers\etc"}}
  308.         Shell  $(UtilityInf), AddValueList, $(TcpParmKeyHandle), $(NewValueList)
  309.         CloseRegKey $(TcpParmKeyHandle)
  310.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  311.             CloseRegKey $(TcpLinkageHandle)
  312.             CloseRegKey $(TcpSvcKeyHandle)
  313.             EndWait
  314.             Debug-Output "OEMNXPTC.INF: Registry error: add value list."
  315.             goto fatalregistry
  316.         endif
  317.         Set NewValueList = {{OtherDependencies,$(NoTitle),$(!REG_VT_MULTI_SZ),{"Tcpipsys"}}}
  318.         Shell  $(UtilityInf), AddValueList, $(TcpLinkageHandle), $(NewValueList)
  319.         CloseRegKey $(TcpLinkageHandle)
  320.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  321.             CloseRegKey $(TcpSvcKeyHandle)
  322.             Debug-Output "OEMNXPTC.INF: ShellCode error."
  323.             goto ShellCodeError
  324.         endif
  325.         Shell "" CreateTcpipConfiguration $(TcpSvcKeyHandle)
  326.         CloseRegKey $(TcpSvcKeyHandle)
  327.         Set RegistryErrorIndex = $($R0)
  328.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  329.             EndWait
  330.             Debug-Output "OEMNXPTC.INF: Registry error: Create TCPIP configuration."
  331.             goto fatalregistry
  332.         endif
  333.         Shell "" CreateEventLog, "TcpipSvc", $(NetEventDLL), 7
  334.         Shell $(UtilityInf) AddRpcProtocol "ncacn_ip_tcp" "rpcltc3.dll" "rpclts3.dll"
  335.         Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  336.             Debug-Output "OEMNXPTC.INF: ShellCode error adding RPC procotol"
  337.             goto ShellCodeError
  338.         Endif
  339.         Set RegistryErrorIndex = $($R0)
  340.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  341.             Debug-Output "OEMNXPTC.INF: ERROR adding RPC protocol data"
  342.             EndWait
  343.             goto fatalregistry
  344.         Endif
  345.         Shell $(UtilityInf) AddRpcProtocol "ncacn_nb_tcp" "rpcltc5.dll" "rpclts5.dll"
  346.         Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  347.             Debug-Output "OEMNXPTC.INF: ShellCode error adding RPC procotol (2)"
  348.             goto ShellCodeError
  349.         endif
  350.         Set RegistryErrorIndex = $($R0)
  351.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  352.             Debug-Output "OEMNXPTC.INF: ERROR adding RPC protocol data (2)"
  353.             EndWait
  354.             goto fatalregistry
  355.         Endif
  356.         Shell $(UtilityInf), AddWinsockInfo, +
  357.              $(Product$(ThisOption)Name), +
  358.              $(Product$(ThisOption)WshDllPath), +
  359.              $(Sockmaxlength),$(Sockminlength)
  360.         set RegistryErrorIndex = $($R0)
  361.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  362.             Debug-Output "OEMNXPTC.INF: Registry error: Add Winsock Info."
  363.         Endif
  364.     Endif
  365.     Ifstr(i) $(DoLMHOSTS) == TRUE
  366.         Debug-Output "OEMNXPTC.INF: Install LmHosts registry"
  367.         Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(ProductLMHOSTSName))
  368.         Shell $(UtilityInf), CreateService, $(ProductLMHOSTSName), +
  369.             $(ProductLMHOSTSDisplayName), $(ProductLMHOSTSImagePath), +
  370.             "autoserviceshare", "", {"+NetworkProvider"}, "LocalSystem",+
  371.             $(NetEventDLL)
  372.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  373.             Debug-Output "OEMNXPTC.INF: ShellCode error"
  374.             goto ShellCodeError
  375.         endif
  376.         set RegistryErrorIndex = $($R0)
  377.         CloseRegKey $($R1)
  378.         CloseRegKey $($R2)
  379.         CloseRegKey $($R3)
  380.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  381.             EndWait
  382.             Debug-Output "OEMNXPTC.INF: Registry error: add software components"
  383.             goto fatalregistry
  384.         endif
  385.         ForListDo {"Browser","NetLogon"}
  386.             OpenRegKey $(!REG_H_LOCAL) "" "System\CurrentControlSet\Services\"$($) $(MAXIMUM_ALLOWED) ServicesKey
  387.             ifstr(i) $(ServicesKey) != ""
  388.                 GetRegValue $(ServicesKey) "DependOnService" ServicesList
  389.                 debug-output "DependOnService:"$(ServicesList)
  390.                 set ServiceValues = *($(ServicesList),4)
  391.                 debug-output "DependOnService:"$(ServiceValues)
  392.                 ifstr(i) $(ServiceValues) == {}
  393.                     Set ServiceValues = {"LmHosts"}
  394.                     LibraryProcedure Result, $(!LIBHANDLE), SetupChangeServiceConfig, $($), $(SERVICE_NO_CHANGE), $(SERVICE_NO_CHANGE), $(SERVICE_NO_CHANGE), "", "", $(ServiceValues), "", "", ""
  395.                 else-ifstr(i) $(ServiceValues) == ""
  396.                     Set ServiceValues = {"LmHosts"}
  397.                     LibraryProcedure Result, $(!LIBHANDLE), SetupChangeServiceConfig, $($), $(SERVICE_NO_CHANGE), $(SERVICE_NO_CHANGE), $(SERVICE_NO_CHANGE), "", "", $(ServiceValues), "", "", ""
  398.                 else-ifcontains(i) "LMHOSTS" in $(ServiceValues)
  399.                 else
  400.                     Set ServiceValues = >($(ServiceValues), "LmHosts")
  401.                     LibraryProcedure Result, $(!LIBHANDLE), SetupChangeServiceConfig, $($), $(SERVICE_NO_CHANGE), $(SERVICE_NO_CHANGE), $(SERVICE_NO_CHANGE), "", "", $(ServiceValues), "", "", ""
  402.                 endif
  403.                 CloseRegKey $(ServicesKey)
  404.             endif
  405.         EndForListDo
  406.     endif
  407.     Ifstr(i) $(DoTcpipSys) == TRUE
  408.         Set ThisOption = TCPIPSYS
  409.         Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(Product$(ThisOption)Name))
  410.         Debug-Output "OEMNXPTC.INF: installing TCPIPSVC..."
  411.         Shell $(UtilityInf), CreateService, $(Product$(ThisOption)Name),+
  412.             $(Product$(ThisOption)DisplayName),+
  413.             $(Product$(ThisOption)ImagePath),+
  414.             $(Product$(ThisOption)SvcType) "",+
  415.             {"Streams"}, "", $(NetEventDLL)
  416.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  417.             Debug-Output "OEMNXPTC.INF: ShellCode error"
  418.             goto ShellCodeError
  419.         endif
  420.         set RegistryErrorIndex = $($R0)
  421.         CloseRegKey $($R2)
  422.         CloseRegKey $($R3)
  423.         Set TcpipSysSvcKeyHandle = $($R1)
  424.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  425.             EndWait
  426.             CloseRegKey $(TcpipSysSvcKeyHandle)
  427.             CloseRegKey $($R2)
  428.             CloseRegKey $($R3)
  429.             Debug-Output "OEMNXPTC.INF: Registry error: add software components"
  430.             goto fatalregistry
  431.         endif
  432.         CreateRegKey $(TcpipSysSvcKeyHandle) {"Performance",$(NoTitle),GenericClass} "" +
  433.                 $(MAXIMUM_ALLOWED) "" KeyPerformance
  434.         set NewValueList = {{Library,$(NoTitle),$(!REG_VT_SZ),"Perfctrs.dll"},+
  435.                            {Open,$(NoTitle),$(!REG_VT_SZ),"OpenTcpIpPerformanceData"},+
  436.                            {Collect,$(NoTitle),$(!REG_VT_SZ),"CollectTcpIpPerformanceData"},+
  437.                            {Close,$(NoTitle),$(!REG_VT_SZ),"CloseTcpIpPerformanceData"}}
  438.         Shell  $(UtilityInf), AddValueList, $(KeyPerformance), $(NewValueList)
  439.         set RegistryErrorIndex = $($R0)
  440.         CloseRegKey $(TcpipSysSvcKeyHandle)
  441.         CloseRegKey $(KeyPerformance)
  442.         Ifstr $(RegistryErrorIndex) != NO_ERROR
  443.             goto fatalRegistry
  444.         Endif
  445.     Endif
  446.     Ifstr(i) $(DoLoop) == TRUE
  447.         Set ThisOption = LOOP
  448.         Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(Product$(ThisOption)Name))
  449.         Debug-Output "OEMNXPTC.INF: installing Loop..."
  450.         Shell $(UtilityInf), CreateService, $(Product$(ThisOption)Name),+
  451.             $(Product$(ThisOption)DisplayName),+
  452.             $(Product$(ThisOption)ImagePath),+
  453.             $(Product$(ThisOption)SvcType), "", {}, ""
  454.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  455.             Debug-Output "OEMNXPTC.INF: ShellCode error"
  456.             goto ShellCodeError
  457.         endif
  458.         set RegistryErrorIndex = $($R0)
  459.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  460.             EndWait
  461.             Debug-Output "OEMNXPTC.INF: Registry error: Create Service components"
  462.             CloseRegKey $($R1)
  463.             CloseRegKey $($R2)
  464.             CloseRegKey $($R3)
  465.             goto fatalregistry
  466.         endif
  467.         Set LoopServiceKey = $($R1)
  468.         Set LoopParameterKey = $($R2)
  469.         Set LoopLinkageKey = $($R3)
  470.         CreateRegKey $(LoopParameterKey) {"TCPIP",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyLoopTCPIP
  471.         Shell $(UtilityInf) AddValueList, $(KeyLoopTCPIP),+
  472.             {{"AdapterType", $(NoTitle), $(!REG_VT_SZ), "loop"},+
  473.             {"IPAddress", $(NoTitle), $(!REG_VT_SZ), "127.0.0.1"}}
  474.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  475.             Debug-Output "OEMNXPTC.INF: ShellCode error"
  476.             goto ShellCodeError
  477.         endif
  478.         set RegistryErrorIndex = $($R0)
  479.         CloseRegKey $(LoopServiceKey)
  480.         CloseRegKey $(LoopParameterKey)
  481.         CloseRegKey $(LoopLinkageKey)
  482.         CloseRegKey $(KeyLoopTCPIP)
  483.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  484.             EndWait
  485.             Debug-Output "OEMNXPTC.INF: Registry error: add value list."
  486.             goto fatalregistry
  487.         endif
  488.     endif
  489.     Ifstr(i) $(DoNbt) == TRUE
  490.         Set ThisOption = NBT
  491.         Set OEM_ABANDON_SOFTWARE = >($(OEM_ABANDON_SOFTWARE), $(Product$(ThisOption)Name))
  492.         Debug-Output "OEMNXPTC.INF: installing NBT..."
  493.         Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer),+
  494.             $(Product$(ThisOption)Name),+
  495.             $(Product$(ThisOption)Name),+
  496.             $(Product$(ThisOption)DisplayName), $(STF_CONTEXTINFNAME),+
  497.             $(Product$(ThisOption)ImagePath), $(Product$(ThisOption)SvcType), "TDI", {}, ""
  498.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  499.             Debug-Output "OEMNXPTC.INF: ShellCode error"
  500.             goto ShellCodeError
  501.         endif
  502.         set RegistryErrorIndex = $($R0)
  503.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  504.             EndWait
  505.             Debug-Output "OEMNXPTC.INF: Registry error: add software components"
  506.             CloseRegKey $($R1)
  507.             CloseRegKey $($R2)
  508.             CloseRegKey $($R3)
  509.             CloseRegKey $($R4)
  510.             CloseRegKey $($R5)
  511.             goto fatalregistry
  512.         endif
  513.         Set NBTProductKey       = $($R1)
  514.         Set NBTNetRuleKey       = $($R2)
  515.         Set NBTServiceKey       = $($R3)
  516.         Set NBTParameterKey     = $($R4)
  517.         Set NBTLinkageKey       = $($R5)
  518.         set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  519.                            {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  520.                            {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  521.                            {Title,$(NoTitle),$(!REG_VT_SZ),$(Product$(ThisOption)Title)},+
  522.                            {Description,$(NoTitle),$(!REG_VT_SZ),$(Product$(ThisOption)Description)},+
  523.                            {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(Product$(ThisOption)Name)},+
  524.                            {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  525.         Shell  $(UtilityInf), AddValueList, $(NBTProductKey), $(NewValueList)
  526.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  527.             Debug-Output "OEMNXPTC.INF: ShellCode error."
  528.             goto ShellCodeError
  529.         endif
  530.         set RegistryErrorIndex = $($R0)
  531.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  532.             EndWait
  533.             Debug-Output "OEMNXPTC.INF: Registry error: add value list."
  534.             CloseRegKey $(NBTProductKey)
  535.             CloseRegKey $(NBTNetRuleKey)
  536.             CloseRegKey $(NBTServiceKey)
  537.             CloseRegKey $(NBTParameterKey)
  538.             CloseRegKey $(NBTLinkageKey)
  539.             goto fatalregistry
  540.         endif
  541.         set NewValueList = {{OtherDependencies,$(NoTitle),$(!REG_VT_MULTI_SZ),{"Tcpip","Nbtsys"}}}
  542.         Shell  $(UtilityInf), AddValueList, $(NBTLinkageKey), $(NewValueList)
  543.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  544.             Debug-Output "OEMNXPTC.INF: ShellCode error."
  545.             goto ShellCodeError
  546.         endif
  547.         set RegistryErrorIndex = $($R0)
  548.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  549.             EndWait
  550.             Debug-Output "OEMNXPTC.INF: Registry error: add value list."
  551.             CloseRegKey $(NBTProductKey)
  552.             CloseRegKey $(NBTNetRuleKey)
  553.             CloseRegKey $(NBTServiceKey)
  554.             CloseRegKey $(NBTParameterKey)
  555.             CloseRegKey $(NBTLinkageKey)
  556.             goto fatalregistry
  557.         endif
  558.         set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRule$(ThisOption)Type)},+
  559.                             {use,$(NoTitle),$(!REG_VT_SZ),$(NetRule$(ThisOption)Use)},+
  560.                             {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRule$(ThisOption)BindForm)},+
  561.                             {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRule$(ThisOption)ClassList)},+
  562.                             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(ThisOption)}}
  563.         Shell  $(UtilityInf), AddValueList, $(NBTNetRuleKey), $(NewValueList)
  564.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  565.             Debug-Output "OEMNXPTC.INF: ShellCode error."
  566.             goto ShellCodeError
  567.         endif
  568.         set RegistryErrorIndex = $($R0)
  569.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  570.             EndWait
  571.             Debug-Output "OEMNXPTC.INF: Registry error: add value list."
  572.             CloseRegKey $(NBTProductKey)
  573.             CloseRegKey $(NBTNetRuleKey)
  574.             CloseRegKey $(NBTServiceKey)
  575.             CloseRegKey $(NBTParameterKey)
  576.             CloseRegKey $(NBTLinkageKey)
  577.             goto fatalregistry
  578.         endif
  579.         Set NewValueList = {{NbProvider,$(NoTitle),$(!REG_VT_SZ),"_tcp"},+
  580.                 {EndPoint,$(NoTitle),$(!REG_VT_DWORD),1}}
  581.         Shell  $(UtilityInf), AddValueList, $(NBTParameterKey), $(NewValueList)
  582.         Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  583.             Debug-Output "OEMNXPTC.INF: ShellCode error."
  584.             goto ShellCodeError
  585.         Endif
  586.         set RegistryErrorIndex = $($R0)
  587.         CloseRegKey $(NBTProductKey)
  588.         CloseRegKey $(NBTNetRuleKey)
  589.         CloseRegKey $(NBTServiceKey)
  590.         CloseRegKey $(NBTParameterKey)
  591.         CloseRegKey $(NBTLinkageKey)
  592.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  593.             EndWait
  594.             Debug-Output "OEMNXPTC.INF: Registry error: add value list."
  595.             goto fatalregistry
  596.         endif
  597.         Shell "" CreateEventLog, "NbtSvc", $(NetEventDLL), 7
  598.     Endif
  599.     Ifstr(i) $(DoNbtSys) == TRUE
  600.         Set ThisOption = NBTSYS
  601.         Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(Product$(ThisOption)Name))
  602.         Debug-Output "OEMNXPTC.INF: installing NBTSYS..."
  603.         Shell $(UtilityInf), CreateService, $(Product$(ThisOption)Name),+
  604.             $(Product$(ThisOption)DisplayName),+
  605.             $(Product$(ThisOption)ImagePath),+
  606.             $(Product$(ThisOption)SvcType), "", {"Streams"}, "",+
  607.             $(NetEventDLL)
  608.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  609.             Debug-Output "OEMNXPTC.INF: ShellCode error"
  610.             goto ShellCodeError
  611.         endif
  612.         set RegistryErrorIndex = $($R0)
  613.         CloseRegKey $($R1)
  614.         CloseRegKey $($R2)
  615.         CloseRegKey $($R3)
  616.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  617.             EndWait
  618.             Debug-Output "OEMNXPTC.INF: Registry error: add software components"
  619.             goto fatalregistry
  620.         endif
  621.     Endif
  622.     Ifstr(i) $(DoAFD) == TRUE
  623.         Shell $(UtilityInf) AddAFD
  624.     Endif
  625.     Ifstr(i) $(DoTelnet) == TRUE
  626.         Set ThisOption = TELNET
  627.         Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(Product$(ThisOption)Name))
  628.         Debug-Output "OEMNXPTC.INF: installing TELNET..."
  629.         Shell $(UtilityInf), CreateService, $(Product$(ThisOption)Name),+
  630.             $(Product$(ThisOption)DisplayName),+
  631.             $(Product$(ThisOption)ImagePath),+
  632.             $(Product$(ThisOption)SvcType), "",+
  633.             {"Tcpip","Telnetsys","Afd"}, ""
  634.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  635.             Debug-Output "OEMNXPTC.INF: ShellCode error"
  636.             goto ShellCodeError
  637.         endif
  638.         set RegistryErrorIndex = $($R0)
  639.         CloseRegKey $($R1)
  640.         CloseRegKey $($R2)
  641.         CloseRegKey $($R3)
  642.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  643.             EndWait
  644.             vDebug-Output "OEMNXPTC.INF: Registry error creating TELNET service"
  645.             goto fatalregistry
  646.         endif
  647.         Ifstr(i) $(!STF_PRODUCT) == "LANMANNT"
  648.             Set AclIndex = 4
  649.         Else
  650.             Set AclIndex = 3
  651.         Endif
  652.         LibraryProcedure DontCare $(!NCPA_HANDLE), CPlSetup $(!STF_HWND),+
  653.               SECURESVC, $(Product$(ThisOption)Name), $(AclIndex)
  654.         OpenRegKey $(!REG_H_LOCAL) "" $(DosDevices) $(MAXIMUM_ALLOWED) DosDevicesKey
  655.         ifstr(i) $(DosDevicesKey) != $(KeyNull)
  656.             Shell $(UtilityInf) AddValueList, $(DosDevicesKey),+
  657.                 {{"TELNET", $(NoTitle), $(!REG_VT_SZ), "\Device\Telnet"}}
  658.             CloseRegKey $(DosDevicesKey)
  659.         endif
  660.     Endif
  661.     Ifstr(i) $(DoTelNetSys) == TRUE
  662.         Set ThisOption = TELNETSYS
  663.         Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(Product$(ThisOption)Name))
  664.         Debug-Output "OEMNXPTC.INF: installing TelNetSys..."
  665.         Shell $(UtilityInf), CreateService, $(Product$(ThisOption)Name),+
  666.             $(Product$(ThisOption)DisplayName),+
  667.             $(Product$(ThisOption)ImagePath),+
  668.             $(Product$(ThisOption)SvcType), "", {}, ""
  669.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  670.             Debug-Output "OEMNXPTC.INF: ShellCode error"
  671.             goto ShellCodeError
  672.         endif
  673.         set RegistryErrorIndex = $($R0)
  674.         CloseRegKey $($R1)
  675.         CloseRegKey $($R2)
  676.         CloseRegKey $($R3)
  677.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  678.             EndWait
  679.             Debug-Output "OEMNXPTC.INF: Registry error: add software components"
  680.             goto fatalregistry
  681.         endif
  682.         Shell "" CreateEventLog, "TelnetService", $(NetEventDLL), 7
  683.     Endif
  684.     Ifint $(BillboardVisible) != 0
  685.         Shell "subroutn.inf" PopBillboard
  686.         Set BillboardVisible = 0
  687.     Endif
  688.     EndWait
  689.     Ifstr(i) $(DoStreams) == TRUE
  690.         Set ThisOption = STREAMS
  691.         Set OEM_ABANDON_SOFTWARE = >($(OEM_ABANDON_SOFTWARE), "Streams")
  692.         Debug-Output "OEMNXPTC.INF: installing STREAMS..."
  693.         Set !STF_SRCDIR_OVERRIDE = $(SrcDir)
  694.         Shell $(UtilityInf) AddStreams
  695.         Set !STF_SRCDIR_OVERRIDE = ""
  696.         set RegistryErrorIndex = $($R0)
  697.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  698.             EndWait
  699.             goto fatalregistry
  700.         endif
  701.     Endif
  702.     goto successful
  703. configureadapter = +
  704.     ifstr(i) $(Option) == "TCPIP"
  705.         OpenRegKey $(!REG_H_LOCAL) "" $(LinkageKeyName) $(MAXIMUM_ALLOWED) LinkageKey
  706.         GetRegValue $(LinkageKey) "Bind" BindList
  707.         ifstr(i) $(BindList) == {}
  708.            Set BindList = ""
  709.         endif
  710.         ifstr(i) $(BindList) == ""
  711.             debug-output "OEMNXPTC.INF: no binding info; warning user"
  712.             read-syms InfoDlgCantConfigure
  713.             goto infomsg
  714.         endif
  715.         set OldVersionExisted = $(TRUE )
  716.         set CardList = ""
  717.         set CardCount = 0
  718.         ForListDo *($(BindList),4)
  719.             Split-String $($), "\", BindInfo
  720.             set CardName = *($(BindInfo),6)
  721.             OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"*($(BindInfo),6) $(MAXIMUM_ALLOWED) CardServiceKey
  722.             ifstr(i) $(CardServiceKey) != ""
  723.                 CloseRegKey $(CardServiceKey)
  724.                 set-add CardCount = $(CardCount),1
  725.                 ifstr $(CardList) == ""
  726.                     set CardList = $(CardName)
  727.                 else
  728.                     set CardList = $(CardList)"@"$(CardName)
  729.                 endif
  730.                 set DefaultIPAddress = *($(IPAddressList),$(CardCount))
  731.                 set DefaultSubnetMask = *($(SubnetMaskList),$(CardCount))
  732.                 ifstr(i) $(DefaultIPAddress) == ""
  733.                     ifstr(i) $(DefaultSubnetMask) == ""
  734.                         goto SkipSetDefault
  735.                     endif
  736.                 endif
  737.                 OpenRegKey $(!REG_H_LOCAL) "" "System\CurrentControlSet\Services\"$(CardName)"\Parameters" $(MAXIMUM_ALLOWED) ServiceParamKey
  738.                 ifstr(i) $(ServiceParamKey) != ""
  739.                     OpenRegKey $(ServiceParamKey) "" "TCPIP" $(MAXIMUM_ALLOWED) TCPIPKey
  740.                     ifstr(i) $(TCPIPKey) == ""
  741.                         CreateRegKey $(ServiceParamKey) {"TCPIP",$(NoTitle),GenericClass} "" +
  742.                         $(MAXIMUM_ALLOWED) "" TCPIPKey
  743.                     endif
  744.                     ifstr(i) $(TCPIPKey) != ""
  745.                         ifstr(i) $(DefaultIPAddress) != ""
  746.                             set IPAddressInfo = {}
  747.                             GetRegValue $(TCPIPKey) "IPAddress" IPAddressInfo
  748.                             set IPAddress = *($(IPAddressInfo), 4)
  749.                             ifstr(i) $(IPAddress) == ""
  750.                                 set NewValueList = {{IPAddress,$(NoTitle),$(!REG_VT_SZ),$(DefaultIPAddress)}}
  751.                                 Shell  $(UtilityInf), AddValueList, $(TCPIPKey), $(NewValueList)
  752.                                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  753.                                     Debug-Output "OEMNXPTC.INF: ShellCode error: cannot write default subnet mask error."
  754.                                     goto ShellCodeError
  755.                                 endif
  756.                             endif
  757.                         endif
  758.                         ifstr(i) $(DefaultSubnetMask) != ""
  759.                             set SubnetMasInfo = {}
  760.                             GetRegValue $(TCPIPKey) "SubnetMask" SubnetMaskInfo
  761.                             set SubnetMask = *($(SubnetMaskInfo), 4)
  762.                             ifstr(i) $(SubnetMask) == ""
  763.                                 set NewValueList = {{SubnetMask,$(NoTitle),$(!REG_VT_SZ),$(DefaultSubnetMask)}}
  764.                                 Shell  $(UtilityInf), AddValueList, $(TCPIPKey), $(NewValueList)
  765.                                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  766.                                     Debug-Output "OEMNXPTC.INF: ShellCode error: cannot write default subnet mask error."
  767.                                     goto ShellCodeError
  768.                                 endif
  769.                             endif
  770.                         endif
  771.                     endif
  772.                     CloseRegKey $(TCPIPKey)
  773.                 endif
  774.             endif
  775. SkipSetDefault = +
  776.         EndForListDo
  777.         set FLibraryErrCtl = 1
  778.         ifstr(i) $(CardList) != ""
  779.             LibraryProcedure ResultList, $(!NCPA_HANDLE), CPlTcpip, $(!STF_HWND), $(CardList), $(!STF_COMPUTERNAME), ""
  780.             set FLibraryErrCtl = 0
  781.             Set Result = *($(ResultList),1)
  782.             ifint $(Result) == 2
  783.                 set CommonStatus = STATUS_REBOOT
  784.             else
  785.                 set CommonStatus = STATUS_USERCANCEL
  786.             endif
  787.         else
  788.             set CommonStatus = STATUS_USERCANCEL
  789.         endif
  790.     else
  791.         Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  792.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  793.             Debug-Output "OEMNXPTC.INF: ShellCode error: cannot get an error string."
  794.             goto ShellCodeError
  795.         endif
  796.         set Error = $($R0)
  797.         set from = end
  798.         set to = end
  799.         goto nonfatalinfo
  800.     endif
  801.     goto end
  802. bindingadapter =+
  803.     set FLibraryErrCtl = 1
  804.     LibraryProcedure ResultList, $(!NCPA_HANDLE), CPlSetup, $(!STF_HWND), TCPCFGCHK
  805.     set FLibraryErrCtl = 0
  806.     Set Result = *($(ResultList),1)
  807.     ifint $(Result) == 0
  808.         Debug-Output "OEMNXPTC.INF:  reconfiguration not required"
  809.         set CommonStatus = STATUS_USERCANCEL
  810.         goto successful
  811.     else
  812.         Debug-Output "OEMNXPTC.INF:  reconfiguration required"
  813.     endif
  814.     ifstr(i) $(DefaultGateway) != ""
  815.         OpenRegKey $(!REG_H_LOCAL) "" $(ServiceTCPIPKeyName)"\Parameters" $(MAXIMUM_ALLOWED) KeyTCPIPParameters
  816.         ifstr(i) $(KeyTCPIPParameters) != ""
  817.             GetRegValue $(KeyTCPIPParameters) "DefaultGateway" DefaultGatewayList
  818.             set DefaultGatewayValue = *($(DefaultGatewayList),4)
  819.             ifstr(i) $(DefaultGatewayValue) != ""
  820.                 set NewValueList = {{DefaultGateway,$(NoTitle),$(!REG_VT_SZ),$(DefaultGateway)}}
  821.                 Shell  $(UtilityInf), AddValueList, $(KeyTCPIPParameters), $(NewValueList)
  822.             endif
  823.             CloseRegKey $(KeyTCPIPParameters)
  824.         endif
  825.     endif
  826.     goto configureadapter
  827. removeadapter = +
  828.     Shell $(UtilityInf) RemoveRpcProtocol "ncacn_ip_tcp"
  829.     Ifstr(i) $($0) != NO_ERROR
  830.         Debug-Output "OEMNXPTC.INF: ERROR deleting RPC protocol data"
  831.     Endif
  832.     Shell $(UtilityInf) RemoveRpcProtocol "ncacn_nb_tcp"
  833.     Ifstr(i) $($0) != NO_ERROR
  834.         Debug-Output "OEMNXPTC.INF: ERROR deleting RPC protocol data (2)"
  835.     Endif
  836.     ForListDo  $(OEM_ABANDON_SOFTWARE)
  837.         debug-output "Remove component: "$($)
  838.         ifstr(i) $($) == "Streams"
  839.             Shell $(UtilityInf), RemoveStreams
  840.         else
  841.             Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), $($)
  842.         endif
  843.         ifstr(i) $($) == "Tcpip"
  844.             Shell $(UtilityInf), RemoveWinsockInfo, $(ProductTCPIPName)
  845.             set RegistryErrorIndex = $($R0)
  846.             Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  847.                 Debug-Output "OEMNXPTC.INF: Registry error: remove Winsock Info."
  848.             Endif
  849.         endif
  850.     EndForListDo
  851.     ForListDo  $(OEM_ABANDON_OPTIONS)
  852.         debug-output "Remove component: "$($)
  853.         Ifstr(i) $($) == $(ProductLOOPName)
  854.             Set UseSvcctrl = "NO"
  855.         Else
  856.             Set UseSvcctrl = "YES"
  857.         Endif
  858.         ifstr(i) $($) == $(ProductLMHOSTSName)
  859.             debug-output "Remove "$($)"'s LMHOSTS dependency"
  860.             ForListDo {"Browser","NetLogon"}
  861.                 OpenRegKey $(!REG_H_LOCAL) "" "System\CurrentControlSet\Services\"$($) $(MAXIMUM_ALLOWED) ServicesKey
  862.                 ifstr(i) $(ServicesKey) != ""
  863.                     GetRegValue $(ServicesKey) "DependOnService" ServicesList
  864.                     debug-output "DependOnService List:"$(ServicesList)
  865.                     set ServiceValues = *($(ServicesList),4)
  866.                     debug-output "ServiceValues: "$(ServiceValues)
  867.                     ifcontains(i) "LMHOSTS" in $(ServiceValues)
  868.                         set NewServiceValues = {}
  869.                         ForListDo $(ServiceValues)
  870.                             ifstr(i) $($) != "LmHosts"
  871.                                 set NewServiceValues = >($(NewServiceValues), $($))
  872.                             endif
  873.                         EndForListDo
  874.                         debug-output "Final dependency list for "$($)": "$(NewServiceValues)
  875.                         LibraryProcedure Result, $(!LIBHANDLE), SetupChangeServiceConfig, $($), $(SERVICE_NO_CHANGE), $(SERVICE_NO_CHANGE), $(SERVICE_NO_CHANGE), "", "", $(NewServiceValues), "", "", ""
  876.                     else
  877.                     endif
  878.                     CloseRegKey $(ServicesKey)
  879.                 endif
  880.             EndForListDo
  881.         endif
  882.         Shell $(UtilityInf), RemoveService, $($), $(UseSvcctrl)
  883.     EndForListDo
  884.     goto end
  885. UpgradeSoftware = +
  886.     ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  887.         OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  888.         Ifstr $(KeyProduct) != $(KeyNull)
  889.             GetRegValue $(KeyProduct),"MajorVersion", VersionInfo
  890.             set Version = *($(VersionInfo), 4)
  891.             Shell $(UtilityInf), GetInfFileNameFromRegistry, $(KeyProduct)
  892.             ifint $($ShellCode) != $(!SHELL_CODE_OK)
  893.                 Debug-Output "ShellCode error"
  894.                 goto ShellCodeError
  895.             endif
  896.             set !UG_Filename = $($R0)
  897.             ifstr(i) $(!UG_Filename) != ""
  898.                 install "Install-Update"
  899.                 ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  900.                     goto fatal
  901.                 endif
  902.             endif
  903.             SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  904.             SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  905.             ifint $(Version) != $(ProductVersion)
  906.             endif
  907.             CloseRegKey $(KeyProduct)
  908.         else
  909.             goto fatalregistry
  910.         endif
  911.     endif
  912.     goto end
  913. successful = +
  914.     goto end
  915. infomsg =+
  916.    read-syms InfoDlg
  917.    ui start "Warning"
  918.    set CommonStatus = STATUS_USERCANCEL
  919.    goto end
  920. warning = +
  921.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  922.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  923.         goto ShellCodeError
  924.     endif
  925.     ifstr(i) $($R1) == "OK"
  926.         goto $(to)
  927.     else-ifstr(i) $($R1) == "CANCEL"
  928.         goto $(from)
  929.     else
  930.         goto "end"
  931.     endif
  932. nonfatalinfo = +
  933.     Set CommonStatus = STATUS_USERCANCEL
  934.     Set Severity = STATUS
  935.     goto nonfatalmsg
  936. nonfatal = +
  937.     Set Severity = NONFATAL
  938.     goto nonfatalmsg
  939. nonfatalmsg = +
  940.     ifstr(i) $(Error) == ""
  941.         Set Severity = NONFATAL
  942.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  943.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  944.             goto ShellCodeError
  945.         endif
  946.         set Error = $($R0)
  947.     endif
  948.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  949.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  950.         goto ShellCodeError
  951.     endif
  952.     ifstr(i) $($R1) == "OK"
  953.         goto $(from)
  954.     else
  955.         goto "end"
  956.     endif
  957. fatalregistry = +
  958.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  959.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  960.         goto ShellCodeError
  961.     endif
  962.     set Error = $($R0)
  963.     goto fatal
  964. fatal = +
  965.     ifstr(i) $(Error) == ""
  966.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  967.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  968.             goto ShellCodeError
  969.         endif
  970.         set Error = $($R0)
  971.     endif
  972.     Ifint $(BillboardVisible) != 0
  973.         Shell "subroutn.inf" PopBillboard
  974.         Set BillboardVisible = 0
  975.     Endif
  976.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  977.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  978.         goto ShellCodeError
  979.     endif
  980.    goto setfailed
  981. ShellCodeError = +
  982.     set DlgType      = "MessageBox"
  983.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  984.     set STF_MB_TEXT  = $(ShellCodeErrorText)
  985.     set STF_MB_TYPE  = 1
  986.     set STF_MB_ICON  = 3
  987.     set STF_MB_DEF   = 1
  988.     ui start "Error Message"
  989.     goto setfailed
  990. setfailed = +
  991.     set CommonStatus = STATUS_FAILED
  992.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  993.         set OEM_ABANDON_ON = FALSE
  994.         goto removeadapter
  995.     endif
  996.     goto end
  997. end = +
  998.     goto term
  999. term = +
  1000.     Return $(CommonStatus)
  1001. [CreateTcpipConfiguration]
  1002.     read-syms GeneralConstants
  1003.     Set TcpSvcKeyHandle = $($0)
  1004.     Debug-Output "OEMNXPTC.INF: installing TCP/IP configuration:"
  1005.     CreateRegKey $(TcpSvcKeyHandle) {"AdapterTypes",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyAdapterTypes
  1006.     CreateRegKey $(KeyAdapterTypes) {"Loop",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1007.     CreateRegKey $(KeyTypes) {"Stream01",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypesSubkey
  1008.     Shell $(UtilityInf) AddValueList, $(KeyTypesSubkey), +
  1009.         {{"Upper", $(NoTitle), $(!REG_VT_SZ), "ip"}, +
  1010.          {"Lower", $(NoTitle), $(!REG_VT_SZ), "loop"}}
  1011.     CloseRegKey $(KeyTypesSubkey)
  1012.     CloseRegKey $(KeyTypes)
  1013.     CreateRegKey $(KeyAdapterTypes) {"Default",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1014.     CreateRegKey $(KeyTypes) {"Stream01",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypesSubkey
  1015.     Shell $(UtilityInf) AddValueList, $(KeyTypesSubkey), +
  1016.         {{"Upper", $(NoTitle), $(!REG_VT_SZ), "ip"}, +
  1017.          {"Lower", $(NoTitle), $(!REG_VT_SZ), "arp:#"}}
  1018.     CloseRegKey $(KeyTypesSubkey)
  1019.     CreateRegKey $(KeyTypes) {"Stream02",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypesSubkey
  1020.     Shell $(UtilityInf) AddValueList, $(KeyTypesSubkey), +
  1021.         {{"Upper", $(NoTitle), $(!REG_VT_SZ), "arp:#"}, +
  1022.          {"Lower", $(NoTitle), $(!REG_VT_SZ), "dndis"}}
  1023.     CloseRegKey $(KeyTypesSubkey)
  1024.     CloseRegKey $(KeyTypes)
  1025.     Debug-Output "OEMNXPTC.INF: installing TCP/IP..."
  1026.     CloseRegKey $(KeyAdapterTypes)
  1027.     Debug-Output "OEMNXPTC.INF: installing TCP/IP...."
  1028.     CreateRegKey $(TcpSvcKeyHandle) {"NetConfig",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyNetConfig
  1029.     CreateRegKey $(KeyNetConfig) {"Module01",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1030.     Shell $(UtilityInf) AddValueList, $(KeyTypes), +
  1031.         {{"SName", $(NoTitle), $(!REG_VT_SZ), "arp"}}
  1032.     CloseRegKey $(KeyTypes)
  1033.     CreateRegKey $(KeyNetConfig) {"Driver01",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1034.     Shell $(UtilityInf) AddValueList, $(KeyTypes), +
  1035.         {{"SName", $(NoTitle), $(!REG_VT_SZ), "udp"}}
  1036.     CloseRegKey $(KeyTypes)
  1037.     CreateRegKey $(KeyNetConfig) {"Driver02",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1038.     Shell $(UtilityInf) AddValueList, $(KeyTypes), +
  1039.         {{"SName", $(NoTitle), $(!REG_VT_SZ), "tcp"}}
  1040.     CloseRegKey $(KeyTypes)
  1041.     CreateRegKey $(KeyNetConfig) {"Driver03",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1042.     Shell $(UtilityInf) AddValueList, $(KeyTypes), +
  1043.         {{"SName", $(NoTitle), $(!REG_VT_SZ), "ip"}}
  1044.     CloseRegKey $(KeyTypes)
  1045.     CreateRegKey $(KeyNetConfig) {"Driver04",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1046.     Shell $(UtilityInf) AddValueList, $(KeyTypes), +
  1047.         {{"SName", $(NoTitle), $(!REG_VT_SZ), "sndis"}}
  1048.     CloseRegKey $(KeyTypes)
  1049.     CreateRegKey $(KeyNetConfig) {"Driver05",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1050.     Shell $(UtilityInf) AddValueList, $(KeyTypes), +
  1051.         {{"SName", $(NoTitle), $(!REG_VT_SZ), "loop"}}
  1052.     CloseRegKey $(KeyTypes)
  1053.     CreateRegKey $(KeyNetConfig) {"Driver06",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1054.     Shell $(UtilityInf) AddValueList, $(KeyTypes), +
  1055.         {{"SName", $(NoTitle), $(!REG_VT_SZ), "dndis"}}
  1056.     CloseRegKey $(KeyTypes)
  1057.     CreateRegKey $(KeyNetConfig) {"Stream01",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1058.     Shell $(UtilityInf) AddValueList, $(KeyTypes), +
  1059.         {{"Upper", $(NoTitle), $(!REG_VT_SZ), "udp"}, +
  1060.          {"Lower", $(NoTitle), $(!REG_VT_SZ), "ip"}}
  1061.     CloseRegKey $(KeyTypes)
  1062.     CreateRegKey $(KeyNetConfig) {"Stream02",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
  1063.     Shell $(UtilityInf) AddValueList, $(KeyTypes), +
  1064.         {{"Upper", $(NoTitle), $(!REG_VT_SZ), "tcp"}, +
  1065.          {"Lower", $(NoTitle), $(!REG_VT_SZ), "ip"}}
  1066.     CloseRegKey $(KeyTypes)
  1067.     CloseRegKey $(KeyNetConfig)
  1068. CreateTcpipConfigDone = +
  1069.     Debug-Output "OEMNXPTC.INF: installing TCP/IP.....done."
  1070.     Return NO_ERROR
  1071. [CreateEventLog]
  1072.     read-syms GeneralConstants
  1073.     set NameOfService = $($0)
  1074.     set EventFile     = $($1)
  1075.     set TypeSupported = $($2)
  1076.     OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\EventLog\System" $(MAXIMUM_ALLOWED) KeyEventLog
  1077.     Ifstr $(KeyEventLog) != ""
  1078.         OpenRegKey $(KeyEventLog) "" $(NameOfService) $(MAXIMUM_ALLOWED) KeyService
  1079.            ifstr(i) $(KeyService) == ""
  1080.                CreateRegKey $(KeyEventLog) {$(NameOfService),$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyService
  1081.            endif
  1082.            Ifstr $(KeyService) != ""
  1083.                SetRegValue $(KeyService) {EventMessageFile,$(NoTitle),$(!REG_VT_EXPAND_SZ),$(EventFile)}
  1084.                SetRegValue $(KeyService) {TypesSupported,$(NoTitle),$(!REG_VT_DWORD),$(TypeSupported)}
  1085.            endif
  1086.         Endif
  1087.     endif
  1088. CreateEventLogEnd = +
  1089.     return NO_ERROR
  1090. [Install-Option]
  1091.     set STF_VITAL = ""
  1092.     ifstr(i) $(AddCopy) == "YES"
  1093.         AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  1094.         AddSectionFilesToCopyList Files-TCPIPEXE $(SrcDir) $(!STF_WINDOWSSYSPATH)
  1095.         AddSectionFilesToCopyList Files-ETC $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers\etc
  1096.         AddSectionFilesToCopyList Files-LMHOST $(!LMHOST_SRCDIR) $(!STF_WINDOWSSYSPATH)\drivers\etc
  1097.     endif
  1098.     ifstr(i) $(DoCopy) == "YES"
  1099.        set !STF_NCPA_FLUSH_COPYLIST = TRUE
  1100.        Debug-Output "OEMNXPTC.INF: *** CopyFilesInCopyList [2]"
  1101.        CopyFilesInCopyList
  1102.     endif
  1103.     ifstr(i) $(DoConfig) == "YES"
  1104.     endif
  1105.     Exit
  1106. [Install-Update]
  1107.    set STF_VITAL        = ""
  1108.    set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  1109.    AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  1110.    AddSectionFilesToCopyList Files-TCPIPEXE $(SrcDir) $(!STF_WINDOWSSYSPATH)
  1111.    AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
  1112.    AddSectionFilesToCopyList Files-LMHOST $(!LMHOST_SRCDIR) $(!STF_WINDOWSSYSPATH)\drivers\etc
  1113.    set !STF_NCPA_FLUSH_COPYLIST = TRUE
  1114.    Debug-Output "OEMNXPTC.INF: *** CopyFilesInCopyList [3]"
  1115.    CopyFilesInCopyList
  1116.    Exit
  1117. [Source Media Descriptions]
  1118.     1    = "Windows NT Advanced Server Setup Disk #1"   , TAGFILE = disk1
  1119.     2    = "Windows NT Advanced Server Setup Disk #2"   , TAGFILE = disk2
  1120.     3    = "Windows NT Advanced Server Setup Disk #3"   , TAGFILE = disk3
  1121.     4    = "Windows NT Advanced Server Setup Disk #4"   , TAGFILE = disk4
  1122.     5    = "Windows NT Advanced Server Setup Disk #5"   , TAGFILE = disk5
  1123.     6    = "Windows NT Advanced Server Setup Disk #6"   , TAGFILE = disk6
  1124.     7    = "Windows NT Advanced Server Setup Disk #7"   , TAGFILE = disk7
  1125.     8    = "Windows NT Advanced Server Setup Disk #8"   , TAGFILE = disk8
  1126.     9    = "Windows NT Advanced Server Setup Disk #9"   , TAGFILE = disk9
  1127.     10    = "Windows NT Advanced Server Setup Disk #10"  , TAGFILE = disk10
  1128.     11    = "Windows NT Advanced Server Setup Disk #11"  , TAGFILE = disk11
  1129.     12    = "Windows NT Advanced Server Setup Disk #12"  , TAGFILE = disk12
  1130.     13    = "Windows NT Advanced Server Setup Disk #13"  , TAGFILE = disk13
  1131.     14    = "Windows NT Advanced Server Setup Disk #14"  , TAGFILE = disk14
  1132.     15    = "Windows NT Advanced Server Setup Disk #15"  , TAGFILE = disk15
  1133.     16    = "Windows NT Advanced Server Setup Disk #16"  , TAGFILE = disk16
  1134.     17    = "Windows NT Advanced Server Setup Disk #17"  , TAGFILE = disk17
  1135.     18    = "Windows NT Advanced Server Setup Disk #18"  , TAGFILE = disk18
  1136.     19    = "Windows NT Advanced Server Setup Disk #19"  , TAGFILE = disk19
  1137.     20    = "Windows NT Advanced Server Setup Disk #20"  , TAGFILE = disk20
  1138.     21    = "Windows NT Advanced Server Setup Disk #21"  , TAGFILE = disk21
  1139.     22    = "Windows NT Advanced Server Setup Disk #22"  , TAGFILE = disk22
  1140.     23    = "Windows NT Advanced Server Setup Disk #23"  , TAGFILE = disk23
  1141.     24    = "Windows NT Advanced Server Setup Disk #24"  , TAGFILE = disk24
  1142.     25    = "Windows NT Advanced Server Setup Disk #25"  , TAGFILE = disk25
  1143.     26    = "Windows NT Advanced Server Setup Disk #26"  , TAGFILE = disk26
  1144.     27    = "Windows NT Advanced Server Setup Disk #27"  , TAGFILE = disk27
  1145.     28    = "Windows NT Advanced Server Setup Disk #28"  , TAGFILE = disk28
  1146.     29    = "Windows NT Advanced Server Setup Disk #29"  , TAGFILE = disk29
  1147. [ProductType]
  1148. STF_PRODUCT  = LanmanNT
  1149. STF_PLATFORM = I386
  1150. [Files-Inf]
  1151. 2,    oemsetup.inf,     SIZE=1000,    RENAME=$(!UG_Filename)
  1152. [Files-ETC]
  1153. 10,HOSTS , SIZE=1024
  1154. 10,NETWORKS , SIZE=512
  1155. 10,PROTOCOL , SIZE=1024
  1156. 10,SERVICES , SIZE=6144
  1157. 10,TELNET.TRM , SIZE=4096
  1158. [Files-LMHOST]
  1159. 10,LMHOSTS , SIZE=3072
  1160. [Files-LMHOSTOTHER]
  1161. 99,LMHOSTS , SIZE=3072
  1162. [Files-TCPIP]
  1163. 10,NBT.SYS , SIZE=118784
  1164. 10,TCPIP.SYS , SIZE=125440
  1165. 10,TELNET.SYS , SIZE=24576
  1166. [Files-TCPIPEXE]
  1167. 10, MIB.BIN, SIZE=10240
  1168. 10,ICMP.DLL , SIZE=10752
  1169. 10,LMHSVC.DLL , SIZE=12288
  1170. 10,MGMTAPI.DLL , SIZE=39936
  1171. 10,NBTSVC.DLL , SIZE=26112
  1172. 22,TCPIPSVC.DLL , SIZE=32256
  1173. 10,TELNET.DLL , SIZE=27648
  1174. 23,WSHTCPIP.DLL , SIZE=11776
  1175. 23,ARP.EXE , SIZE=17408
  1176. 15,FINGER.EXE , SIZE=13824
  1177. 21,FTP.EXE , SIZE=47616
  1178. 15,HOSTNAME.EXE , SIZE=12800
  1179. 10,NBTSTAT.EXE , SIZE=17920
  1180. 22,NETSTAT.EXE , SIZE=28672
  1181. 16,PING.EXE , SIZE=24576
  1182. 16,RCP.EXE , SIZE=24576
  1183. 16,REXEC.EXE , SIZE=17408
  1184. 16,ROUTE.EXE , SIZE=15872
  1185. 16,RSH.EXE , SIZE=17920
  1186. 10,SNMPTRAP.EXE , SIZE=10240
  1187. 10,TELNET.EXE , SIZE=19968
  1188. 16,TFTP.EXE , SIZE=23040
  1189. 10,IPINFO.INF , SIZE=3584
  1190. [Files-TELNET]
  1191. 10,TELNET.SYS , SIZE=24576
  1192. [LanguagesSupported]
  1193.     ENG
  1194. [OptionsTextENG]
  1195.     TCPIP     = "TCP/IP Protocol"
  1196. [FileConstantsENG]
  1197. ProCaption   = "Windows NT Setup"
  1198. ProCancel    = "Cancel"
  1199. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  1200.                "Are you sure you want to cancel copying files?"
  1201. ProCancelCap = "Network Setup Message"
  1202. ProText1     = "Copying:"
  1203. ProText2     = "To:"
  1204. FunctionTitle   = "TCP/IP Setup"
  1205. ProductTCPIPDescription         = "TCP/IP System Driver"
  1206. ProductNBTDescription           = "NBT System Driver"
  1207. ProductTCPIPDisplayName = "TCP/IP Protocol"
  1208. ProductTCPIPTitle       = "TCP/IP Protocol"
  1209. ProductTCPIPSYSDisplayName = "Tcpipsys"
  1210. ProductTCPIPSYSTitle    = "TCP/IP Network Transport Driver"
  1211. ProductNBTDisplayName   = "TCP/IP NetBIOS"
  1212. ProductNBTTitle         = "TCP/IP NetBIOS"
  1213. ProductNBTSYSDisplayName = "Nbtsys"
  1214. ProductNBTSYSTitle      = "RFC NetBIOS Driver"
  1215. ProductTELNETDisplayName = "Telnet"
  1216. ProductTELNETTitle      = "Telnet Networking Support Environment"
  1217. ProductTELNETSYSDisplayName = "Telnetsys"
  1218. ProductTELNETSYSTitle     = "Telnet Driver"
  1219. ProductLOOPDisplayName  = "Loop"
  1220. ProductLOOPTitle        = "Loop Support Environment"
  1221. ProductLMHOSTSDisplayName = "TCP/IP NetBIOS Helper"
  1222. ProductLMHOSTSTitle     = "TCP/IP NetBIOS Helper"
  1223. ShellCodeErrorTitle     = "Error: "$(FunctionTitle)
  1224. ShellCodeErrorText      = "Shell Code Error."
  1225. [DialogConstantsENG]
  1226. Help        = "&Help"
  1227. Exit        = "Cancel"
  1228. OK          = "OK"
  1229. HelpContext = ""
  1230. Continue    = "Continue"
  1231. Cancel      = "Cancel"
  1232. [FileDependentDlgENG]
  1233. [InfoDlg]
  1234. STF_MB_TITLE = "Information Message"
  1235. DlgType = "MessageBox"
  1236. STF_MB_TEXT  = $(InfoMsgText)
  1237. STF_MB_TYPE  = 1
  1238. STF_MB_ICON  = 5
  1239. STF_MB_DEF   = 1
  1240. [InfoDlgCantConfigure]
  1241. InfoMsgText = "The TCP/IP service is not currently configured to use any adapters."+
  1242.     "  If you have just installed it, return to the Networks dialog and "+
  1243.     "click  OK.  You will then have the opportunity to configure the adapters."
  1244. [WarningDlgENG]
  1245. STF_MB_TITLE = "TCP/IP Setup Warning"
  1246. DlgType = "MessageBox"
  1247. STF_MB_TEXT  = $(Error)
  1248. STF_MB_TYPE  = 1
  1249. STF_MB_ICON  = 5
  1250. STF_MB_DEF   = 1
  1251. [Billboard1ENG]
  1252. Status = "Installing TCP/IP and related services..."
  1253. [LMHOSTDlgENG]
  1254. Caption = "Import LMHOSTS File"
  1255. Import = "&Import"
  1256. DlgText = "If you want to import an existing LMHOSTS file, enter the directory path where the file is located and choose Import. Otherwise, choose Continue."
  1257. DlgType = "Edit"
  1258. DlgTemplate = "LMHOST"
  1259. EditTextIn = ""
  1260. HelpContext = $(!IDH_DB_LMHOST_INS)
  1261. [LMHOSTAskSourceStringsENG]
  1262. String1 = "Error processing path entered.  Please reenter the path."
  1263. String2 = "Setup requires a full path of the Windows NT distribution files.  "+
  1264.           "Please reenter the path."
  1265. String3 = "Setup failed to find a free drive to use to connect to the "+
  1266.           "server specified.  Please free up some drives and try again."
  1267. String4 = "Setup failed to connect to the server specified.  Please reenter "+
  1268.           "the path."
  1269. String5 = "You just typed in a new LMHOSTS file path. Are you sure that you want to use the default LMHOSTS file?"
  1270.  
  1271.  
  1272.  
  1273.