home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 December / MICD_2000_12_NR1.iso / Dreamnet / drivery / SMC / pci_55.exe / OEMSETUP.INF < prev    next >
INI File  |  1997-01-06  |  37KB  |  914 lines

  1. ; OEMSETUP FILE FOR SMCPWR Ethernet adapters , v4.15
  2. ;     NDIS 3.1  - Windows NT 3.51 -
  3. ;
  4. ;     Supported adapters:
  5. ;           SMC 8432    EtherPower Without Boot ROM Socket
  6. ;           SMC 8432    EtherPower With Boot ROM Socket
  7. ;           SMC 8434    EtherPower^2 PCI Ethernet Adapter
  8. ;           SMC 9332DST EtherPower10/100 PCI Fast Ethernet Adapter
  9. ;           SMC 9332BDT EtherPower10/100 PCI Fast Ethernet Adapter
  10. ;           SMC 9334BDT EtherPower10/100 Dual Channel PCI Fast Ethernet Adapter
  11. ;           SMC 9332BVT EtherPower10/100T4 PCI Fast Ethernet Adapter
  12. ;           SMC DC21143 EtherPower10/100 PCI Fast Ethernet Adapter
  13. ;
  14. ; Usage:
  15. ;
  16. ;     This file is the installation/configuration/deinstallation
  17. ;     procedure of the SMCPWR driver for Windows NT.  It can be
  18. ;     called from Windows Setup directly, or via the Windows NT
  19. ;     Networks Control Program Applet (NCPA) from inside the Windows
  20. ;     Control Panel.
  21. ;
  22. ;----------------------------------------------------------------------------------------
  23. [Identification]
  24.     OptionType = NetAdapter
  25. [PlatformsSupported]
  26.     ISA
  27.     EISA
  28.     "Jazz-Internal Bus"
  29.     PCI
  30. [Options]
  31.     SMC8432
  32.     SMC8432e
  33.     SMC8434
  34.     SMC9332
  35.     SMC9332BDT
  36.     SMC9332BVT
  37.     SMCDC21143
  38. [ConnectionChoicesSMC8432]
  39.     Connect_0 = "AutoDetect", 0
  40.     Connect_1 = "10BaseT (Twisted_Pair)", 2
  41.     Connect_2 = "10BaseT Full_Duplex", 3
  42.     Connect_3 = "10BaseT No_Link_Test", 4
  43.     Connect_4 = "10Base2 (BNC)", 1
  44.     Connect_5 = "10Base5 (AUI)", 5
  45. [ConnectionChoicesSMC8432e]
  46.     Connect_0 = "AutoDetect", 0
  47.     Connect_1 = "10BaseT (Twisted_Pair)", 2
  48.     Connect_2 = "10BaseT Full_Duplex", 3
  49.     Connect_3 = "10BaseT No_Link_Test", 4
  50.     Connect_4 = "10Base2 (BNC)", 1
  51.     Connect_5 = "10Base5 (AUI)", 5
  52. [ConnectionChoicesSMC8434]
  53.     Connect_0 = "AutoDetect", 0
  54.     Connect_1 = "10BaseT (Twisted_Pair)", 2
  55.     Connect_2 = "10BaseT Full_Duplex", 3
  56.     Connect_3 = "10BaseT No_Link_Test", 4
  57.     Connect_4 = "10Base5 (AUI)", 5
  58. [ConnectionChoicesSMC9332]
  59.     Connect_0 = "AutoDetect", 0
  60.     Connect_1 = "100 Mbps", 8
  61.     Connect_2 = "100 Mbps Full_Duplex", 9
  62.     Connect_3 = " 10 Mbps", 2
  63. [ConnectionChoicesSMC9332BDT]
  64.     Connect_0 = "AutoSense", 0
  65.     Connect_2 = "100 Mbps", 8
  66.     Connect_3 = "100 Mbps Full_Duplex", 9
  67.     Connect_6 = " 10 Mbps", 2
  68.     Connect_7 = " 10 Mbps Full_Duplex", 3
  69. [ConnectionChoicesSMC9332BVT]
  70.     Connect_0 = "AutoSense", 0
  71.     Connect_4 = "100 Mbps T4", 10
  72.     Connect_7 = " 10 Mbps", 2
  73.     Connect_8 = " 10 Mbps Full_Duplex", 3
  74. [ConnectionChoicesSMCDC21143]
  75.     Connect_0 = "AutoSense", 0
  76.     Connect_2 = "100 Mbps", 8
  77.     Connect_3 = "100 Mbps Full_Duplex", 9
  78.     Connect_6 = " 10 Mbps", 2
  79.     Connect_7 = " 10 Mbps Full_Duplex", 3
  80. [FileConstants]
  81. UtilityInf      = "UTILITY.INF"
  82. subroutineinf   = "SUBROUTN.INF"
  83. SoftwareType    = "driver"
  84. Exit_Code       = 0
  85. NetEventDLL     = "%SystemRoot%\System32\netevent.dll"
  86. IoLogMsgDLL     = "%SystemRoot%\System32\IoLogMsg.dll"
  87. Manufacturer    = "StandardMicrosystemsCorporation"
  88. ProductMajorVersion     = "4"
  89. ProductMinorVersion     = "15"
  90. ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  91.  
  92. VendorID = 4113  ;; 1011 (DEC)
  93.  
  94. ProductSoftwareName     = "SMCPWR"
  95. ProductSoftwareTitle    = "SMCPWR Adapter Driver"
  96. ProductSoftwareImagePath = "\SystemRoot\System32\drivers\smcpwrn.sys"
  97. NetRuleSoftwareType     = "SMCPWRSys ndisDriver SMCPWRDriver"
  98. NetRuleSoftwareUse        = $(SoftwareType)
  99. NetRuleSoftwareBindForm = """SMCPWRSys"" yes no container"
  100. NetRuleSoftwareClass    = {"SMCPWRDriver basic"}
  101. NetRuleSoftwareSWBindable = {"SMCPWRDriver SMC8432Adapter non exclusive 100",+
  102.                              "SMCPWRDriver SMC8432eAdapter non exclusive 100",+
  103.                              "SMCPWRDriver SMC8434Adapter non exclusive 100",+
  104.                              "SMCPWRDriver SMC9332Adapter non exclusive 100",+
  105.                              "SMCPWRDriver SMC9332BDTAdapter non exclusive 100",+
  106.                              "SMCPWRDriver SMC9332BVTAdapter non exclusive 100",+
  107.                              "SMCPWRDriver SMCDC21143Adapter non exclusive 100"}
  108.  
  109. ProductHardwareName     = "SMCPWR"
  110. ProductHardwareSMC8432Title   = "SMC8432 EtherPower without ROM Socket"
  111. NetRuleHardwareSMC8432Type    = "SMC8432 SMC8432Adapter"
  112. NetRuleHardwareSMC8432Class   = {"SMC8432Adapter basic"}
  113. AdapterSMC8432Type = 5  ;; PCI board
  114. HelpSMC8432Id  = 10
  115. SMC8432CFID = 135185         ;; 0x00021011
  116. ProductHardwareName     = "SMCPWR"
  117. ProductHardwareSMC8432eTitle   = "SMC8432 EtherPower with ROM Socket"
  118. NetRuleHardwareSMC8432eType    = "SMC8432e SMC8432eAdapter"
  119. NetRuleHardwareSMC8432eClass   = {"SMC8432eAdapter basic"}
  120. AdapterSMC8432eType = 5  ;; PCI board
  121. HelpSMC8432eId  = 11
  122. SMC8432eCFID = 1314833   ;; 0x00141011
  123.  
  124.  
  125. ProductHardwareName     = "SMCPWR"
  126. ProductHardwareSMC8434Title   = "SMC8434 EtherPower2"
  127. NetRuleHardwareSMC8434Type    = "SMC8434 SMC8434Adapter"
  128. NetRuleHardwareSMC8434Class   = {"SMC8434Adapter basic"}
  129. AdapterSMC8434Type = 5  ;; PCI board
  130. HelpSMC8434Id  = 20
  131. SMC8434CFID = 135185         ;; 0x00021011
  132.  
  133. ProductHardwareSMC9332Title   = "SMC9332DST EtherPower10/100"
  134. NetRuleHardwareSMC9332Type    = "SMC9332 SMC9332Adapter"
  135. NetRuleHardwareSMC9332Class   = {"SMC9332Adapter basic"}
  136. AdapterSMC9332Type = 5  ;; PCI board
  137. HelpSMC9332Id  = 30
  138. SMC9332CFID = 593937     ;; 0x00091011
  139. OptionHelpFile = "SMCPWRN.hlp"
  140.  
  141. ProductHardwareSMC9332BDTTitle   = "SMC9332BDT/9334BDT EtherPower10/100"
  142. NetRuleHardwareSMC9332BDTType    = "SMC9332BDT SMC9332BDTAdapter"
  143. NetRuleHardwareSMC9332BDTClass   = {"SMC9332BDTAdapter basic"}
  144. AdapterSMC9332BDTType = 5  ;; PCI board
  145. HelpSMC9332BDTId  = 30
  146. SMC9332BDTCFID = 593937     ;; 0x00091011
  147. OptionHelpFile = "SMCPWRN.hlp"
  148.  
  149. ProductHardwareSMC9332BVTTitle   = "SMC9332BVT EtherPower10/100T4"
  150. NetRuleHardwareSMC9332BVTType    = "SMC9332BVT SMC9332BVTAdapter"
  151. NetRuleHardwareSMC9332BVTClass   = {"SMC9332BVTAdapter basic"}
  152. AdapterSMC9332BVTType = 5  ;; PCI board
  153. HelpSMC9332BVTId  = 30
  154. SMC9332BVTCFID = 593937     ;; 0x00091011
  155. OptionHelpFile = "SMCPWRN.hlp"
  156.  
  157. ProductHardwareSMCDC21143Title   = "SMC DC21143 EtherPower10/100 PCI Fast Ethernet Adapter"
  158. NetRuleHardwareSMCDC21143Type    = "SMCDC21143 SMCDC21143Adapter"
  159. NetRuleHardwareSMCDC21143Class   = {"SMCDC21143Adapter basic"}
  160. AdapterSMCDC21143Type = 5  ;; PCI board
  161. HelpSMCDC21143Id  = 50
  162. SMCDC21143CFID = 1642513     ;; 0x00191011
  163. OptionHelpFile = "SMCPWRN.hlp"
  164.  
  165. StoreAndForward = 1      ;; Store_and_forward mode enabled
  166.  
  167. DC21041CFID = 1314833   ;; 0x00141011
  168. DC21140CFID = 593937     ;; 0x00091011
  169. DC21143CFID = 1642513     ;; 0x00191011
  170. DC21142CFID = 1642513     ;; 0x00191011
  171.  
  172. NetRuleHardwareBindForm = " yes yes container"
  173. ProductKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
  174. ParamKeyName    = $(!NTN_ServiceBase)"\"$(ProductHardwareName)"\Parameters"
  175.  
  176. [GeneralConstants]
  177. from        = ""
  178. to          = ""
  179. ExitCodeOk     = 0
  180. ExitCodeCancel = 1
  181. ExitCodeFatal  = 2
  182. KeyNull           = ""
  183. MAXIMUM_ALLOWED   = 33554432
  184. RegistryErrorIndex = NO_ERROR
  185. KeyProduct        = ""
  186. KeyParameters   = ""
  187. TRUE                = 1
  188. FALSE             = 0
  189. NoTitle                = 0
  190. ExitState   = "Active"
  191. OldVersionExisted = $(FALSE)
  192. DriverPath        = $(!STF_NTPATH)\drivers
  193. [date]
  194.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  195. [Identify]
  196.     read-syms Identification
  197.     set Status     = STATUS_SUCCESSFUL
  198.     set Identifier = $(OptionType)
  199.     set Media        = #("Source Media Descriptions", 1, 1)
  200.     Return $(Status) $(Identifier) $(Media)
  201. [ReturnOptions]
  202.     set Status          = STATUS_FAILED
  203.     set OptionList     = {}
  204.     set OptionTextList = {}
  205.     set LanguageList = ^(LanguagesSupported, 1)
  206.     Ifcontains(i) $($0) in $(LanguageList)
  207.         ifstr(i) $($1) == ""
  208.            goto returnoptions
  209.         endif
  210.         set PlatformList = ^(PlatformsSupported, 1)
  211.         Ifcontains(i) $($1) in $(PlatformList)
  212.            goto returnoptions
  213.         else
  214.            set Status = STATUS_NOTSUPPORTED
  215.            goto finish_ReturnOptions
  216.         endif
  217.     else
  218.         set Status = STATUS_NOLANGUAGE
  219.         goto finish_ReturnOptions
  220.     endif
  221. returnoptions = +
  222.     set OptionList     = ^(Options, 1)
  223.     set OptionTextList = ^(OptionsText$($0), 1)
  224.     set Status           = STATUS_SUCCESSFUL
  225. finish_ReturnOptions = +
  226.     Return $(Status) $(OptionList) $(OptionTextList)
  227. [InstallOption]
  228.     set Option   = $($1)
  229.     set SrcDir   = $($2)
  230.     set AddCopy  = $($3)
  231.     set DoCopy   = $($4)
  232.     set DoConfig = $($5)
  233.     set LanguageList = ^(LanguagesSupported, 1)
  234.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  235.         Return STATUS_NOLANGUAGE
  236.     endif
  237.     set-subst LF = "\n"
  238.     read-syms GeneralConstants
  239.     read-syms FileConstants
  240.     set NetRuleSoftwareBindable = $($R1)
  241.     read-syms DialogConstants$(!STF_LANGUAGE)
  242.     ifstr(i) $(!NTN_Origination) == "NCPA"
  243.         set Continue = "OK"
  244.     endif
  245.     read-syms FileConstants$(!STF_LANGUAGE)
  246.     detect date
  247.     set-title  $(Function$(Option)Title)
  248.     set to   = Begin
  249.     set from = Begin
  250.     set CommonStatus = STATUS_SUCCESSFUL
  251.     EndWait
  252. Begin = +
  253.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  254.         set StartLabel = removeadapter
  255.     else-Ifstr(i) $(!NTN_InstallMode) == Update
  256.         set StartLabel = UpgradeSoftware
  257.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  258.         set StartLabel = bindingadapter
  259.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  260.           Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  261.                  Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  262.                  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  263.                      goto ShellCodeError
  264.                  endif
  265.                  set Error = $($R0)
  266.                  set from = end
  267.                  set to = end
  268.                  goto nonfatalinfo
  269.           else
  270.                  set StartLabel = configureadapter
  271.           endif
  272.     else
  273.         set StartLabel = installadapter
  274.         set OEM_ABANDON_OPTIONS = {}
  275.         set OEM_ABANDON_SOFTWARE = FALSE
  276.         set OEM_ABANDON_ON = TRUE
  277.     endif
  278.     set from = $(fatal)
  279.     set to = $(fatal)
  280.     goto $(StartLabel)
  281. installadapter = +
  282.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  283.     Ifstr $(KeyProduct) != $(KeyNull)
  284.         CloseRegKey $(KeyProduct)
  285.         ifstr(i) !(NTN_RegBase) == $(ProductKeyName)
  286.            Shell $(UtilityInf), VerExistedDlg, $(ProductSoftwareTitle),+
  287.                  $(ProductVersion)
  288.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  289.                  goto ShellCodeError
  290.            endif
  291.            goto end
  292.         else
  293.            Shell $(UtilityInf), CardExistedDlg
  294.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  295.                 goto ShellCodeError
  296.            endif
  297.            ifstr(i) $($R1) != "OK"
  298.                  set CommonStatus = STATUS_USERCANCEL
  299.                  goto end
  300.            endif
  301.            set OldVersionExisted = $(TRUE)
  302.         endif
  303.     Endif
  304.     ifstr(i) $(DoCopy) == "YES"
  305.         Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  306.         Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  307.             Goto ShellCodeError
  308.         Else-Ifstr(i) $($R0) == STATUS_FAILED
  309.             Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  310.             ifint $($ShellCode) != $(!SHELL_CODE_OK)
  311.                  goto ShellCodeError
  312.             endif
  313.             set Error = $($R0)
  314.                  Goto fatal
  315.         Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  316.                  Goto successful
  317.         Endif
  318.         Set SrcDir = $($R1)
  319.         install "Install-Hlp"
  320.     endif
  321.     Goto installproduct
  322. configureadapter = +
  323.     Ifstr(i) $(KeyProduct) == $(KeyNull)
  324.         OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase) $(MAXIMUM_ALLOWED) KeyProduct
  325.         Ifstr $(KeyProduct) == $(KeyNull)
  326.             Set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
  327.            Goto fatalregistry
  328.         Endif
  329.     Endif
  330.     Shell $(UtilityInf) FindService, $(KeyProduct)
  331.     Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  332.         Goto ShellCodeError
  333.     Endif
  334.     Ifstr(i) $($R0) != NO_ERROR
  335.         Goto fatalregistry
  336.     endif
  337.     set KeyParameters = $($R2)
  338.     CloseRegKey $($R1)
  339.     Ifstr $(KeyParameters) == $(KeyNull)
  340.         set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
  341.         goto fatalregistry
  342.     endif
  343.     set OldVersionExisted = $(TRUE)
  344.     set ValueName = ""
  345.     set ValueData = ""
  346.     set ValueStr  = ""
  347.     set ValueList = {}
  348.     EnumRegValue $(KeyParameters) ValueList
  349.     ForListDo $(ValueList)
  350.         set ValueItem = $($)
  351.         set ValueName = *($(ValueItem),1)
  352.         set ValueData = *($(ValueItem),4)
  353.         Ifstr(i) $(ValueName) == "DataRate"
  354.             set ConnectionIndex = $(ValueData)
  355.         endif
  356.     EndForListDo
  357.     set ConnectionValue = *($(ConnectionList), ~($(ConnectionValues),$(ConnectionIndex)))
  358.     ifstr(i) $(ConnectionValue) == ""
  359.         set ConnectionValue = *($(ConnectionList), 2)
  360.     endif
  361. adapteroptions = +
  362.         set from = adapteroptions
  363.         read-syms FileDependentDlg$(!STF_LANGUAGE)
  364.         SetHelpFile $(!STF_WINDOWSSYSPATH)"\"$(OptionHelpFile) $(MinHelpId) $(MaxHelpId) $(Help$(Option)Id)
  365.         ui start "InputDlg"
  366.         ifstr(i) $(DLGEVENT) == "CONTINUE"
  367.            set ConnectionIndex = $(Combo1Out)
  368.            ui pop 1
  369.         else-ifstr(i) $(DLGEVENT) == "BACK"
  370.            set CommonStatus = STATUS_USERCANCEL
  371.            ui pop 1
  372.            goto end
  373.         else
  374.            ui pop 1
  375.            goto end
  376.         endif
  377.         set ConnectionValue = *($(ConnectionValues), ~($(ConnectionList),$(ConnectionIndex)))
  378.         ifstr(i) $(!NTN_InstallMode) == configure
  379.            goto updateparameters
  380.         endif
  381. installproduct =+
  382.     StartWait
  383.         set-div DeviceID = $($(Option)CFID) 65536
  384.         Shell $(UtilityInf), GetPCIInformation, $(VendorID) $(DeviceID)
  385.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  386.              goto ShellCodeError
  387.         endif
  388.         ifstr(i) $($R0) == {}
  389.              set Error = $(CANNOT_FIND_ANY_CARD)
  390.              set CommonStatus = USER_CANCEL
  391.              set from = end
  392.              goto nonfatal
  393.         endif
  394.         set AdapterList = $($R0)
  395.     ifint $(OldVersionExisted) == $(FALSE)
  396.         Ifstr(i) $(DoCopy) == "YES"
  397.            Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  398.            Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  399.                  Goto ShellCodeError
  400.            Else-Ifstr(i) $($R0) == STATUS_FAILED
  401.                  Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  402.                  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  403.                   goto ShellCodeError
  404.                  endif
  405.                  set Error = $($R0)
  406.                  Goto fatal
  407.            Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  408.                  Goto successful
  409.            Endif
  410.            Set SrcDir = $($R1)
  411.         Endif
  412.         install "Install-Option"
  413.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  414.            Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  415.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  416.                  goto ShellCodeError
  417.            endif
  418.            set Error = $($R0)
  419.            goto fatal
  420.         endif
  421.         Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  422.             $(ProductSoftwareName), +
  423.             $(ProductSoftwareName), +
  424.             $(ProductSoftwareTitle), $(STF_CONTEXTINFNAME), +
  425.             $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+
  426.             $(NetEventDLL)
  427.         Set OEM_ABANDON_SOFTWARE = TRUE
  428.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  429.             goto ShellCodeError
  430.         endif
  431.         set RegistryErrorIndex = $($R0)
  432.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  433.             EndWait
  434.             CloseRegKey $($R1)
  435.             CloseRegKey $($R2)
  436.             CloseRegKey $($R3)
  437.             CloseRegKey $($R4)
  438.             CloseRegKey $($R5)
  439.             goto fatalregistry
  440.         endif
  441.         Set SoftProductKey        = $($R1)
  442.         Set SoftNetRuleKey        = $($R2)
  443.         Set SoftServiceKey        = $($R3)
  444.         Set SoftParameterKey    = $($R4)
  445.         Set SoftLinkageKey        = $($R5)
  446.         set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  447.                            {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  448.                            {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  449.                            {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)},+
  450.                            {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
  451.                            {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
  452.                            {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  453.         Shell  $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
  454.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  455.             goto ShellCodeError
  456.         endif
  457.         set RegistryErrorIndex = $($R0)
  458.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  459.             EndWait
  460.             CloseRegKey $(SoftProductKey)
  461.             CloseRegKey $(SoftNetRuleKey)
  462.             CloseRegKey $(SoftServiceKey)
  463.             CloseRegKey $(SoftParameterKey)
  464.             CloseRegKey $(SoftLinkageKey)
  465.             goto fatalregistry
  466.         endif
  467.         set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+
  468.                             {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, +
  469.                             {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, +
  470.                             {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, +
  471.                             {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareSWBindable)}, +
  472.                             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  473.         Shell  $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
  474.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  475.             goto ShellCodeError
  476.         endif
  477.         set RegistryErrorIndex = $($R0)
  478.         CloseRegKey $(SoftProductKey)
  479.         CloseRegKey $(SoftNetRuleKey)
  480.         CloseRegKey $(SoftServiceKey)
  481.         CloseRegKey $(SoftParameterKey)
  482.         CloseRegKey $(SoftLinkageKey)
  483.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  484.             EndWait
  485.             goto fatalregistry
  486.         endif
  487.     endif
  488.     ForListDo $(AdapterList)
  489.         set BusNum = *($($),1)
  490.         set DeviceNum = *($($),2)
  491.         set FunctionNum = *($($),3)
  492.                 Shell $(UtilityInf), IsNetCardAlreadyInstalled, $(BusNum), +
  493.                     $(DeviceNum), $(ProductHardware$(Option)Description), $(ProductHardwareName) "YES"
  494.                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  495.                     goto ShellCodeError
  496.                 endif
  497.                 ifstr $($R0) != "NO_ERROR"
  498.                     set Error = $($R0)
  499.                     goto fatal
  500.                 endif
  501.                 ifstr(i) $($R1) != "YES"
  502.                     read-syms FileDependentDlg$(!STF_LANGUAGE)
  503.                     SetHelpFile $(!STF_WINDOWSSYSPATH)"\"$(OptionHelpFile) $(MinHelpId) $(MaxHelpId) $(Help$(Option)Id)
  504.                     ui start "InputDlg"
  505.                     ifstr(i) $(DLGEVENT) == "CONTINUE"
  506.                          set ConnectionIndex = $(Combo1Out)
  507.                          ui pop 1
  508.                     else-ifstr(i) $(DLGEVENT) == "BACK"
  509.                          set CommonStatus = STATUS_USERCANCEL
  510.                          ui pop 1
  511.                          goto end
  512.                     else
  513.                          ui pop 1
  514.                          goto end
  515.                     endif
  516.                     Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName)
  517.                     ifint $($R4) != -1
  518.                         Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
  519.                     endif
  520.                     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  521.                         goto ShellCodeError
  522.                     endif
  523.                     set RegistryErrorIndex = $($R0)
  524.                     Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  525.                          EndWait
  526.                          CloseRegKey $($R1)
  527.                          CloseRegKey $($R2)
  528.                          CloseRegKey $($R3)
  529.                          goto fatalregistry
  530.                     endif
  531.                     set ConnectionValue = *($(ConnectionValues), ~($(ConnectionList),$(ConnectionIndex)))
  532.                     Set HardNetCardKey        = $($R1)
  533.                     Set HardNetRuleKey        = $($R2)
  534.                     Set HardParameterKey    = $($R3)
  535.                     set AdapterNumber = $($R4)
  536.                     set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
  537.                                         {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+
  538.                                         {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+
  539.                                         {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
  540.                                         {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
  541.                                         {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  542.                     Shell  $(UtilityInf), AddValueList, $(HardNetCardKey), $(NewValueList)
  543.                     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  544.                          goto ShellCodeError
  545.                     endif
  546.                     set BusTypeNum = 5
  547.                     set NewValueList = {{AdapterType,$(NoTitle),$(!REG_VT_DWORD),$(Adapter$(Option)Type)},+
  548.                                         {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+
  549.                                         {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
  550.                                         {AdapterCFID,$(NoTitle),$(!REG_VT_DWORD),$($(Option)CFID)}}
  551.                     Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  552.                     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  553.                         goto ShellCodeError
  554.                     endif
  555.                     ifint $($(Option)CFID) == $(DC21041CFID)
  556.                         set NewValueList = {{SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  557.                         Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  558.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  559.                             goto ShellCodeError
  560.                         endif
  561.                         set NewValueList = {{NwayProtocol,$(NoTitle),$(!REG_VT_DWORD),0}}
  562.                         Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  563.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  564.                             goto ShellCodeError
  565.                         endif
  566.                     endif
  567.                     ifint $($(Option)CFID) == $(DC21142CFID)
  568.                         set NewValueList = {{StoreAndForward,$(NoTitle),$(!REG_VT_DWORD),$(StoreAndForward)},+
  569.                                             {SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  570.                         Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  571.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  572.                             goto ShellCodeError
  573.                         endif
  574.                         set NewValueList = {{NwayProtocol,$(NoTitle),$(!REG_VT_DWORD),0}}
  575.                         Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  576.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  577.                             goto ShellCodeError
  578.                         endif
  579.                     endif
  580.                     ifint $($(Option)CFID) == $(DC21143CFID)
  581.                         set NewValueList = {{StoreAndForward,$(NoTitle),$(!REG_VT_DWORD),$(StoreAndForward)},+
  582.                                             {SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  583.                         Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  584.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  585.                             goto ShellCodeError
  586.                         endif
  587.                     endif
  588.                     ifint $($(Option)CFID) == $(DE450CFID)
  589.                         set NewValueList = {{SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  590.                         Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  591.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  592.                             goto ShellCodeError
  593.                         endif
  594.                     endif
  595.                     ifint $($(Option)CFID) == $(DC21140CFID)
  596.                         set NewValueList = {{StoreAndForward,$(NoTitle),$(!REG_VT_DWORD),$(StoreAndForward)},+
  597.                                             {TransmitThreshold100,$(NoTitle),$(!REG_VT_DWORD),$(TxmThreshold100)},+
  598.                                             {SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  599.                         Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  600.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  601.                             goto ShellCodeError
  602.                         endif
  603.                     endif
  604.                     set NewValueList = {{DataRate,$(NoTitle),$(!REG_VT_DWORD),$(ConnectionValue)}}
  605.                     Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  606.                     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  607.                         goto ShellCodeError
  608.                     endif
  609.                     set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)""""
  610.                     set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm)
  611.                     set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardware$(Option)Type)},+
  612.                                         {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, +
  613.                                         {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardware$(Option)Class)}, +
  614.                                         {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  615.                     Shell  $(UtilityInf), AddValueList, $(HardNetRuleKey), $(NewValueList)
  616.                     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  617.                         goto ShellCodeError
  618.                     endif
  619.                     CloseRegKey $(HardNetCardKey)
  620.                     CloseRegKey $(HardNetRuleKey)
  621.                     set NewValueList = {{BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNum)},+
  622.                                         {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(DeviceNum)},+
  623.                                         {FunctionNumber,$(NoTitle),$(!REG_VT_DWORD),$(FunctionNum)}}
  624.                     Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  625.                     CloseRegKey $(HardParameterKey)
  626.                 endif
  627.     EndForListDo
  628.     EndWait
  629.     goto successful
  630. updateparameters =+
  631.     set HardParameterKey    = $($R3)
  632.     set NewValueList = {{DataRate,$(NoTitle),$(!REG_VT_DWORD),$(ConnectionValue)}}
  633.     Shell  $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
  634.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  635.         goto ShellCodeError
  636.     endif
  637.     CloseRegKey $(KeyParameters)
  638.     goto successful
  639. bindingadapter =+
  640.     set Error = "Binding: Sorry, not yet implemented."
  641.     goto fatal
  642. removeadapter = +
  643.     Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  644.         Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  645.             $(ProductSoftwareName)
  646.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  647.             goto ShellCodeError
  648.         endif
  649.         set RegistryErrorIndex = $($R0)
  650.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  651.             goto fatalregistry
  652.         endif
  653.     else
  654.         Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  655.             $(ProductSoftwareName), $(!NTN_RegBase)
  656.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  657.             goto ShellCodeError
  658.         endif
  659.         set RegistryErrorIndex = $($R0)
  660.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  661.             goto fatalregistry
  662.         endif
  663.     endif
  664.     goto end
  665. UpgradeSoftware = +
  666.      OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  667.      Ifstr $(KeyProduct) != $(KeyNull)
  668.            Shell $(UtilityInf), GetInfFileNameFromRegistry, $(KeyProduct)
  669.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  670.                  Debug-Output "ShellCode error"
  671.                  goto ShellCodeError
  672.            endif
  673.            set !UG_Filename = $($R0)
  674.            install "Install-Update"
  675.            ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  676.                  goto fatal
  677.            endif
  678.            SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  679.            SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  680.            CloseRegKey $(KeyProduct)
  681.      else
  682.            goto fatalregistry
  683.      endif
  684.      goto end
  685. successful = +
  686.     goto end
  687. abandon = +
  688.     ForListDo $(OEM_ABANDON_OPTIONS)
  689.         Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  690.             $(ProductSoftwareName), $($)
  691.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  692.             goto ShellCodeError
  693.         endif
  694.         set RegistryErrorIndex = $($R0)
  695.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  696.             goto fatalregistry
  697.         endif
  698.     EndForListDo
  699.     Ifstr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
  700.         Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  701.             $(ProductSoftwareName), FALSE
  702.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  703.             goto ShellCodeError
  704.         endif
  705.         set RegistryErrorIndex = $($R0)
  706.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  707.             goto fatalregistry
  708.         endif
  709.     endif
  710.     goto end
  711. warning = +
  712.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  713.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  714.         goto ShellCodeError
  715.     endif
  716.     ifstr(i) $($R1) == "OK"
  717.         goto $(to)
  718.     else-ifstr(i) $($R1) == "CANCEL"
  719.         goto $(from)
  720.     else
  721.         goto "end"
  722.     endif
  723. nonfatalinfo = +
  724.     Set CommonStatus = STATUS_USERCANCEL
  725.     Set Severity = STATUS
  726.     goto nonfatalmsg
  727. nonfatal = +
  728.     Set Severity = NONFATAL
  729.     goto nonfatalmsg
  730. nonfatalmsg = +
  731.     ifstr(i) $(Error) == ""
  732.         Set Severity = NONFATAL
  733.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  734.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  735.             goto ShellCodeError
  736.         endif
  737.         set Error = $($R0)
  738.     endif
  739.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  740.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  741.         goto ShellCodeError
  742.     endif
  743.     ifstr(i) $($R1) == "OK"
  744.         goto $(from)
  745.     else
  746.         goto "end"
  747.     endif
  748. fatalregistry = +
  749.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  750.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  751.         goto ShellCodeError
  752.     endif
  753.     set Error = $($R0)
  754.     goto fatal
  755. fatal = +
  756.     ifstr(i) $(Error) == ""
  757.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  758.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  759.             goto ShellCodeError
  760.         endif
  761.         set Error = $($R0)
  762.     endif
  763.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  764.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  765.         goto ShellCodeError
  766.     endif
  767.     goto setfailed
  768. ShellCodeError = +
  769.     set DlgType        = "MessageBox"
  770.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  771.     set STF_MB_TEXT  = $(ShellCodeErrorText)
  772.     set STF_MB_TYPE  = 1
  773.     set STF_MB_ICON  = 3
  774.     set STF_MB_DEF   = 1
  775.     ui start "Error Message"
  776.     goto setfailed
  777. setfailed = +
  778.     set CommonStatus = STATUS_FAILED
  779.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  780.         set OEM_ABANDON_ON = FALSE
  781.         goto abandon
  782.     endif
  783.     goto end
  784. end = +
  785.     goto term
  786. term = +
  787.     Return $(CommonStatus)
  788. [Install-Option]
  789.     set STF_VITAL = ""
  790.     ifstr(i) $(AddCopy) == "YES"
  791.         AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  792.     endif
  793.     ifstr(i) $(DoCopy) == "YES"
  794.          set !STF_NCPA_FLUSH_COPYLIST = TRUE
  795.          CopyFilesInCopyList
  796.     endif
  797.     Exit
  798. [Install-Hlp]
  799.     set STF_VITAL = ""
  800.     AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
  801.     set !STF_NCPA_FLUSH_COPYLIST = TRUE
  802.     CopyFilesInCopyList
  803.     Exit
  804. [Install-Update]
  805.     set STF_VITAL          = ""
  806.     set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  807.     AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
  808.     AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
  809.     AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  810.     set !STF_NCPA_FLUSH_COPYLIST = TRUE
  811.     CopyFilesInCopyList
  812.     exit
  813. [Source Media Descriptions]
  814.     1  = "SMC EtherPower NDIS 3.1 Driver"
  815. [ProductType]
  816. STF_PRODUCT  = Winnt
  817. STF_PLATFORM = I386
  818. STF_PLATFORM = PPC
  819. STF_PLATFORM = Alpha
  820. [Files-Inf]
  821. 2,        oemsetup.inf,    SIZE=1000,     RENAME=$(!UG_Filename)
  822. [Files-SMC8432]
  823. 1,SMCPWRN.SYS , SIZE=999
  824. [Files-SMC8432e]
  825. 1,SMCPWRN.SYS , SIZE=999
  826. [Files-SMC8434]
  827. 1,SMCPWRN.SYS , SIZE=999
  828. [Files-SMC9332]
  829. 1,SMCPWRN.SYS , SIZE=999
  830. [Files-SMC9332BDT]
  831. 1,SMCPWRN.SYS , SIZE=999
  832. [Files-SMC9332BVT]
  833. 1,SMCPWRN.SYS , SIZE=999
  834. [Files-SMCDC21143]
  835. 1,SMCPWRN.SYS , SIZE=999
  836. [Files-Hlp]
  837. 1,SMCPWRN.HLP , SIZE=999
  838. [LanguagesSupported]
  839.     ENG
  840. [OptionsTextENG]
  841.     SMC8432  = "SMC8432 EtherPower without ROM Socket"
  842.     SMC8432e = "SMC8432 EtherPower with ROM Socket"
  843.     SMC8434  = "SMC8434 EtherPower2"
  844.     SMC9332  = "SMC9332DST EtherPower10/100"
  845.     SMC9332BDT  = "SMC9332BDT/9334BDT EtherPower10/100"
  846.     SMC9332BVT  = "SMC9332BVT EtherPower10/100T4"
  847.     SMCDC21143  = "SMC DC21143  EtherPower10/100 PCI Fast Ethernet Adapter"
  848. [FileConstantsENG]
  849. ProCaption   = "Windows NT Setup"
  850. ProCancel    = "Cancel"
  851. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  852.                  "Are you sure you want to cancel copying files?"
  853. ProCancelCap = "Network Setup Message"
  854. ProText1     = "Copying:"
  855. ProText2     = "To:"
  856.  
  857. ProductSoftwareDescription  = "SMCPWR Adapter Driver"
  858.  
  859. FunctionSMC8432Title = "SMC8432 Adapter Card Setup"
  860. ProductHardwareSMC8432Description   = "SMC8432 EtherPower without ROM Socket"
  861.  
  862. FunctionSMC8432eTitle = "SMC8432 Adapter Card Setup"
  863. ProductHardwareSMC8432eDescription   = "SMC8432 EtherPower with ROM Socket"
  864.  
  865. FunctionSMC8434Title = "SMC8434 Adapter Card Setup"
  866. ProductHardwareSMC8434Description   = "SMC8434 EtherPower2"
  867.  
  868. ;FunctionSMC9332Title = "SMC9332DST Adapter Card Setup"
  869. ;ProductHardwareSMC9332Description   = "SMC9332DST EtherPower10/100"
  870.  
  871. FunctionSMC9332BDTTitle = "SMC9332BDT/9334BDT  Adapter Card Setup"
  872. ProductHardwareSMC9332BDTDescription   = "SMC9332BDT/9334BDT EtherPower10/100"
  873.  
  874. FunctionSMC9332BVTTitle = "SMC9332BVT Adapter Card Setup"
  875. ProductHardwareSMC9332BVTDescription   = "SMC9332BVT EtherPower10/100T4"
  876.  
  877. FunctionSMCDC21143Title = "SMC DC21143 Adapter Card Setup"
  878. ProductHardwareSMCDC21143Description   = "SMCDC21143 EtherPower10/100 PCI Fast Ethernet Adapter"
  879.  
  880.  
  881. ConnectionList  = ^(ConnectionChoices$(Option), 1)
  882. ConnectionValues = ^(ConnectionChoices$(Option), 2)
  883. NoList  = ^(NoChoices, 1)
  884. NoValues = ^(NoChoices, 2)
  885. ShellCodeErrorTitle     = "Error: "$(Function$(Option)Title)
  886. ShellCodeErrorText        = "Shell Code Error."
  887. CANNOT_FIND_ANY_CARD    = "Network card is not present in the system"
  888. [DialogConstantsENG]
  889. Help          = "&Help"
  890. Exit          = "Cancel"
  891. OK            = "OK"
  892. HelpContext = ""
  893. Continue    = "Continue"
  894. Cancel        = "Cancel"
  895.  
  896. [FileDependentDlgENG]
  897. DlgText = "Choose the proper cable type for the "+
  898.           "network adapter. Select [Help] for a detailled "+
  899.           "description of the available options of the list."
  900. DlgTemplate = "ADAP_PROTO_COMBO"
  901. DlgType = "Combination"
  902. Caption = $(Function$(Option)Title)
  903. Combo1Label = "&Data Rate:"
  904. Combo1List = $(ConnectionList)
  905. Combo1Out  = $(ConnectionValue)
  906. ComboListItemsIn  = {Combo1List}
  907. ComboListItemsOut = {Combo1Out}
  908. EditTextLim = ""
  909. CBOptionsGreyed = {}
  910. MinHelpId = 10
  911. MaxHelpId = 1140
  912. HelpContext = $(Help$(Option)Id)
  913.  
  914.