Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

987 lines
38 KiB

  1. ; OEMSETUP FILE FOR DC21x4 based Ethernet adapters
  2. ; Platform type: Ix86
  3. ; WNT version 3.5
  4. ; Supported adapters:
  5. ; DEC DC21040 PCI Ethernet Controller
  6. ; DEC DC21140 PCI Fast Ethernet Controller
  7. ; DEC DE434 PCI Ethernet Adapter
  8. ; DEC DE435 PCI Ethernet Adapter
  9. ; DEC multia Ethernet Controller
  10. ; DEC DE425 EISA Ethernet Adapter
  11. ; DEC DE450 EtherWORKS Turbo PCI Adapter
  12. ; DEC DE500 Fast Ethernet PCI Adapter
  13. ;
  14. ; Digital Equipment Corporation, Maynard, Mass.
  15. ;
  16. ; The information in this software is subject to change without notice
  17. ; and should not be construed as a commitment by Digital Equipment
  18. ; Corporation.
  19. ;
  20. ; Digital assumes no responsibility for the use or reliability of its
  21. ; software on equipment which is not supplied by Digital.
  22. ;
  23. ; Usage:
  24. ;
  25. ; This file is the installation/configuration/deinstallation
  26. ; procedure of the DEC DC21x4 driver for Windows NT. It can be called
  27. ; from Windows Setup directly, or via the Windows NT Networks
  28. ; Control Program Applet (NCPA) from inside the Windows
  29. ; Control Panel.
  30. ;
  31. ; History:
  32. ;
  33. ; 10-Aug-1994 phk Version 6.0 added Adapter'option help file
  34. ; 22-Aug-1994 phk Version 6.1 changed Manufacturer to DigitalEquipment
  35. ; fixed the Install & Update options
  36. ; 23-Aug-1994 nm Version 6.1 Added AdapterCFID to the registry
  37. ; 05-Oct-1994 nm Version 1.0 Changed QSILVER to MULTIA
  38. ; DC21140 supported - change name to DC21X4 ver 1.0
  39. ; 26-Oct-1994 nm Version 1.1 Support DE434 & DE436
  40. ; 11-Dec-1994 phk Version 1.2 Modify DEC option's order
  41. ; 16-Jan-1996 MikeMi Added DE450 & DE500
  42. ;
  43. ;----------------------------------------------------------------------------------------
  44. [Identification]
  45. OptionType = NetAdapter
  46. [PlatformsSupported]
  47. ISA
  48. EISA
  49. "Jazz-Internal Bus"
  50. PCI
  51. [Options]
  52. DC21040
  53. DC21041
  54. DC21140
  55. DC21142
  56. DE434
  57. DE435
  58. MULTIA
  59. DE425
  60. DE450
  61. DE500
  62. [FileConstants]
  63. UtilityInf = "UTILITY.INF"
  64. subroutineinf = "SUBROUTN.INF"
  65. SoftwareType = "driver"
  66. Exit_Code = 0
  67. NetEventDLL = "%SystemRoot%\System32\netevent.dll"
  68. IoLogMsgDLL = "%SystemRoot%\System32\IoLogMsg.dll"
  69. Manufacturer = "DigitalEquipmentCorporation"
  70. ProductMajorVersion = "4"
  71. ProductMinorVersion = "0"
  72. ProductVersion = $(ProductMajorVersion)"."$(ProductMinorVersion)
  73. VendorID = 4113 ;; 1011 (DEC)
  74. ProductSoftwareName = "DC21X4"
  75. ProductSoftwareTitle = "DEC DC21X4 Adapter Driver"
  76. ProductSoftwareImagePath = "\SystemRoot\System32\drivers\DC21X4.sys"
  77. NetRuleSoftwareType = "DC21X4Sys ndisDriver DC21X4Driver"
  78. NetRuleSoftwareUse = $(SoftwareType)
  79. NetRuleSoftwareBindForm = """DC21X4Sys"" yes no container"
  80. NetRuleSoftwareClass = {"DC21X4Driver basic"}
  81. NetRuleSoftwareSWBindable = {"DC21X4Driver DC21040Adapter non exclusive 100",+
  82. "DC21X4Driver DC21041Adapter non exclusive 100",+
  83. "DC21X4Driver DC21140Adapter non exclusive 100",+
  84. "DC21X4Driver DC21142Adapter non exclusive 100",+
  85. "DC21X4Driver MULTIAAdapter non exclusive 100",+
  86. "DC21X4Driver DE434Adapter non exclusive 100",+
  87. "DC21X4Driver DE435Adapter non exclusive 100",+
  88. "DC21X4Driver DE425Adapter non exclusive 100", +
  89. "DC21X4Driver DE450Adapter non exclusive 100", +
  90. "DC21X4Driver DE500Adapter non exclusive 100" }
  91. OptionHelpFile = "DC21X4.hlp"
  92. ProductHardwareName = "DC21X4"
  93. ;ProductHardwareDC21040Title = "DEC PCI Ethernet DECchip 21040"
  94. NetRuleHardwareDC21040Type = "DC21040 DC21040Adapter"
  95. NetRuleHardwareDC21040Class = {"DC21040Adapter basic"}
  96. ProductOpSupport = 134 ; 0x0086 ; Display,Removable,Properties,Not Updatable
  97. ProductDE425OpSupport = 132 ; 0x0084 ; Display,Removable,Properties,Not Updatable
  98. AdapterDC21040Type = 5 ;; PCI board
  99. HelpDC21040Id = 10
  100. DC21040CFID = 135185 ;; 0x00021011
  101. ;ProductHardwareDC21041Title = "DEC PCI Ethernet DECchip 21041"
  102. NetRuleHardwareDC21041Type = "DC21041 DC21041Adapter"
  103. NetRuleHardwareDC21041Class = {"DC21041Adapter basic"}
  104. AdapterDC21041Type = 5 ;; PCI board
  105. HelpDC21041Id = 20
  106. DC21041CFID = 1314833
  107. ;ProductHardwareDC21140Title = "DEC PCI Fast Ethernet DECchip 21140"
  108. NetRuleHardwareDC21140Type = "DC21140 DC21140Adapter"
  109. NetRuleHardwareDC21140Class = {"DC21140Adapter basic"}
  110. AdapterDC21140Type = 5 ;; PCI board
  111. HelpDC21140Id = 30
  112. DC21140CFID = 593937 ;; 0x00091011
  113. StoreAndForward = 0 ;; Store_and_forward mode disabled
  114. TxmThreshold100 = 512 ;; 100Mbps default threshold
  115. ;ProductHardwareDC21142Title = "DEC PCI Ethernet DC21142"
  116. NetRuleHardwareDC21142Type = "DC21142 DC21142Adapter"
  117. NetRuleHardwareDC21142Class = {"DC21142Adapter basic"}
  118. AdapterDC21142Type = 5 ;; PCI board
  119. HelpDC21142Id = 40
  120. DC21142CFID = 1642513 ;; 0x00191011
  121. ;; GeneralPurposeCtrl = 319 ;; 0x0000013f
  122. ;; GeneralPurposeData = 11 ;; 0x0000000b
  123. ;ProductHardwareDE434Title = "DEC DE434 EtherWORKS Turbo PCI TP Adapter"
  124. NetRuleHardwareDE434Type = "DE434 DE434Adapter"
  125. NetRuleHardwareDE434Class = {"DE434Adapter basic"}
  126. AdapterDE434Type = 5 ;; PCI board
  127. HelpDE434Id = 100
  128. DE434CFID = 135185 ;; 0x00021011
  129. ;ProductHardwareDE435Title = "DEC DE435 EtherWORKS Turbo PCI Adapter"
  130. NetRuleHardwareDE435Type = "DE435 DE435Adapter"
  131. NetRuleHardwareDE435Class = {"DE435Adapter basic"}
  132. AdapterDE435Type = 5 ;; PCI board
  133. HelpDE435Id = 110
  134. DE435CFID = 135185 ;; 0x00021011
  135. ;ProductHardwareMULTIATitle = "DEC multia's Ethernet Controller"
  136. NetRuleHardwareMULTIAType = "MULTIA MULTIAAdapter"
  137. NetRuleHardwareMULTIAClass = {"MULTIAAdapter basic"}
  138. AdapterMULTIAType = 5 ;; PCI board
  139. HelpMULTIAId = 130
  140. MULTIACFID = 135185 ;; 0x00021011
  141. SiaRegister0 = 12353 ;; CSR13 = 0x3041
  142. SiaRegister1 = 0 ;; CSR14 = 0x0000
  143. SiaRegister2 = 6 ;; CSR15 = 0x0006
  144. ;ProductHardwareDE425Title = "DEC DE425 EISA Ethernet Adapter"
  145. NetRuleHardwareDE425Type = "DE425 DE425Adapter"
  146. NetRuleHardwareDE425Class = {"DE425Adapter basic"}
  147. AdapterDE425Type = 2 ;; EISA board
  148. DE425CFID = 135185 ;; 0x00021011
  149. DE425_1BYTE = 1346544400 ;;Compressed EISA ID "DEC4250"
  150. EISA_MASK = 4043309055
  151. ;ProductHardwareDE450Title = "DEC DE450 EtherWORKS Turbo PCI Adapter"
  152. NetRuleHardwareDE450Type = "DE450 DE450Adapter"
  153. NetRuleHardwareDE450Class = {"DE450Adapter basic"}
  154. AdapterDE450Type = 5 ;; PCI board
  155. HelpDE450Id = 20
  156. DE450CFID = 1314833
  157. ;ProductHardwareDE500Title = "DEC DE500 Fast Ethernet PCI Adapter"
  158. NetRuleHardwareDE500Type = "DE500 DE500Adapter"
  159. NetRuleHardwareDE500Class = {"DE500Adapter basic"}
  160. AdapterDE500Type = 5 ;; PCI board
  161. HelpDE500Id = 30
  162. DE500CFID = 593937 ;; 0x00091011
  163. NetRuleHardwareBindForm = " yes yes container"
  164. ProductKeyName = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
  165. ParamKeyName = $(!NTN_ServiceBase)"\"$(ProductHardwareName)"\Parameters"
  166. [GeneralConstants]
  167. from = ""
  168. to = ""
  169. ExitCodeOk = 0
  170. ExitCodeCancel = 1
  171. ExitCodeFatal = 2
  172. KeyNull = ""
  173. MAXIMUM_ALLOWED = 33554432
  174. RegistryErrorIndex = NO_ERROR
  175. KeyProduct = ""
  176. KeyParameters = ""
  177. TRUE = 1
  178. FALSE = 0
  179. NoTitle = 0
  180. ExitState = "Active"
  181. OldVersionExisted = $(FALSE)
  182. DriverPath = $(!STF_NTPATH)\drivers
  183. [date]
  184. Now = {} ? $(!LIBHANDLE) GetSystemDate
  185. [Identify]
  186. read-syms Identification
  187. set Status = STATUS_SUCCESSFUL
  188. set Identifier = $(OptionType)
  189. set Media = #("Source Media Descriptions", 1, 1)
  190. Return $(Status) $(Identifier) $(Media)
  191. [ReturnOptions]
  192. set Status = STATUS_FAILED
  193. set OptionList = {}
  194. set OptionTextList = {}
  195. set LanguageList = ^(LanguagesSupported, 1)
  196. Ifcontains(i) $($0) in $(LanguageList)
  197. ifstr(i) $($1) == ""
  198. goto returnoptions
  199. endif
  200. set PlatformList = ^(PlatformsSupported, 1)
  201. Ifcontains(i) $($1) in $(PlatformList)
  202. goto returnoptions
  203. else
  204. set Status = STATUS_NOTSUPPORTED
  205. goto finish_ReturnOptions
  206. endif
  207. else
  208. set Status = STATUS_NOLANGUAGE
  209. goto finish_ReturnOptions
  210. endif
  211. returnoptions = +
  212. set OptionList = ^(Options, 1)
  213. set OptionTextList = ^(OptionsText$($0), 1)
  214. set Status = STATUS_SUCCESSFUL
  215. finish_ReturnOptions = +
  216. Return $(Status) $(OptionList) $(OptionTextList)
  217. [InstallOption]
  218. set Option = $($1)
  219. set SrcDir = $($2)
  220. set AddCopy = $($3)
  221. set DoCopy = $($4)
  222. set DoConfig = $($5)
  223. set LanguageList = ^(LanguagesSupported, 1)
  224. Ifcontains(i) $($0) NOT-IN $(LanguageList)
  225. Return STATUS_NOLANGUAGE
  226. endif
  227. set-subst LF = "\n"
  228. read-syms GeneralConstants
  229. read-syms FileConstants
  230. set NetRuleSoftwareBindable = $($R1)
  231. read-syms DialogConstants$(!STF_LANGUAGE)
  232. ifstr(i) $(!NTN_Origination) == "NCPA"
  233. set Continue = "OK"
  234. endif
  235. read-syms FileConstants$(!STF_LANGUAGE)
  236. detect date
  237. set-title $(Function$(Option)Title)
  238. set to = Begin
  239. set from = Begin
  240. set CommonStatus = STATUS_SUCCESSFUL
  241. EndWait
  242. Begin = +
  243. Ifstr(i) $(!NTN_InstallMode) == deinstall
  244. set StartLabel = removeadapter
  245. else-Ifstr(i) $(!NTN_InstallMode) == Update
  246. set StartLabel = UpgradeSoftware
  247. else-Ifstr(i) $(!NTN_InstallMode) == bind
  248. set StartLabel = bindingadapter
  249. else-Ifstr(i) $(!NTN_InstallMode) == configure
  250. ;; set CommonStatus = STATUS_REBOOT
  251. Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  252. Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  253. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  254. goto ShellCodeError
  255. endif
  256. set Error = $($R0)
  257. set from = end
  258. set to = end
  259. goto nonfatalinfo
  260. else-ifstr(i) $(Option) == "DE425"
  261. Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_HARDWARE
  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) == "ConnectionType"
  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. ifstr(i) $(Option) != "DE425"
  363. set from = adapteroptions
  364. read-syms FileDependentDlg$(!STF_LANGUAGE)
  365. SetHelpFile $(!STF_WINDOWSSYSPATH)"\"$(OptionHelpFile) $(MinHelpId) $(MaxHelpId) $(Help$(Option)Id)
  366. ui start "InputDlg"
  367. ifstr(i) $(DLGEVENT) == "CONTINUE"
  368. set ConnectionIndex = $(Combo1Out)
  369. ui pop 1
  370. else-ifstr(i) $(DLGEVENT) == "BACK"
  371. set CommonStatus = STATUS_USERCANCEL
  372. ui pop 1
  373. goto end
  374. else
  375. ui pop 1
  376. goto end
  377. endif
  378. set ConnectionValue = *($(ConnectionValues), ~($(ConnectionList),$(ConnectionIndex)))
  379. ifstr(i) $(!NTN_InstallMode) == configure
  380. goto updateparameters
  381. endif
  382. endif
  383. installproduct =+
  384. StartWait
  385. ifstr(i) $(Option) == "DE425"
  386. Shell $(UtilityInf), EISAFindBus, $($(Option)_1BYTE),$(EISA_MASK)
  387. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  388. goto ShellCodeError
  389. endif
  390. ifstr $($R0) != "NO_ERROR"
  391. set Error = $($R0)
  392. goto fatal
  393. endif
  394. ifstr(i) $($R1) == {}
  395. set Error = $(CANNOT_FIND_ANY_CARD)
  396. set CommonStatus = USER_CANCEL
  397. set from = end
  398. goto nonfatal
  399. endif
  400. set AdapterList = $($R1)
  401. else
  402. ;
  403. ; It is a PCI selection
  404. ;
  405. set-div DeviceID = $($(Option)CFID) 65336
  406. Shell $(UtilityInf), GetPCIInformation, $(VendorID) $(DeviceID)
  407. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  408. goto ShellCodeError
  409. endif
  410. ifstr(i) $($R0) == {}
  411. set Error = $(CANNOT_FIND_ANY_CARD)
  412. set CommonStatus = USER_CANCEL
  413. set from = end
  414. goto nonfatal
  415. endif
  416. set AdapterList = $($R0)
  417. endif
  418. ifint $(OldVersionExisted) == $(FALSE)
  419. Ifstr(i) $(DoCopy) == "YES"
  420. Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  421. Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  422. Goto ShellCodeError
  423. Else-Ifstr(i) $($R0) == STATUS_FAILED
  424. Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  425. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  426. goto ShellCodeError
  427. endif
  428. set Error = $($R0)
  429. Goto fatal
  430. Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  431. Goto successful
  432. Endif
  433. Set SrcDir = $($R1)
  434. Endif
  435. install "Install-Option"
  436. ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  437. Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  438. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  439. goto ShellCodeError
  440. endif
  441. set Error = $($R0)
  442. goto fatal
  443. endif
  444. Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  445. $(ProductSoftwareName), +
  446. $(ProductSoftwareName), +
  447. $(ProductSoftwareTitle), $(STF_CONTEXTINFNAME), +
  448. $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+
  449. $(NetEventDLL)
  450. Set OEM_ABANDON_SOFTWARE = TRUE
  451. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  452. goto ShellCodeError
  453. endif
  454. set RegistryErrorIndex = $($R0)
  455. Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  456. EndWait
  457. CloseRegKey $($R1)
  458. CloseRegKey $($R2)
  459. CloseRegKey $($R3)
  460. CloseRegKey $($R4)
  461. CloseRegKey $($R5)
  462. goto fatalregistry
  463. endif
  464. Set SoftProductKey = $($R1)
  465. Set SoftNetRuleKey = $($R2)
  466. Set SoftServiceKey = $($R3)
  467. Set SoftParameterKey = $($R4)
  468. Set SoftLinkageKey = $($R5)
  469. set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  470. {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  471. {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  472. {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)},+
  473. {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
  474. {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
  475. {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  476. Shell $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
  477. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  478. goto ShellCodeError
  479. endif
  480. set RegistryErrorIndex = $($R0)
  481. Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  482. EndWait
  483. CloseRegKey $(SoftProductKey)
  484. CloseRegKey $(SoftNetRuleKey)
  485. CloseRegKey $(SoftServiceKey)
  486. CloseRegKey $(SoftParameterKey)
  487. CloseRegKey $(SoftLinkageKey)
  488. goto fatalregistry
  489. endif
  490. set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+
  491. {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, +
  492. {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, +
  493. {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, +
  494. {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareSWBindable)}, +
  495. {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  496. Shell $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
  497. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  498. goto ShellCodeError
  499. endif
  500. set RegistryErrorIndex = $($R0)
  501. CloseRegKey $(SoftProductKey)
  502. CloseRegKey $(SoftNetRuleKey)
  503. CloseRegKey $(SoftServiceKey)
  504. CloseRegKey $(SoftParameterKey)
  505. CloseRegKey $(SoftLinkageKey)
  506. Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  507. EndWait
  508. goto fatalregistry
  509. endif
  510. endif
  511. ForListDo $(AdapterList)
  512. set BusNum = *($($),1)
  513. set DeviceNum = *($($),2)
  514. set FunctionNum = *($($),3)
  515. ifstr(i) $(Option) == "DE425"
  516. Shell $(UtilityInf), IsNetCardAlreadyInstalled, $(BusNum), +
  517. $(DeviceNum), $(ProductHardware$(Option)Description), $(ProductHardwareName) "YES"
  518. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  519. goto ShellCodeError
  520. endif
  521. ifstr $($R0) != "NO_ERROR"
  522. set Error = $($R0)
  523. goto fatal
  524. endif
  525. ifstr(i) $($R1) != "YES"
  526. Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName)
  527. ifint $($R4) != -1
  528. Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), +
  529. $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
  530. endif
  531. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  532. goto ShellCodeError
  533. endif
  534. set RegistryErrorIndex = $($R0)
  535. Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  536. EndWait
  537. CloseRegKey $($R1)
  538. CloseRegKey $($R2)
  539. CloseRegKey $($R3)
  540. goto fatalregistry
  541. endif
  542. Set HardNetCardKey = $($R1)
  543. Set HardNetRuleKey = $($R2)
  544. Set HardParameterKey = $($R3)
  545. set AdapterNumber = $($R4)
  546. set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
  547. {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+
  548. {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+
  549. {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
  550. {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
  551. {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductDE425OpSupport)},+
  552. {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  553. Shell $(UtilityInf), AddValueList, $(HardNetCardKey), $(NewValueList)
  554. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  555. goto ShellCodeError
  556. endif
  557. set BusTypeNum = 2
  558. set NewValueList = {{AdapterType,$(NoTitle),$(!REG_VT_DWORD),$(Adapter$(Option)Type)},+
  559. {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
  560. {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+
  561. {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNum)},+
  562. {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(DeviceNum)},+
  563. {AdapterCFID,$(NoTitle),$(!REG_VT_DWORD),$($(Option)CFID)}}
  564. Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  565. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  566. goto ShellCodeError
  567. endif
  568. set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)""""
  569. set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm)
  570. set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardware$(Option)Type)},+
  571. {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, +
  572. {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardware$(Option)Class)}, +
  573. {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  574. Shell $(UtilityInf), AddValueList, $(HardNetRuleKey), $(NewValueList)
  575. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  576. goto ShellCodeError
  577. endif
  578. CloseRegKey $(HardNetCardKey)
  579. CloseRegKey $(HardNetRuleKey)
  580. CloseRegKey $(HardParameterKey)
  581. endif
  582. else
  583. Shell $(UtilityInf), IsNetCardAlreadyInstalled, $(BusNum), +
  584. $(DeviceNum), $(ProductHardware$(Option)Description), $(ProductHardwareName) "YES"
  585. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  586. goto ShellCodeError
  587. endif
  588. ifstr $($R0) != "NO_ERROR"
  589. set Error = $($R0)
  590. goto fatal
  591. endif
  592. ifstr(i) $($R1) != "YES"
  593. Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName)
  594. ifint $($R4) != -1
  595. Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
  596. endif
  597. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  598. goto ShellCodeError
  599. endif
  600. set RegistryErrorIndex = $($R0)
  601. Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  602. EndWait
  603. CloseRegKey $($R1)
  604. CloseRegKey $($R2)
  605. CloseRegKey $($R3)
  606. goto fatalregistry
  607. endif
  608. read-syms FileDependentDlg$(!STF_LANGUAGE)
  609. SetHelpFile $(!STF_WINDOWSSYSPATH)"\"$(OptionHelpFile) $(MinHelpId) $(MaxHelpId) $(Help$(Option)Id)
  610. ui start "InputDlg"
  611. ifstr(i) $(DLGEVENT) == "CONTINUE"
  612. set ConnectionIndex = $(Combo1Out)
  613. ui pop 1
  614. else-ifstr(i) $(DLGEVENT) == "BACK"
  615. set CommonStatus = STATUS_USERCANCEL
  616. ui pop 1
  617. goto end
  618. else
  619. ui pop 1
  620. goto end
  621. endif
  622. set ConnectionValue = *($(ConnectionValues), ~($(ConnectionList),$(ConnectionIndex)))
  623. Set HardNetCardKey = $($R1)
  624. Set HardNetRuleKey = $($R2)
  625. Set HardParameterKey = $($R3)
  626. set AdapterNumber = $($R4)
  627. set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
  628. {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+
  629. {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+
  630. {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
  631. {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
  632. {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)},+
  633. {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  634. Shell $(UtilityInf), AddValueList, $(HardNetCardKey), $(NewValueList)
  635. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  636. goto ShellCodeError
  637. endif
  638. set BusTypeNum = 5
  639. set NewValueList = {{AdapterType,$(NoTitle),$(!REG_VT_DWORD),$(Adapter$(Option)Type)},+
  640. {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+
  641. {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
  642. {AdapterCFID,$(NoTitle),$(!REG_VT_DWORD),$($(Option)CFID)}}
  643. Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  644. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  645. goto ShellCodeError
  646. endif
  647. ifint $($(Option)CFID) == $(DC21041CFID)
  648. set NewValueList = {{SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  649. Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  650. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  651. goto ShellCodeError
  652. endif
  653. endif
  654. ifint $($(Option)CFID) == $(DC21142CFID)
  655. set NewValueList = {{SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  656. Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  657. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  658. goto ShellCodeError
  659. endif
  660. endif
  661. ifint $($(Option)CFID) == $(DE450CFID)
  662. set NewValueList = {{SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  663. Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  664. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  665. goto ShellCodeError
  666. endif
  667. endif
  668. ifint $($(Option)CFID) == $(DC21140CFID)
  669. set NewValueList = {{StoreAndForward,$(NoTitle),$(!REG_VT_DWORD),$(StoreAndForward)},+
  670. {TransmitThreshold100,$(NoTitle),$(!REG_VT_DWORD),$(TxmThreshold100)},+
  671. {SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  672. Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  673. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  674. goto ShellCodeError
  675. endif
  676. endif
  677. ;
  678. ; this was removed by an oem merge
  679. ;
  680. ; ifint $($(Option)CFID) == $(DE500CFID)
  681. ; set NewValueList = {{StoreAndForward,$(NoTitle),$(!REG_VT_DWORD),1},+
  682. ; {TransmitThreshold,$(NoTitle),$(!REG_VT_DWORD),512}}
  683. ; Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  684. ; ifint $($ShellCode) != $(!SHELL_CODE_OK)
  685. ; goto ShellCodeError
  686. ; endif
  687. ; endif
  688. ifstr(i) $(Option) == "MULTIA"
  689. set NewValueList = {{ExternalSia,$(NoTitle),$(!REG_VT_DWORD),1},+
  690. {SiaRegister0,$(NoTitle),$(!REG_VT_DWORD),$(SiaRegister0)},+
  691. {SiaRegister1,$(NoTitle),$(!REG_VT_DWORD),$(SiaRegister1)},+
  692. {SiaRegister2,$(NoTitle),$(!REG_VT_DWORD),$(SiaRegister2)}}
  693. Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  694. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  695. goto ShellCodeError
  696. endif
  697. endif
  698. set NewValueList = {{ConnectionType,$(NoTitle),$(!REG_VT_DWORD),$(ConnectionValue)}}
  699. Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  700. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  701. goto ShellCodeError
  702. endif
  703. set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)""""
  704. set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm)
  705. set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardware$(Option)Type)},+
  706. {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, +
  707. {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardware$(Option)Class)}, +
  708. {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  709. Shell $(UtilityInf), AddValueList, $(HardNetRuleKey), $(NewValueList)
  710. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  711. goto ShellCodeError
  712. endif
  713. CloseRegKey $(HardNetCardKey)
  714. CloseRegKey $(HardNetRuleKey)
  715. set NewValueList = {{BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNum)},+
  716. {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(DeviceNum)},+
  717. {FunctionNumber,$(NoTitle),$(!REG_VT_DWORD),$(FunctionNum)}}
  718. Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  719. CloseRegKey $(HardParameterKey)
  720. endif
  721. endif
  722. EndForListDo
  723. EndWait
  724. goto successful
  725. updateparameters =+
  726. set HardParameterKey = $($R3)
  727. set NewValueList = {{ConnectionType,$(NoTitle),$(!REG_VT_DWORD),$(ConnectionValue)}}
  728. Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
  729. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  730. goto ShellCodeError
  731. endif
  732. CloseRegKey $(KeyParameters)
  733. goto successful
  734. bindingadapter =+
  735. set Error = "Binding: Sorry, not yet implemented."
  736. goto fatal
  737. removeadapter = +
  738. Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  739. Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  740. $(ProductSoftwareName)
  741. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  742. goto ShellCodeError
  743. endif
  744. set RegistryErrorIndex = $($R0)
  745. Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  746. goto fatalregistry
  747. endif
  748. else
  749. Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  750. $(ProductSoftwareName), $(!NTN_RegBase)
  751. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  752. goto ShellCodeError
  753. endif
  754. set RegistryErrorIndex = $($R0)
  755. Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  756. goto fatalregistry
  757. endif
  758. endif
  759. goto end
  760. UpgradeSoftware = +
  761. OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  762. Ifstr $(KeyProduct) != $(KeyNull)
  763. Shell $(UtilityInf), GetInfFileNameFromRegistry, $(KeyProduct)
  764. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  765. Debug-Output "ShellCode error"
  766. goto ShellCodeError
  767. endif
  768. set !UG_Filename = $($R0)
  769. install "Install-Update"
  770. ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  771. goto fatal
  772. endif
  773. SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  774. SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  775. CloseRegKey $(KeyProduct)
  776. else
  777. goto fatalregistry
  778. endif
  779. ifstr(i) $(Option) == "DE425"
  780. set OpSupport = $(ProductDE425OpSupport)
  781. else
  782. set OpSupport = $(ProductOpSupport)
  783. endif
  784. ;
  785. ; Enumerate all netcards installed of this type and update them
  786. ;
  787. set iSearch = 1
  788. nextnetcard = +
  789. Shell $(UtilityInf), FindNextNetworkCard, $(ProductHardwareName), $(iSearch)
  790. set KeyNetcard = $($R0)
  791. set iSearch = $($R1)
  792. Debug-Output "OemNadEp.Inf: FindNextNetworkCard "$(KeyNetcard)","$(iSearch)
  793. Ifstr $(KeyNetcard) != $(KeyNull)
  794. Debug-Output "OemNadEp.Inf: Setting OperationsSupport value"
  795. SetRegValue $(KeyNetcard) {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(OpSupport)}
  796. CloseRegKey $(KeyNetcard)
  797. goto nextnetcard
  798. Endif
  799. goto end
  800. successful = +
  801. goto end
  802. abandon = +
  803. ForListDo $(OEM_ABANDON_OPTIONS)
  804. Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  805. $(ProductSoftwareName), $($)
  806. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  807. goto ShellCodeError
  808. endif
  809. set RegistryErrorIndex = $($R0)
  810. Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  811. goto fatalregistry
  812. endif
  813. EndForListDo
  814. Ifstr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
  815. Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  816. $(ProductSoftwareName), FALSE
  817. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  818. goto ShellCodeError
  819. endif
  820. set RegistryErrorIndex = $($R0)
  821. Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  822. goto fatalregistry
  823. endif
  824. endif
  825. goto end
  826. warning = +
  827. Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  828. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  829. goto ShellCodeError
  830. endif
  831. ifstr(i) $($R1) == "OK"
  832. goto $(to)
  833. else-ifstr(i) $($R1) == "CANCEL"
  834. goto $(from)
  835. else
  836. goto "end"
  837. endif
  838. nonfatalinfo = +
  839. Set CommonStatus = STATUS_USERCANCEL
  840. Set Severity = STATUS
  841. goto nonfatalmsg
  842. nonfatal = +
  843. Set Severity = NONFATAL
  844. goto nonfatalmsg
  845. nonfatalmsg = +
  846. ifstr(i) $(Error) == ""
  847. Set Severity = NONFATAL
  848. Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  849. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  850. goto ShellCodeError
  851. endif
  852. set Error = $($R0)
  853. endif
  854. Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  855. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  856. goto ShellCodeError
  857. endif
  858. ifstr(i) $($R1) == "OK"
  859. goto $(from)
  860. else
  861. goto "end"
  862. endif
  863. fatalregistry = +
  864. Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  865. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  866. goto ShellCodeError
  867. endif
  868. set Error = $($R0)
  869. goto fatal
  870. fatal = +
  871. ifstr(i) $(Error) == ""
  872. Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  873. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  874. goto ShellCodeError
  875. endif
  876. set Error = $($R0)
  877. endif
  878. Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  879. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  880. goto ShellCodeError
  881. endif
  882. goto setfailed
  883. ShellCodeError = +
  884. set DlgType = "MessageBox"
  885. set STF_MB_TITLE = $(ShellCodeErrorTitle)
  886. set STF_MB_TEXT = $(ShellCodeErrorText)
  887. set STF_MB_TYPE = 1
  888. set STF_MB_ICON = 3
  889. set STF_MB_DEF = 1
  890. ui start "Error Message"
  891. goto setfailed
  892. setfailed = +
  893. set CommonStatus = STATUS_FAILED
  894. ifstr(i) $(OEM_ABANDON_ON) == TRUE
  895. set OEM_ABANDON_ON = FALSE
  896. goto abandon
  897. endif
  898. goto end
  899. end = +
  900. goto term
  901. term = +
  902. Return $(CommonStatus)
  903. [Install-Option]
  904. set STF_VITAL = ""
  905. ifstr(i) $(AddCopy) == "YES"
  906. AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  907. endif
  908. ifstr(i) $(DoCopy) == "YES"
  909. set !STF_NCPA_FLUSH_COPYLIST = TRUE
  910. CopyFilesInCopyList
  911. endif
  912. Exit
  913. [Install-Hlp]
  914. set STF_VITAL = ""
  915. AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
  916. set !STF_NCPA_FLUSH_COPYLIST = TRUE
  917. CopyFilesInCopyList
  918. Exit
  919. [Install-Update]
  920. set STF_VITAL = ""
  921. set STF_OVERWRITE = "VERIFYSOURCEOLDER"
  922. AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
  923. AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
  924. AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  925. set !STF_NCPA_FLUSH_COPYLIST = TRUE
  926. CopyFilesInCopyList
  927. exit