home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 November / pcwk_11_98a.iso / Pelnepl / Outlook / PL / nt4sp3 / i386 / oemnsvrp.srv < prev    next >
INI File  |  1997-06-17  |  37KB  |  889 lines

  1. [Identification]
  2.     OptionType = NetService
  3. [Options]
  4.     RPCLOCATE
  5.     RPCBANYAN
  6. [FileConstants]
  7. UtilityInf      = "UTILITY.INF"
  8. subroutineinf   = "SUBROUTN.INF"
  9. SoftwareType    = "service"
  10. Exit_Code       = 0
  11. [GeneralConstants]
  12. from      = ""
  13. to        = ""
  14. ExitCodeOk     = 0
  15. ExitCodeCancel = 1
  16. ExitCodeFatal  = 2
  17. KeyNull         = ""
  18. MAXIMUM_ALLOWED   = 33554432
  19. RegistryErrorIndex = NO_ERROR
  20. KeyProduct      = ""
  21. KeyParameters   = ""
  22. TRUE            = 1
  23. FALSE           = 0
  24. NoTitle            = 0
  25. ExitState   = "Active"
  26. OldVersionExisted = $(FALSE)
  27. Manufacturer    = "Microsoft"
  28. ProductMajorVersion     = "4"
  29. ProductMinorVersion     = "0"
  30. ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  31. ProductOpSupportRPC     = 134 
  32. ProductOpSupportRPCBANYAN     = 132 
  33. RpcBanyanSoftKeyName    = "SOFTWARE\Microsoft\RpcBanyan"
  34. RpcSoftKeyName    = "SOFTWARE\Microsoft\Rpc"
  35. RpcSrvKeyName     = "Software\Microsoft\RPCLOCATOR"
  36. RpcSecurityKeyName = "Software\Microsoft\Rpc\SecurityService"
  37. RpcSrvNameRpcss   = "RPCSS"
  38. RpcSrvNameLocator = "RPCLOCATOR"
  39. RpcSrvNameBanyan  = "RpcBanyan"
  40. RpcSrvNameSSP     = "NtLmSsp"
  41. RpcSrvExeRpcss    = "%SystemRoot%\System32\RPCSS.EXE"
  42. RpcSrvExeLocator  = "%SystemRoot%\System32\LOCATOR.EXE"
  43. RpcSrvExeSSP      = "%SystemRoot%\System32\SERVICES.EXE"
  44. ProductKeyName    = $(RpcSrvKeyName)"\CurrentVersion"
  45. ServerProto       = "\ServerProtocols"
  46. ClientProto       = "\ClientProtocols"
  47. RpcSrvDepend= {"LanmanWorkstation","Rdr" }
  48. MSSecurityDLL     = "security.dll"
  49. LocatorChoiceList   = ^(LocatorData,1)
  50. LocatorEndPointList = ^(LocatorData,2)
  51. LocatorProtocolList = ^(LocatorData,3)
  52. NameServiceKeyName  = "Software\Microsoft\Rpc\NameService"
  53. SecurityKeyName = "Software\Microsoft\Rpc\SecurityService"
  54. SecurityChoiceList = ^(SecurityData,1)
  55. SecurityDllList = ^(SecurityData,2)
  56. [LocatorData]
  57. LD_1 = "LocatorWINNT","\pipe\locator","ncacn_np"
  58. LD_2 = "LocatorDCE","","ncacn_ip_tcp"
  59. [SecurityData]
  60. SD_1 = "SecurityWINNT","security.dll"
  61. SD_2 = "SecurityDCE","dcesec.dll"
  62. [UpgradeMapConstants]
  63. DLLClientList = { "rpcltc3.dll", "rpcltc6.dll", "rpcltc5.dll", "rpcltc7.dll", "rpcdgc3.dll" }
  64. DLLServerList = { "rpclts3.dll", "rpclts6.dll", "rpclts5.dll", "rpclts7.dll", "rpcdgs3.dll" }
  65. [date]
  66.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  67. [Identify]
  68.     read-syms Identification
  69.     set Status     = STATUS_SUCCESSFUL
  70.     set Identifier = $(OptionType)
  71.     set Media      = #("Source Media Descriptions", 1, 1)
  72.     Return $(Status) $(Identifier) $(Media)
  73. [ReturnOptions]
  74.     set Status        = STATUS_FAILED
  75.     set OptionList     = {}
  76.     set OptionTextList = {}
  77.     set LanguageList = ^(LanguagesSupported, 1)
  78.     Ifcontains(i) $($0) in $(LanguageList)
  79.         goto returnoptions
  80.     else
  81.         set Status = STATUS_NOLANGUAGE
  82.         goto finish_ReturnOptions
  83.     endif
  84. returnoptions = +
  85.     set OptionList     = ^(Options, 1)
  86.     set OptionTextList = ^(OptionsText$($0), 1)
  87.     set Status         = STATUS_SUCCESSFUL
  88. finish_ReturnOptions = +
  89.     Return $(Status) $(OptionList) $(OptionTextList)
  90. [InstallOption]
  91.     set Option   = $($1)
  92.     set SrcDir   = $($2)
  93.     set AddCopy  = $($3)
  94.     set DoCopy   = $($4)
  95.     set DoConfig = $($5)
  96.     set LanguageList = ^(LanguagesSupported, 1)
  97.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  98.         Return STATUS_NOLANGUAGE
  99.     endif
  100.     set-subst LF = "\n"
  101.     Debug-Output "OEMNSVRP.INF: active"
  102.     read-syms GeneralConstants
  103.     read-syms FileConstants
  104.     read-syms UpgradeMapConstants
  105.     detect date
  106.     read-syms DialogConstants$(!STF_LANGUAGE)
  107.     read-syms $(Option)Constants$(!STF_LANGUAGE)
  108.     read-syms FileConstants$(!STF_LANGUAGE)
  109.     set-title  $(FunctionTitle)
  110.     set to   = Begin
  111.     set from = Begin
  112.     set CommonStatus = STATUS_SUCCESSFUL
  113.     EndWait
  114. Begin = +
  115.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  116.         set StartLabel = removeadapter
  117.     else-Ifstr(i) $(!NTN_InstallMode) == update
  118.         set StartLabel = UpgradeSoftware
  119.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  120.         set StartLabel = bindingadapter
  121.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  122.         set StartLabel = configureadapter
  123.     else
  124.         set StartLabel = installadapter
  125.     endif
  126.     set from = $(fatal)
  127.     set to = $(fatal)
  128.     goto $(StartLabel)
  129. configureadapter = +
  130.     ifstr(i) $(Option) == "RPCBANYAN"
  131.         Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  132.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  133.             Debug-Output "OEMNSVBH.INF: ShellCode error: cannot get an error string."
  134.             goto ShellCodeError
  135.         endif
  136.         set Error = $($R0)
  137.         Set CommonStatus = STATUS_USERCANCEL
  138.         Set Severity = STATUS
  139.         set from = "end"
  140.         set to = "end"
  141.         goto nonfatal
  142.     endif
  143.     set CommonStatus = STATUS_REBOOT
  144.     OpenRegKey $(!REG_H_LOCAL) "" $(NameServiceKeyName) $(MAXIMUM_ALLOWED) KeyNameService
  145.     Ifstr(i) $(KeyNameService) == ""
  146.         Set RegistryErrorIndex = UNABLE_ACCESS_SOFTWARE_REG
  147.         Goto fatalregistry
  148.     Endif
  149.     Set OldVersionExisted = $(TRUE)
  150.     GetRegValue $(KeyNameService),"Protocol", ProtocolNameValue
  151.     Ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
  152.         CloseRegKey $(KeyNameService)
  153.         Set RegistryErrorIndex = UNABLE_ACCESS_SOFTWARE_REG
  154.         Goto fatalregistry
  155.     Endif
  156.     OpenRegKey $(!REG_H_LOCAL) "" $(SecurityKeyName) $(MAXIMUM_ALLOWED) KeySecurity
  157.     Ifstr $(KeySecurity) == ""
  158.         Set RegistryErrorIndes = UNABLE_ACCESS_SOFTWARE_REG
  159.         Goto fatalregistry
  160.     Endif
  161.     GetRegValue $(KeySecurity), "DefaultProvider", ProviderNameValue
  162.     Ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
  163.         CloseRegKey $(KeyNameService)
  164.         CloseRegKey $(KeySecurity)
  165.         Set RegistryErrorIndex = UNABLE_ACCESS_SOFTWARE_REG
  166.         Goto fatalregistry
  167.     Endif
  168.     GetRegValue $(KeySecurity), "11", DCEProviderDllValue
  169.     read-syms SecurityNames$(!STF_LANGUAGE)
  170.     Ifstr $(DCEProviderDllValue) == ""
  171.        Set SecurityChoiceList = {"SecurityWINNT"}
  172.        Set SecurityDllList = {"security.dll"}
  173.        Set SecurityListboxNames = {$(SecName1)}
  174.        Set DCEProviderDll = ""
  175.     Else
  176.        Set DCEProviderDll = *($(DCEProviderDllValue),4)
  177.        Set SecurityChoiceList = {"SecurityWINNT","SecurityDCE"}
  178.        Set SecurityDllList = {"security.dll",$(DCEProviderDll)}
  179.        Set SecurityListboxNames = {$(SecName1),$(SecName2)}
  180.     Endif
  181.     Debug-Output "OEMNSVRP.INF: Configure Name Services"
  182. configureretry = +
  183.     read-syms LocatorNames$(!STF_LANGUAGE)
  184.     Set LocatorListboxNames = {$(LocName1),$(LocName2)}
  185.     Set ProtocolName = *($(ProtocolNameValue),4)
  186.     Set LocatorIndex = ~($(LocatorProtocolList),$(ProtocolName))
  187.     Set LocatorInUse = *($(LocatorChoiceList),$(LocatorIndex))
  188.     Set LocatorChosen = $(LocatorInUse)
  189.     Set LocatorChosenName = *($(LocatorListboxNames),$(LocatorIndex))
  190.     GetRegValue $(KeyNameService),"NetworkAddress", NetAddrValue
  191.     Set NetworkAddress = *($(NetAddrValue),4)
  192.     Set NetworkAddressInUse = $(NetworkAddress)
  193.     Ifstr(i) $(LocatorChosen) == "LocatorWINNT"
  194.         Set NetworkAddressDCE = ""
  195.     Else
  196.         Set NetworkAddressDCE = $(NetworkAddress)
  197.     Endif
  198.     Set SecurityProviderName = *($(ProviderNameValue),4)
  199.     Set SecurityProviderIndex = ~($(SecurityDllList),$(SecurityProviderName))
  200.     Set SecurityProviderInUse = *($(SecurityChoiceList),$(SecurityProviderIndex))
  201.     Set SecurityChosen = $(SecurityProviderInUse)
  202.     Set SecurityChosenName = *($(SecurityListboxNames),$(SecurityProviderIndex))
  203. reinitdialog = +
  204.     Set LocatorLastChosen = $(LocatorChosen)
  205.     Ifstr(i) $(LocatorChosen) == "LocatorWINNT"
  206.         Set NetworkAddress = ""
  207.     Else
  208.         Set NetworkAddress = $(NetworkAddressDCE)
  209.     Endif
  210.     read-syms RpcProviderDlg$(!STF_LANGUAGE)
  211.     ui start "System"
  212.     Ifstr(i) $(DLGEVENT) == "NOTIFY"
  213.         Set LocatorIndex  = ~($(LocatorListboxNames),$(Combo1Out))
  214.         Set LocatorChosen = *($(LocatorChoiceList),$(LocatorIndex))
  215.         Set LocatorChosenName = *($(LocatorListboxNames),$(LocatorIndex))
  216.         Debug-Output "OEMNSVRP.INF: NOTIFY: "$(LocatorChosenName)" = "$(LocatorChosen)
  217.         Set ReInit = YES
  218.         Ifstr(i) $(LocatorChosen) == $(LocatorLastChosen)
  219.             Goto reinitdialog
  220.         Endif
  221.         Ifstr(i) $(LocatorChosen) == "LocatorWINNT"
  222.             Set NetworkAddress = ""
  223.             Set NetworkAddressDCE = $(EditTextOut)
  224.         Endif
  225.         Goto reinitdialog
  226.     Else-Ifstr(i) $(DLGEVENT) != "CONTINUE"
  227.         ui pop 1
  228.         Set CommonStatus = STATUS_USERCANCEL
  229.         Goto configuredone
  230.     Endif
  231.     Set NetworkAddress = $(EditTextOut)
  232.     Set LocatorIndex  = ~($(LocatorListboxNames),$(Combo1Out))
  233.     Set LocatorChosen = *($(LocatorChoiceList),$(LocatorIndex))
  234.     Set LocatorChosenName = *($(LocatorListboxNames),$(LocatorIndex))
  235.     Set SecurityProviderIndex = ~($(SecurityListboxNames),$(Combo2Out))
  236.     Set SecurityChosen = *($(SecurityChoiceList),$(SecurityProviderIndex))
  237.     Set SecurityChosenName = *($(SecurityListboxNames),$(SecurityProviderIndex))
  238.     Debug-Output "OEMNSVRP.INF: OK: "$(LocatorChosenName)", "$(LocatorChosen)
  239.     Debug-Output "OEMNSVRP.INF: OK: "$(SecurityChosenName)", "$(SecurityChosen)
  240.     Ifstr(i) $(LocatorChosen) == "LocatorWINNT"
  241.         Ifstr(i) $(NetworkAddress) != ""
  242.             read-syms NonFatalError2$(!STF_LANGUAGE)
  243.             shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(NonFatal)
  244.         Endif
  245.         Set NetworkAddress = "\\."
  246.     Else-ifstr(i) $(NetworkAddress) == ""
  247.         read-syms NonFatalError1$(!STF_LANGUAGE)
  248.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(NonFatal)
  249.         Goto configureretry
  250.     Endif
  251.     Ifstr(i) $(SecurityChosen) == "SecurityDCE"
  252.         Ifstr(i) $(DCEProviderDll) == ""
  253.             read-syms NonFatalError3$(!STF_LANGUAGE)
  254.             shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(NonFatal)
  255.             Goto configureretry
  256.         Endif
  257.     Endif
  258.     Ifstr(i) $(LocatorChosen) == $(LocatorInUse)
  259.         Ifstr(i) $(NetworkAddress) == $(NetworkAddressInUse)
  260.             Ifstr(i) $(SecurityChosen) == $(SecurityProviderInUse)
  261.                 ui pop 1
  262.                 Set CommonStatus = STATUS_USERCANCEL
  263.                 Goto configuredone
  264.             Endif
  265.         Endif
  266.     Endif
  267.     ui pop 1
  268.     Set ProtocolName = *($(LocatorProtocolList),$(LocatorIndex))
  269.     Set EndPointName = *($(LocatorEndPointList),$(LocatorIndex))
  270.     Set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),$(ProtocolName)},+
  271.                         {NetworkAddress,$(NoTitle),$(!REG_VT_SZ),$(NetworkAddress)},+
  272.                         {ServerNetworkAddress,$(NoTitle),$(!REG_VT_SZ),$(NetworkAddress)},+
  273.                         {Endpoint,$(NoTitle),$(!REG_VT_SZ),$(EndPointName)}}
  274.     Shell  $(UtilityInf), AddValueList, $(KeyNameService), $(NewValueList)
  275.     Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  276.         Debug-Output "OEMNSVRP.INF: ShellCode error."
  277.         Goto ShellCodeError
  278.     Endif
  279.     set RegistryErrorIndex = $($R0)
  280.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  281.        Debug-Output "OEMNSVRP.INF: registry error: add value list."
  282.        Goto fatalregistry
  283.     Endif
  284.     Set SecurityDllName = *($(SecurityDllList),$(SecurityProviderIndex))
  285.     Set NewValueList = {{DefaultProvider,$(NoTitle),$(!REG_VT_SZ),$(SecurityDllName)}}
  286.     Debug-Output "OEMNSVRP.INF: adding security provider list: "$(SecurityDllName)
  287.     Shell  $(UtilityInf), AddValueList, $(KeySecurity), $(NewValueList)
  288.     Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  289.         Debug-Output "OEMNSVRP.INF: ShellCode error."
  290.         Goto ShellCodeError
  291.     Endif
  292.     set RegistryErrorIndex = $($R0)
  293.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  294.        Debug-Output "OEMNSVRP.INF: registry error: add value list."
  295.        Goto fatalregistry
  296.     Endif
  297. configuredone = +
  298.     CloseRegKey $(KeyNameService)
  299.     CloseRegKey $(KeySecurity)
  300.     Goto successful
  301. installadapter = +
  302.     ifstr(i) $(Option) == "RPCBANYAN"
  303.         OpenRegKey $(!REG_H_LOCAL) "" $(RpcBanyanSoftKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  304.         Ifstr $(KeyProduct) != $(KeyNull)
  305.             CloseRegKey $(KeyProduct)
  306.             Shell $(UtilityInf), VerExistedDlg, $(ProductRPCBanyanTitle),+
  307.                 $(ProductVersion)
  308.             ifint $($ShellCode) != $(!SHELL_CODE_OK)
  309.                 Debug-Output "ShellCode error: cannot get an error string."
  310.                 goto ShellCodeError
  311.             endif
  312.             set CommonStatus = STATUS_USERCANCEL
  313.             goto end
  314.         endif
  315.         Ifstr(i) $(DoCopy) == "YES"
  316.            Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  317.            Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  318.                Goto ShellCodeError
  319.            Else-Ifstr(i) $($R0) == STATUS_FAILED
  320.                Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  321.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  322.                    goto ShellCodeError
  323.                endif
  324.                set Error = $($R0)
  325.                Goto fatal
  326.            Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  327.                Goto successful
  328.            Endif
  329.            Set SrcDir = $($R1)
  330.         Endif
  331.         install "Install-Option"
  332.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  333.            Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  334.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  335.                goto ShellCodeError
  336.            endif
  337.            set Error = $($R0)
  338.            goto fatal
  339.         endif
  340.         Shell $(UtilityInf), InstallSoftwareProduct, $(Manufacturer), $(RpcSrvNameBanyan), "oemnsvrp.inf"
  341.         Set SoftProductKey      = $($R1)
  342.         Set SoftNetRuleKey      = $($R2)
  343.         set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),"service"},+
  344.                            {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  345.                            {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  346.                            {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductRPCBanyanTitle)},+
  347.                            {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductRPCBaynanSoftDescription)},+
  348.                            {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupportRPCBANYAN)}, +
  349.                            {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  350.         Shell  $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
  351.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  352.             Debug-Output "OEMNSVNW.INF: ShellCode error."
  353.             goto ShellCodeError
  354.         endif
  355.         set RegistryErrorIndex = $($R0)
  356.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  357.             EndWait
  358.             Debug-Output "OEMNSVNW.INF: registry error: add value list."
  359.             CloseRegKey $(SoftProductKey)
  360.             CloseRegKey $(SoftNetRuleKey)
  361.             goto fatalregistry
  362.         endif
  363.         set NewValueList = {{InfOption,$(NoTitle),$(!REG_VT_SZ),RPCBANYAN}}
  364.         Shell  $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
  365.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  366.             Debug-Output "OEMNSVNW.INF: ShellCode error."
  367.             goto ShellCodeError
  368.         endif
  369.         set RegistryErrorIndex = $($R0)
  370.         CloseRegKey $(SoftProductKey)
  371.         CloseRegKey $(SoftNetRuleKey)
  372.         OpenRegKey $(!REG_H_LOCAL) "" $(RpcSoftKeyName)$(ServerProto) $(MAXIMUM_ALLOWED) KeyProduct
  373.         Ifstr $(KeyProduct) == $(KeyNull)
  374.             Set RegistryErrorIndex = UNABLE_ACCESS_SOFTWARE_REG
  375.             Goto fatalregistry
  376.         endif
  377.         SetRegValue $(KeyProduct) +
  378.                 {"ncacn_vns_spp",$(NoTitle),$(!REG_VT_SZ),"rpclts8.dll" }
  379.         CloseRegKey $(KeyProduct)
  380.         OpenRegKey $(!REG_H_LOCAL) "" $(RpcSoftKeyName)$(ClientProto) $(MAXIMUM_ALLOWED) KeyProduct
  381.         Ifstr $(KeyProduct) == $(KeyNull)
  382.             Set RegistryErrorIndex = UNABLE_ACCESS_SOFTWARE_REG
  383.             Goto fatalregistry
  384.         endif
  385.         SetRegValue $(KeyProduct) +
  386.                 {"ncacn_vns_spp",$(NoTitle),$(!REG_VT_SZ),"rpcltc8.dll" }
  387.         CloseRegKey $(KeyProduct)
  388.         Goto successful
  389.     endif
  390.     OpenRegKey $(!REG_H_LOCAL) "" $(RpcSrvKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  391.     Ifstr $(KeyProduct) != $(KeyNull)
  392.         CloseRegKey $(KeyProduct)
  393.         Shell $(UtilityInf), VerExistedDlg, $(ProductRPCTitle),+
  394.             $(ProductVersion)
  395.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  396.             Debug-Output "ShellCode error: cannot get an error string."
  397.             goto ShellCodeError
  398.         endif
  399.         set CommonStatus = STATUS_USERCANCEL
  400.         goto end
  401.     endif
  402.     StartWait
  403.     ifstr(i) $(!NTN_InstallMode) == "install"
  404.         Ifstr(i) $(DoCopy) == "YES"
  405.            Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  406.            Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  407.                Goto ShellCodeError
  408.            Else-Ifstr(i) $($R0) == STATUS_FAILED
  409.                Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  410.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  411.                    goto ShellCodeError
  412.                endif
  413.                set Error = $($R0)
  414.                Goto fatal
  415.            Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  416.                Goto successful
  417.            Endif
  418.            Set SrcDir = $($R1)
  419.         Endif
  420.         install "Install-Option"
  421.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  422.            Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  423.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  424.                goto ShellCodeError
  425.            endif
  426.            set Error = $($R0)
  427.            goto fatal
  428.         endif
  429.     endif
  430.     set OEM_ABANDON_ON = TRUE
  431.     Set RpcSecurityServiceKey     = $(KeyNull)
  432.     Set RpcKey                = $(KeyNull)
  433.     OpenRegKey $(!REG_H_LOCAL) "" $(RpcSoftKeyName) $(MAXIMUM_ALLOWED) RpcKey
  434.     Ifstr(i) $(RpcKey) == $(KeyNull)
  435.       Debug-Output "OEMNSVRP.INF: Error opening RPC key"
  436.       Set RegistryErrorIndex = UNABLE_ACCESS_SOFTWARE_REG
  437.       Goto fatalregistry
  438.     Endif
  439.     CreateRegKey $(RpcKey) {"SecurityService",$(NoTitle),GenericClass}     "" $(MAXIMUM_ALLOWED) "" RpcSecurityServiceKey
  440.     Ifstr(i) $(RpcSecurityServiceKey) == $(KeyNull)
  441.         OpenRegKey $(!REG_H_LOCAL) "" $(RpcSecurityKeyName) $(MAXIMUM_ALLOWED) RpcSecurityServiceKey
  442.     Endif
  443.     Ifstr(i) $(RpcSecurityServiceKey) == $(KeyNull)
  444.         Debug-Output "OEMNSVRP.INF: Registry error creating subordinate RPC keys"
  445.         CloseRegKey $(RpcKey)
  446.         Goto fatalregistry
  447.     Endif
  448.     Set NewValueList = {{DefaultProvider,$(NoTitle),$(!REG_VT_SZ),$(MSSecurityDLL)},+
  449.                         {10,$(NoTitle),$(!REG_VT_SZ),$(MSSecurityDLL)},+
  450.                         {DefaultAuthLevel,$(NoTitle),$(!REG_VT_DWORD),0}}
  451.     Shell  $(UtilityInf), AddValueList, $(RpcSecurityServiceKey), $(NewValueList)
  452.     Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  453.         Debug-Output "OEMNSVRP.INF: ShellCode error."
  454.         CloseRegKey $(RpcSecurityServiceKey)
  455.         goto ShellCodeError
  456.     Endif
  457.     set RegistryErrorIndex = $($R0)
  458.     CloseRegKey $(RpcSecurityServiceKey)
  459.     CloseRegKey $(RpcKey)
  460.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  461.        EndWait
  462.        Debug-Output "OEMNSVRP.INF: registry error: add value list."
  463.        goto fatalregistry
  464.     Endif
  465. createrpcservices =+
  466.     Ifstr(i) $(!STF_PRODUCT) == "LANMANNT"
  467.        Set RpcLocatorStartType = "serviceauto"
  468.     Else
  469.        Set RpcLocatorStartType = "service"
  470.     Endif
  471.     Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  472.         $(RpcSrvNameLocator), +
  473.         $(RpcSrvNameLocator), +
  474.         $(RpcSrvDisplayNameLocator), $(STF_CONTEXTINFNAME), +
  475.         $(RpcSrvExeLocator), $(RpcLocatorStartType), "", $(RpcSrvDepend), "", ""
  476.     set RegistryErrorIndex = $($R0)
  477.     Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  478.         Debug-Output "OEMNSVRP.INF: ShellCode error creating RPCLOCATOR service: "$($ShellCode)
  479.         Goto ShellCodeError
  480.     Endif
  481.     Set SoftProductKey  = $($R1)
  482.     Set SoftNetRuleKey  = $($R2)
  483.     CloseRegKey $($R3)
  484.     Set RpcLocatorParametersKey = $($R4)
  485.     CloseRegKey $($R5)
  486.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  487.        EndWait
  488.        Debug-Output "OEMNSVRP.INF: Registry error: creating RPCLOCATE software product"
  489.        CloseRegKey $(SoftProductKey)
  490.        CloseRegKey $(SoftNetRuleKey)
  491.        CloseRegKey $(RpcLocatorParametersKey)
  492.        Goto fatalregistry
  493.     Endif
  494.     Set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  495.                        {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  496.                        {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  497.                        {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductRPCTitle)},+
  498.                        {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
  499.                        {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupportRPC)}, +
  500.                        {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  501.     Shell  $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
  502.     Set RegistryErrorIndex = $($R0)
  503.     CloseRegKey $(SoftProductKey)
  504.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  505.         Debug-Output "ShellCode error."
  506.         goto ShellCodeError
  507.     endif
  508.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  509.         EndWait
  510.         Debug-Output "OEMNSVRP.INF: Registry error: add value list to RPCLOCATE product"
  511.         CloseRegKey $(SoftNetRuleKey)
  512.         CloseRegKey $(RpcLocatorParametersKey)
  513.         goto fatalregistry
  514.     endif
  515.     Set NewValueList = {{InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  516.     Shell  $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
  517.     set RegistryErrorIndex = $($R0)
  518.     CloseRegKey $(SoftNetRuleKey)
  519.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  520.         CloseRegKey $(RpcLocatorParametersKey)
  521.         Debug-Output "ShellCode error."
  522.         goto ShellCodeError
  523.     endif
  524.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  525.         EndWait
  526.         CloseRegKey $(RpcLocatorParametersKey)
  527.         Debug-Output "OEMNSVSV.INF: Registry error: add value list."
  528.         goto fatalregistry
  529.     Endif
  530.    Set NewValueList = {{ExpirationAge,$(NoTitle),$(!REG_VT_DWORD),3600}}
  531.    Shell  $(UtilityInf), AddValueList, $(RpcLocatorParametersKey), $(NewValueList)
  532.    Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  533.        Debug-Output "OEMNSVRP.INF: ShellCode error."
  534.        goto ShellCodeError
  535.    Endif
  536.    set RegistryErrorIndex = $($R0)
  537.    CloseRegKey $(RpcLocatorParametersKey)
  538.    Ifstr(i) $(!STF_PRODUCT) == "LANMANNT"
  539.        Set AclIndex = 4
  540.    Else
  541.        Set AclIndex = 3
  542.    Endif
  543.    Shell $(UtilityInf), CreateService, $(RpcSrvNameSSP), +
  544.          $(RpcSrvDisplayNameSSP), $(RpcSrvExeSSP), "serviceshare", "", {}, "", ""
  545.    Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  546.        Debug-Output "OEMNSVRP.INF: ShellCode error creating RPCSS service: "$($ShellCode)
  547.        goto ShellCodeError
  548.    endif
  549.    Set RegistryErrorIndex = $($R0)
  550.    CloseRegKey $($R1)
  551.    CloseRegKey $($R2)
  552.    CloseRegKey $($R3)
  553.    Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  554.       EndWait
  555.       Debug-Output "OEMNSVRP.INF: Registry error: creating RPCSS service"
  556.       Goto fatalregistry
  557.    Endif
  558.    LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND),+
  559.          SECURESVC, $(RpcSrvNameLocator), $(AclIndex)
  560.    LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND),+
  561.          SECURESVC, $(RpcSrvNameRpcss), $(AclIndex)
  562.    LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND),+
  563.          SECURESVC, $(RpcSrvNameSSP), $(AclIndex)
  564.    EndWait
  565.    goto successful
  566. bindingadapter =+
  567.     set Error = "RPC INF file invoked during bindings review."
  568.     goto fatal
  569. removeadapter = +
  570.     ifstr(i) $(Option) == "RPCBANYAN"
  571.         Debug-Output "OEMNSVRP.INF: Remove component RpcBanyan"
  572.         Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), $(RpcSrvNameBanyan), FALSE
  573.         OpenRegKey $(!REG_H_LOCAL) "" $(RpcSoftKeyName)$(ServerProto) $(MAXIMUM_ALLOWED) KeyProduct
  574.         Ifstr $(KeyProduct) == $(KeyNull)
  575.             Set RegistryErrorIndex = UNABLE_ACCESS_SOFTWARE_REG
  576.             Goto fatalregistry
  577.         endif
  578.         DeleteRegValue $(KeyProduct) "ncacn_vns_spp"
  579.         CloseRegKey $(KeyProduct)
  580.         OpenRegKey $(!REG_H_LOCAL) "" $(RpcSoftKeyName)$(ClientProto) $(MAXIMUM_ALLOWED) KeyProduct
  581.         Ifstr $(KeyProduct) == $(KeyNull)
  582.             Set RegistryErrorIndex = UNABLE_ACCESS_SOFTWARE_REG
  583.             Goto fatalregistry
  584.         endif
  585.         DeleteRegValue $(KeyProduct) "ncacn_vns_spp"
  586.         CloseRegKey $(KeyProduct)
  587.         Goto successful
  588.     endif
  589.     Debug-Output "OEMNSVRP.INF: Remove component "$(RpcSrvNameLocator)
  590.     Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), $(RpcSrvNameLocator), FALSE
  591.     Debug-Output "OEMNSVRP.INF: Remove service "$(RpcSrvNameSSP)
  592.     Shell $(UtilityInf), RemoveService, $(RpcSrvNameSSP), "YES"
  593.     goto end
  594. UpgradeSoftware = +
  595.     ifstr(i) $(Option) == "RPCBANYAN"
  596.         OpenRegKey $(!REG_H_LOCAL) "" $(RpcBanyanSoftKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  597.         Ifstr $(KeyProduct) != $(KeyNull)
  598.             SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  599.             SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  600.             SetRegValue $(KeyProduct) {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductRPCBanyanSoftDescription)}
  601.             SetRegValue $(KeyProduct) {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupportRPCBANYAN)}
  602.             CloseRegKey $(KeyProduct)
  603.         endif
  604.         Goto successful
  605.     endif
  606.     set RpcLocatorService = "SYSTEM\CurrentControlSet\Services\"$(RpcSrvNameLocator)
  607.     OpenRegKey $(!REG_H_LOCAL) "" $(RpcLocatorService) $(MAXIMUM_ALLOWED) KeyService
  608.     ifstr $(KeyService) != $(KeyNull)
  609.         SetRegValue $(KeyService) +
  610.                 {"DependOnService",$(NoTitle),$(!REG_VT_MULTI_SZ),$(RpcSrvDepend) }
  611.     endif
  612.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  613.     Ifstr $(KeyProduct) != $(KeyNull)
  614.         install "Install-Update"
  615.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  616.             goto fatal
  617.         endif
  618.         SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  619.         SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  620.         SetRegValue $(KeyProduct) {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)}
  621.         SetRegValue $(KeyProduct) {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupportRPC)}
  622.         OpenRegKey $(!REG_H_LOCAL) "" $(SecurityKeyName) $(MAXIMUM_ALLOWED) KeySecurity
  623.         Ifstr $(KeySecurity) == ""
  624.            Shell $(UtilityInf), CreateService, $(RpcSrvNameSSP), +
  625.                   $(RpcSrvDisplayNameSSP), $(RpcSrvExeSSP), "serviceshare", +
  626.                   "", {}, "", ""
  627.            Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  628.                Debug-Output "OEMNSVRP.INF: ShellCode error creating RPCSS service: "$($ShellCode)
  629.                goto ShellCodeError
  630.            endif
  631.            Set RegistryErrorIndex = $($R0)
  632.            CloseRegKey $($R1)
  633.            CloseRegKey $($R2)
  634.            CloseRegKey $($R3)
  635.            Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  636.               EndWait
  637.               Debug-Output "OEMNSVRP.INF: Registry error: creating RPCSS service"
  638.               Goto fatalregistry
  639.            Endif
  640.            OpenRegKey $(!REG_H_LOCAL) "" $(RpcSoftKeyName) $(MAXIMUM_ALLOWED) RpcKey
  641.            Ifstr(i) $(RpcKey) == $(KeyNull)
  642.              Debug-Output "OEMNSVRP.INF: Error opening RPC key"
  643.              Set RegistryErrorIndex = UNABLE_ACCESS_SOFTWARE_REG
  644.              Goto fatalregistry
  645.            Endif
  646.            CreateRegKey $(RpcKey) {"SecurityService",$(NoTitle),GenericClass}     "" $(MAXIMUM_ALLOWED) "" KeySecurity
  647.            Ifstr(i) $(KeySecurity) == $(KeyNull)
  648.                OpenRegKey $(!REG_H_LOCAL) "" $(RpcSecurityKeyName) $(MAXIMUM_ALLOWED) KeySecurity
  649.            Endif
  650.            CloseRegKey $(RpcKey)
  651.            Ifstr(i) $(KeySecurity) == $(KeyNull)
  652.                Debug-Output "OEMNSVRP.INF: Registry error creating subordinate RPC keys"
  653.                Goto fatalregistry
  654.            Endif
  655.            Set NewValueList = {{DefaultProvider,$(NoTitle),$(!REG_VT_SZ),$(MSSecurityDLL)},+
  656.                         {10,$(NoTitle),$(!REG_VT_SZ),$(MSSecurityDLL)},+
  657.                         {DefaultAuthLevel,$(NoTitle),$(!REG_VT_DWORD),0}}
  658.            Shell  $(UtilityInf), AddValueList, $(KeySecurity), $(NewValueList)
  659.            Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  660.                Debug-Output "OEMNSVRP.INF: ShellCode error."
  661.                CloseRegKey $(KeySecurity)
  662.                goto ShellCodeError
  663.            Endif
  664.            set RegistryErrorIndex = $($R0)
  665.            Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  666.               Debug-Output "OEMNSVRP.INF: registry error: add value list."
  667.               goto fatalregistry
  668.            Endif
  669.         Endif
  670.         OpenRegKey $(!REG_H_LOCAL) "" $(RpcSoftKeyName)$(ClientProto) $(MAXIMUM_ALLOWED) KeyClient
  671.         Ifstr $(KeyClient) != $(KeyNull)
  672.             EnumRegValue $(KeyClient) ValueList        
  673.             ForListDo $(ValueList)
  674.                 set ValueItemList = $($)
  675.                 Ifcontains(i) *($(ValueItemList),4) in $(DLLClientList)
  676.                     set NewValueList = {*($(ValueItemList),1),0,$(!REG_VT_SZ),"rpcltccm.dll" }
  677.                     SetRegValue $(KeyClient) $(NewValueList)
  678.                     Ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
  679.                         Debug-Output "OEMNSVRP.INF: registry error: setting new client protocol dll name:"*($(ValueItemList),1)":"$(RegLastError)
  680.                         goto fatalregistry
  681.                     endif
  682.                 Endif
  683.             EndForListDo
  684.             CloseRegKey $(KeyClient)
  685.         else
  686.             Debug-Output "OEMNSVRP.INF: registry error: opening client protocols for dll rename"
  687.             goto fatalregistry
  688.         endif
  689.         OpenRegKey $(!REG_H_LOCAL) "" $(RpcSoftKeyName)$(ServerProto) $(MAXIMUM_ALLOWED) KeyServer
  690.         Ifstr $(KeyServer) != $(KeyNull)
  691.             EnumRegValue $(KeyServer) ValueList        
  692.             ForListDo $(ValueList)
  693.                 set ValueItemList = $($)
  694.                 Ifcontains(i) *($(ValueItemList),4) in $(DLLServerList)
  695.                     set NewValueList = {*($(ValueItemList),1),0,$(!REG_VT_SZ),"rpcltscm.dll" }
  696.                     SetRegValue $(KeyServer) $(NewValueList)
  697.                     Ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
  698.                         Debug-Output "OEMNSVRP.INF: registry error: setting new server protocol dll name:"*($(ValueItemList),1)":"$(RegLastError)
  699.                         goto fatalregistry
  700.                     endif
  701.                 Endif
  702.             EndForListDo
  703.             CloseRegKey $(KeyServer)
  704.         else
  705.             Debug-Output "OEMNSVRP.INF: registry error: opening server protocols for dll rename"
  706.             goto fatalregistry
  707.         endif
  708.         CloseRegKey $(KeySecurity)
  709.         CloseRegKey $(KeyProduct)
  710.     else
  711.         goto fatalregistry
  712.     endif
  713.     goto end
  714. successful = +
  715.     goto end
  716. warning = +
  717.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  718.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  719.         goto ShellCodeError
  720.     endif
  721.     ifstr(i) $($R1) == "OK"
  722.         goto $(to)
  723.     else-ifstr(i) $($R1) == "CANCEL"
  724.         goto $(from)
  725.     else
  726.         goto "end"
  727.     endif
  728. nonfatal = +
  729.     ifstr(i) $(Error) == ""
  730.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  731.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  732.             goto ShellCodeError
  733.         endif
  734.         set Error = $($R0)
  735.     endif
  736.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "NONFATAL", $(Error)
  737.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  738.         goto ShellCodeError
  739.     endif
  740.     ifstr(i) $($R1) == "OK"
  741.         goto $(from)
  742.     else
  743.         goto "end"
  744.     endif
  745. fatalregistry = +
  746.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  747.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  748.         goto ShellCodeError
  749.     endif
  750.     set Error = $($R0)
  751.     goto fatal
  752. fatal = +
  753.     ifstr(i) $(Error) == ""
  754.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  755.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  756.             goto ShellCodeError
  757.         endif
  758.         set Error = $($R0)
  759.     endif
  760.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  761.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  762.         goto ShellCodeError
  763.     endif
  764.     goto setfailed
  765. ShellCodeError = +
  766.     set DlgType      = "MessageBox"
  767.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  768.     set STF_MB_TEXT  = $(ShellCodeErrorText) 
  769.     set STF_MB_TYPE  = 1
  770.     set STF_MB_ICON  = 3
  771.     set STF_MB_DEF   = 1
  772.     ui start "Error Message"
  773.     goto setfailed
  774. setfailed = +
  775.     set CommonStatus = STATUS_FAILED
  776.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  777.         set OEM_ABANDON_ON = FALSE
  778.         goto removeadapter
  779.     endif
  780.     goto end
  781. end = +
  782.     goto term
  783. term = +
  784.     Return $(CommonStatus)
  785. [Install-Option]
  786.     set STF_VITAL = ""
  787.     ifstr(i) $(AddCopy) == "YES"
  788.         AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)
  789.     endif
  790.     ifstr(i) $(DoCopy) == "YES"
  791.        set !STF_NCPA_FLUSH_COPYLIST = TRUE
  792.        CopyFilesInCopyList
  793.     endif
  794.     ifstr(i) $(DoConfig) == "YES"
  795.     endif
  796.     Exit
  797. [Install-Update]
  798.    set STF_VITAL        = ""
  799.    set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  800.    AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)
  801.    exit
  802. [Source Media Descriptions]
  803.     1 = "Windows NT Server CD-ROM", TAGFILE = cdrom_s.40
  804. [Signature]
  805.     FileType = MICROSOFT_FILE
  806. [GetSignature]
  807.     read-syms Signature
  808.     return $(FileType)
  809. [ProductType]
  810. STF_PRODUCT  = LanmanNT
  811. STF_PLATFORM = I386
  812. [Files-Inf]
  813. 2,    oemsetup.inf,     SIZE=1000,    RENAME=$(!UG_Filename)
  814. [Files-RPCBANYAN]
  815. 1,RPCLTC8.DLL , SIZE=15120
  816. 1,RPCLTS8.DLL , SIZE=17168
  817. [Files-RPCLOCATE]
  818. 1,LOCATOR.EXE , SIZE=118032
  819. [LanguagesSupported]
  820.     ENG
  821. [OptionsTextENG]
  822.     RPCLOCATE   = "RPC Configuration"
  823.     RPCBANYAN   = "RPC support for Banyan"
  824. [LocatorNamesENG]
  825. LocName1 = "Windows NT Locator"
  826. LocName2 = "DCE Cell Directory Service"
  827. [SecurityNamesENG]
  828. SecName1 = "Windows NT Security Service"
  829. SecName2 = "DCE Security Service"
  830. [FileConstantsENG]
  831. ProCaption   = "Windows NT Setup"
  832. ProCancel    = "Cancel"
  833. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  834.                "Are you sure you want to cancel copying files?"
  835. ProCancelCap = "Network Setup Message"
  836. ProText1     = "Copying:"
  837. ProText2     = "To:"
  838. ProductSoftwareDescription      = "Remote Procedure Call service enables RPC-written programs to perform procedures on multiple computers. Includes the endpoint mapper and other RPC services."
  839. ProductRPCTitle   = "RPC Configuration"
  840. ProductRPCBanyanTitle   = "RPC support for Banyan"
  841. ProductRPCBaynanSoftDescription      = "RPC support for Banyan"
  842. RpcSrvDisplayNameRpcss   = "Remote Procedure Call (RPC) Service"
  843. RpcSrvDisplayNameLocator = "Remote Procedure Call (RPC) Locator"
  844. RpcSrvDisplayNameSSP     = "NT LM Security Support Provider"
  845. RpcSuiteDisplayName      = "Remote Procedure Call Configuration"
  846. [RPCLOCATEConstantsENG]
  847. FunctionTitle   = "RPC Configuration"
  848. ShellCodeErrorTitle     = "Error: "$(FunctionTitle)
  849. ShellCodeErrorText      = "Shell Code Error."
  850. [RPCBANYANConstantsENG]
  851. FunctionTitle   = "RPC support for Banyan"
  852. ShellCodeErrorTitle     = "Error: "$(FunctionTitle)
  853. ShellCodeErrorText      = "Shell Code Error."
  854. [DialogConstantsENG]
  855. Help        = "&Help"
  856. Exit        = "Cancel"
  857. OK          = "OK"
  858. HelpContext = ""
  859. Continue    = "C&ontinue"
  860. Cancel      = "C&ancel"
  861. [RpcProviderDlgENG]
  862. Caption = "RPC Configuration"
  863. Edit1Label = "Network &Address:"
  864. Combo1Label = "&Name Service Provider:"
  865. Combo2Label = "&Security Service Provider:"
  866. Help        = "&Help"
  867. Continue    = "OK"
  868. Cancel      = "Cancel"
  869. DlgType = Combination
  870. DlgTemplate = "RPCPROVIDE"
  871. EditTextIn = $(NetworkAddress)
  872. EditFocus = "ALL"
  873. EditTextLim = 50
  874. Combo1List  = $(LocatorListboxNames)
  875. Combo1Out   = $(LocatorChosenName)
  876. Combo2List  = $(SecurityListboxNames)
  877. Combo2Out   = $(SecurityChosenName)
  878. ComboListItemsIn  = {Combo1List, Combo2List}
  879. ComboListItemsOut = {Combo1Out, Combo2Out}
  880. HelpContext = $(!IDH_DB_RPCLOCATE_INS)
  881. ExitState   = "Active"
  882. NotifyFields = { YES }
  883. [NonFatalError1ENG]
  884. NonFatal = "No network address was entered."
  885. [NonFatalError2ENG]
  886. NonFatal = "Network address ignored for Windows NT Locator."
  887. [NonFatalError3ENG]
  888. NonFatal = "The DCE Security Service is not installed on this computer."
  889.