home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2002 July / APC0702D2.iso / features / broadban / files / Winproxy.exe / i / _SETUP.1 / oemsetnt.inf < prev    next >
Encoding:
INI File  |  2001-12-10  |  64.3 KB  |  2,073 lines

  1. [Identification]
  2. OptionType = NetService
  3. [Version]
  4. DriverVer=12/07/2001,2.11.7.3
  5. [O0OOOO0OOO]
  6. ENG
  7. [00OOOO0OOO]
  8. DNE
  9. [OO0OOO0OOO]
  10. 0O0OOO0OOO = "DeterministicNetworks"
  11. O00OOO0OOO="2"
  12. 000OOO0OOO="11"
  13. OOO0OO0OOO = $(O00OOO0OOO)"."$(000OOO0OOO)
  14. 0OO0OO0OOO = "oemnsvdn.inf"
  15. O0O0OO0OOO = "NdisWedge"
  16. 00O0OO0OOO = "NdisWedgeTransport"
  17. OO00OO0OOO = "NdisWedgeMac"
  18. 0O00OO0OOO = "NdisLan"
  19. O000OO0OOO = "NdisWan"
  20. 0000OO0OOO = "dne.sys"
  21. OOOO0O0OOO = "\SystemRoot\System32\drivers\"$(0000OO0OOO)
  22. 0OOO0O0OOO = "transport"
  23. O0OO0O0OOO = "kernel"
  24. 00OO0O0OOO = "NDISWAN"
  25. OO0O0O0OOO = "driver"
  26. 0O0O0O0OOO = "kernelautostart"
  27. O00O0O0OOO = "NDISWAN"
  28. 000O0O0OOO = "service"
  29. OOO00O0OOO = "kernel"
  30. 0OO00O0OOO = "NDISWAN"
  31. O0O00O0OOO = "132" 
  32. 00O00O0OOO = ndisDriver
  33. OO000O0OOO = ndisWanAdapterDialIn
  34. 0O000O0OOO = ndisWanAdapterDialOut
  35. O0000O0OOO = ndisWanAdapterDialInIP
  36. 00000O0OOO = ndisWanAdapterDialOutIP
  37. OOOOO00OOO = ndisWanAdapterDialInOutIPX
  38. 0OOOO00OOO = ndisWedgeAdapter
  39. O0OOO00OOO = dialInWedgeAdapter
  40. 00OOO00OOO = dialOutWedgeAdapter
  41. OO0OO00OOO = dialInIPWedgeAdapter
  42. 0O0OO00OOO = dialOutIPWedgeAdapter
  43. O00OO00OOO = dialInOutIPXWedgeAdapter
  44. 000OO00OOO = NdisWanDialin
  45. OOO0O00OOO = NdisWanDialout
  46. 0OO0O00OOO = NdisWanDialinIp
  47. O0O0O00OOO = NdisWanDialoutIp
  48. 00O0O00OOO = NdisWanDialinoutIpx
  49. OO00O00OOO = "ndisWedgeTransport ndisWedgeTransport"
  50. 0O00O00OOO = """NdisWedgeTransport"" yes yes container"
  51. O000O00OOO = {"ndisWedgeTransport basic"}
  52. 0000O00OOO = $(0OOO0O0OOO)" no no"
  53. OOOO000OOO = "NdisWedgeMac ndisWedgeMac ndisWedgeDriver"
  54. 0OOO000OOO = """NdisWedgeMac"" yes no container"
  55. O0OO000OOO = {"ndisWedgeDriver basic","ndisWedgeMac basic"}
  56. 00OO000OOO = $(OO0O0O0OOO)" no no"
  57. OO0O000OOO = {"ndisWedgeDriver "$(O0OOO00OOO)" non non 100",+
  58. "ndisWedgeDriver "$(00OOO00OOO)" non non 100",+
  59. "ndisWedgeDriver "$(OO0OO00OOO)" non non 100",+
  60. "ndisWedgeDriver "$(0O0OO00OOO)" non non 100",+
  61. "ndisWedgeDriver "$(O00OO00OOO)" non non 100",+
  62. "ndisWedgeDriver "$(0OOOO00OOO)" non non 100",+
  63. "ndisWedgeTransport "$(00O00O0OOO)" non non 100"}
  64. 0O0O000OOO = "NdisWedgeAdapter "$(0OOOO00OOO)
  65. O00O000OOO = " yes yes container"
  66. 000O000OOO = {$(0OOOO00OOO)" basic"}
  67. OOO0000OOO = "DialInWedgeAdapter "$(O0OOO00OOO)
  68. 0OO0000OOO = " yes yes container"
  69. O0O0000OOO = {$(O0OOO00OOO)" basic"}
  70. 00O0000OOO = "DialOutWedgeAdapter "$(00OOO00OOO)
  71. OO00000OOO = " yes yes container"
  72. 0O00000OOO = {$(00OOO00OOO)" basic"}
  73. O000000OOO = "DialInIPWedgeAdapter "$(OO0OO00OOO)
  74. 0000000OOO = " yes yes container"
  75. OOOOOOO0OO = {$(OO0OO00OOO)" basic"}
  76. 0OOOOOO0OO = "DialOutIPWedgeAdapter "$(0O0OO00OOO)
  77. O0OOOOO0OO = " yes yes container"
  78. 00OOOOO0OO = {$(0O0OO00OOO)" basic"}
  79. OO0OOOO0OO = "DialInOutIPXWedgeAdapter "$(O00OO00OOO)
  80. 0O0OOOO0OO = " yes yes container"
  81. O00OOOO0OO = {$(O00OO00OOO)" basic"}
  82. 000OOOO0OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(O0O0OO0OOO)"\CurrentVersion"
  83. OOO0OOO0OO = $(!NTN_ServiceBase)"\"$(O0O0OO0OOO)"\Parameters"
  84. 0OO0OOO0OO = $(!NTN_ServiceBase)"\"$(O0O0OO0OOO)
  85. O0O0OOO0OO = $(!NTN_ServiceBase)"\"$(O0O0OO0OOO)"\Linkage"
  86. 00O0OOO0OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(00O0OO0OOO)"\CurrentVersion"
  87. OO00OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Parameters"
  88. 0O00OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)
  89. O000OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Linkage"
  90. 0000OOO0OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(OO00OO0OOO)"\CurrentVersion"
  91. OOOO0OO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Parameters"
  92. 0OOO0OO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)
  93. O0OO0OO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Linkage"
  94. 00OO0OO0OO = $(!NTN_ServiceBase)"\NetBT\Adapters"
  95. OO0O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Ncpa\CurrentVersion"
  96. 0O0O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion"
  97. O00O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards"
  98. 000O0OO0OO = "SYSTEM\CurrentControlSet\Control\ServiceGroupOrder"
  99. OOO00OO0OO = {"AutoIPAddress","ServerAdapter","EnumExportPref"}
  100. [0OO00OO0OO]
  101. O0O00OO0OO = "UTILITY.INF"
  102. 00O00OO0OO = "SUBROUTN.INF"
  103. OO000OO0OO = $(!STF_WINDOWSSYSPATH)\netevent.dll
  104. 0O000OO0OO = NO_ERROR
  105. O0000OO0OO = ""
  106. 00000OO0OO = ""
  107. OOOOO0O0OO = """"
  108. 0OOOO0O0OO = " "
  109. O0OOO0O0OO     = 0
  110. 00OOO0O0OO = 1
  111. OO0OO0O0OO  = 2
  112. 0O0OO0O0OO = 1
  113. O00OO0O0OO = 0
  114. 000OO0O0OO = 33554432
  115. OOO0O0O0OO = ""
  116. 0OO0O0O0OO = ""
  117. O0O0O0O0OO = ""
  118. 00O0O0O0OO   = "Active"
  119. OO00O0O0OO = 0
  120. 0O00O0O0OO = $(!STF_NTPATH)\drivers
  121. [O000O0O0OO]
  122. 0000O0O0OO = {} ? $(!LIBHANDLE) GetSystemDate
  123. [OOOO00O0OO]
  124. STF_PLATFORM = "" ? $(!LIBHANDLE) GetPlatform
  125. [Identify]
  126. set !G:DebugOutputControl = 1
  127. Read-Syms Identification
  128. set 0OOO00O0OO = STATUS_SUCCESSFUL
  129. set O0OO00O0OO = $(OptionType)
  130. set 00OO00O0OO = #("Source Media Descriptions", 1, 1)
  131. Return $(0OOO00O0OO) $(O0OO00O0OO) $(00OO00O0OO)
  132. [ReturnOptions]
  133. set !G:DebugOutputControl = 1
  134. set 0OOO00O0OO = STATUS_FAILED
  135. set OO0O00O0OO = {}
  136. set 0O0O00O0OO = {}
  137. set O00O00O0OO = ^(O0OOOO0OOO, 1)
  138. ifcontains(i) $($0) in $(O00O00O0OO)
  139. goto 000O00O0OO
  140. else
  141. set 0OOO00O0OO = STATUS_NOLANGUAGE
  142. goto OOO000O0OO
  143. endif
  144. 000O00O0OO = +
  145. set OO0O00O0OO = ^(00OOOO0OOO, 1)
  146. set 0O0O00O0OO = ^(0OO000O0OO$($0), 1)
  147. set 0OOO00O0OO = STATUS_SUCCESSFUL
  148. O0O000O0OO = +
  149. return $(0OOO00O0OO) $(OO0O00O0OO) $(0O0O00O0OO)
  150. [InstallOption]
  151. set 00O000O0OO =   $($1)
  152. set OO0000O0OO =   $($2)
  153. set 0O0000O0OO =  $($3)
  154. set O00000O0OO =   $($4)
  155. set 000000O0OO = $($5)
  156. set !G:DebugOutputControl = 1
  157. set O00O00O0OO = ^(O0OOOO0OOO, 1)
  158. ifcontains(i) $($0) NOT-IN $(O00O00O0OO)
  159. return STATUS_NOLANGAUGE
  160. endif
  161. set-subst LF = "\n"
  162. read-syms 0OO00OO0OO
  163. read-syms OO0OOO0OOO
  164. read-syms OOOOOO00OO$(!STF_LANGUAGE)
  165. ifstr(i) $(!NTN_Origination) == "NCPA"
  166. set Continue = $(OK)
  167. endif
  168. read-syms OO0OOO0OOO$(!STF_LANGUAGE)
  169. detect O000O0O0OO
  170. detect OOOO00O0OO
  171. set-title $(0OOOOO00OO)
  172. set 00000OO0OO = O0OOOO00OO
  173. set O0000OO0OO = O0OOOO00OO
  174. set 00OOOO00OO = STATUS_SUCCESSFUL
  175. O0OOOO00OO = +
  176. ifstr(i) $(!NTN_InstallMode) == deinstall
  177. set OO0OOO00OO = 0O0OOO00OO
  178. else-ifstr(i) $(!NTN_InstallMode) == update
  179. set OO0OOO00OO = O00OOO00OO
  180. else-ifstr(i) $(!NTN_InstallMode) == configure
  181. set OO0OOO00OO = 000OOO00OO
  182. else-ifstr(i) $(!NTN_InstallMode) == bind
  183. set OO0OOO00OO = OOO0OO00OO
  184. else 
  185. set OO0OOO00OO = 0OO0OO00OO
  186. endif
  187. set O0000OO0OO = $(O0O0OO00OO)
  188. set 00000OO0OO = $(O0O0OO00OO)
  189. goto $(OO0OOO00OO)
  190. 0OO0OO00OO = +
  191. OpenRegKey $(!REG_H_LOCAL) "" $(00O0OOO0OO) $(000OO0O0OO) 0OO0O0O0OO
  192. ifstr $(0OO0O0O0OO) != $(OOO0O0O0OO)
  193. CloseRegKey $(0OO0O0O0OO)
  194. ifstr(i) $(!NTN_Origination) == "NCPA"
  195. Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(00O0OO00OO)" "$(OOO0OO0OOO)" "$(OO00OO00OO)
  196. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  197. goto 0O00OO00OO
  198. endif
  199. endif
  200. set 00OOOO00OO = STATUS_USERCANCEL
  201. goto O000OO00OO
  202. endif
  203. Shell "" 0000OO00OO
  204. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  205. ifstr(i) $(!NTN_Origination) == "NCPA"
  206. goto 0O00OO00OO
  207. else
  208. set 00OOOO00OO = STATUS_USERCANCEL
  209. goto O000OO00OO
  210. endif
  211. endif
  212. ifstr $($R0) != "STATUS_SUCCESS"
  213. goto OOOO0O00OO
  214. endif
  215. ifstr $($R1) != "4.0"
  216. goto OOOO0O00OO
  217. endif
  218. ifint $($R2) < 3
  219. goto OOOO0O00OO
  220. endif
  221. goto 0OOO0O00OO
  222. OOOO0O00OO = +
  223. CloseRegKey $(0OO0O0O0OO)
  224. ifstr(i) $(!NTN_Origination) == "NCPA"
  225. Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(00O0OO00OO)" "$(OOO0OO0OOO)" "$(O0OO0O00OO)
  226. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  227. goto 0O00OO00OO
  228. endif
  229. endif
  230. set 00OOOO00OO = STATUS_USERCANCEL
  231. goto O000OO00OO
  232. 0OOO0O00OO = +
  233. read-syms 00OO0O00OO$(!STF_LANGUAGE)
  234. Shell $(00O00OO0OO) PushBillboard NETSTATUSDLG $(OO0O0O00OO)
  235. set BillboardVisible = 1
  236. StartWait
  237. ifstr(i) $(!NTN_InstallMode) == "install"
  238. ifstr(i) $(O00000O0OO) == "YES"
  239. Shell $(O0O00OO0OO), DoAsksource, $(!STF_CWDDIR), $(OO0000O0OO) YES
  240. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  241. goto 0O00OO00OO
  242. else-ifstr(i) $($R0) == STATUS_FAILED
  243. Shell $(O0O00OO0OO) RegistryErrorString "ASK_SOURCE_FAIL"
  244. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  245. goto 0O00OO00OO
  246. endif
  247. set 0O0O0O00OO = "Error copying files."
  248. goto O0O0OO00OO
  249. else-ifstr(i) $($R0) == STATUS_USERCANCEL
  250. goto O00O0O00OO
  251. endif
  252. set OO0000O0OO = $($R1)
  253. endif 
  254. install "Install-Option"
  255. ifstr(i) $(!STF_INSTALL_OUTCOME) != $(!STF_SUCCESS)
  256. Shell $(O0O00OO0OO) RegistryErrorString "UNABLE_COPY_FILE"
  257. ifint $($ShellCode) != $(!SHELL_CODE_OK)                 
  258. goto 0O00OO00OO
  259. endif
  260. set 0O0O0O00OO = $($R0)
  261. goto O0O0OO00OO
  262. endif
  263. endif
  264. Shell $(O0O00OO0OO), AddSoftwareComponent, $(0O0OOO0OOO), +
  265. $(O0O0OO0OOO), +
  266. $(O0O0OO0OOO), +
  267. $(000O0O00OO), +
  268. $(STF_CONTEXTINFNAME), $(OOOO0O0OOO), +
  269. $(OOO00O0OOO), $(0OO00O0OOO), {}, "", $(OO000OO0OO)
  270. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  271. goto 0O00OO00OO
  272. endif
  273. set 0O000OO0OO = $($R0)
  274. Ifstr(i) $(0O000OO0OO) !=  NO_ERROR
  275. EndWait
  276. CloseRegKey $($R1)
  277. CloseRegKey $($R2)
  278. CloseRegKey $($R3)
  279. CloseRegKey $($R4)
  280. CloseRegKey $($R5)
  281. set 0O0O0O00OO = "Failed to add service software component."
  282. goto OOO00O00OO
  283. endif
  284. set 0OO00O00OO = $($R1)
  285. set O0O00O00OO   = $($R2)
  286. set 00O00O00OO     = $($R3)
  287. set OO000O00OO    = $($R4)
  288. set 0O000O00OO    = $($R5)
  289. set O0000O00OO = {+
  290. {"SoftwareType",$(OO00O0O0OO),$(!REG_VT_SZ),$(000O0O0OOO)},+
  291. {"MajorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(O00OOO0OOO)},+
  292. {"MinorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(000OOO0OOO)},+
  293. {"Title",$(OO00O0O0OO),$(!REG_VT_SZ),$(00000O00OO)},+
  294. {"Description",$(OO00O0O0OO),$(!REG_VT_SZ),$(OOOOO000OO)},+
  295. {"ServiceName",$(OO00O0O0OO),$(!REG_VT_SZ),$(O0O0OO0OOO)},+
  296. {"OperationsSupport",$(OO00O0O0OO),$(!REG_VT_DWORD),$(O0O00O0OOO)},+
  297. {"InstallDate",$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
  298. Shell $(O0O00OO0OO), AddValueList, $(0OO00O00OO), $(O0000O00OO)    
  299. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  300. goto 0O00OO00OO
  301. endif
  302. set 0O000OO0OO = $($R0)
  303. ifstr(i) $(0O000OO0OO) != NO_ERROR
  304. EndWait
  305. CloseRegKey $(0OO00O00OO)
  306. CloseRegKey $(O0O00O00OO)
  307. CloseRegKey $(00O00O00OO)
  308. CloseRegKey $(OO000O00OO)
  309. CloseRegKey $(0O000O00OO)
  310. set 0O0O0O00OO = "Failed to add service software value list."
  311. goto OOO00O00OO
  312. endif
  313. set O0000O00OO = {{InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
  314. Shell $(O0O00OO0OO), AddValueList, $(O0O00O00OO), $(O0000O00OO)
  315. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  316. goto 0O00OO00OO
  317. endif
  318. set 0O000OO0OO = $($R0)
  319. ifstr(i) $(0O000OO0OO) != NO_ERROR
  320. EndWait
  321. CloseRegKey $(0OO00O00OO)
  322. CloseRegKey $(O0O00O00OO)
  323. CloseRegKey $(00O00O00OO)
  324. CloseRegKey $(OO000O00OO)
  325. CloseRegKey $(0O000O00OO)
  326. set 0O0O0O00OO = "Failed to add service software net rules."
  327. goto OOO00O00OO
  328. endif
  329. CloseRegKey $(0OO00O00OO)
  330. CloseRegKey $(O0O00O00OO)
  331. CloseRegKey $(00O00O00OO)
  332. CloseRegKey $(OO000O00OO)
  333. CloseRegKey $(0O000O00OO)
  334. Shell $(O0O00OO0OO), AddSoftwareComponent, $(0O0OOO0OOO),+
  335. $(00O0OO0OOO),+
  336. $(00O0OO0OOO),+ 
  337. $(0OOOO000OO),+
  338. $(STF_CONTEXTINFNAME), $(OOOO0O0OOO),+
  339. $(O0OO0O0OOO), $(00OO0O0OOO), {}, "", $(OO000OO0OO)
  340. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  341. goto 0O00OO00OO
  342. endif
  343. set 0O000OO0OO = $($R0)
  344. ifstr(i) $(0O000OO0OO) != NO_ERROR
  345. EndWait
  346. CloseRegKey $($R1)
  347. CloseRegKey $($R2)
  348. CloseRegKey $($R3)
  349. CloseRegKey $($R4)
  350. CloseRegKey $($R5)
  351. set 0O0O0O00OO = "Failed to add transport software component."
  352. goto OOO00O00OO
  353. endif
  354. set 0OO00O00OO = $($R1)
  355. set O0O00O00OO   = $($R2)
  356. set 00O00O00OO     = $($R3)
  357. set OO000O00OO    = $($R4)
  358. set 0O000O00OO    = $($R5)
  359. set O0000O00OO = {+
  360. {"SoftwareType",$(OO00O0O0OO),$(!REG_VT_SZ),$(0OOO0O0OOO)},+
  361. {"MajorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(O00OOO0OOO)},+
  362. {"MinorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(000OOO0OOO)},+
  363. {"Title",$(OO00O0O0OO),$(!REG_VT_SZ),$(00O0OO00OO)},+
  364. {"Description",$(OO00O0O0OO),$(!REG_VT_SZ),$(O0OOO000OO)},+
  365. {"ServiceName",$(OO00O0O0OO),$(!REG_VT_SZ),$(00O0OO0OOO)},+
  366. {"Review",$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
  367. {"Hidden",$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
  368. {"InstallDate",$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
  369. Shell $(O0O00OO0OO), AddValueList, $(0OO00O00OO), $(O0000O00OO)    
  370. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  371. goto 0O00OO00OO
  372. endif
  373. set 0O000OO0OO = $($R0)
  374. ifstr(i) $(0O000OO0OO) != NO_ERROR
  375. EndWait
  376. CloseRegKey $(0OO00O00OO)
  377. CloseRegKey $(O0O00O00OO)
  378. CloseRegKey $(00O00O00OO)
  379. CloseRegKey $(OO000O00OO)
  380. CloseRegKey $(0O000O00OO)
  381. set 0O0O0O00OO = "Failed to add transport software value list."
  382. goto OOO00O00OO
  383. endif
  384. Shell "" 00OOO000OO
  385. set O0000O00OO = {{type,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00O00OOO)}, +
  386. {use,$(OO00O0O0OO),$(!REG_VT_SZ),$(0000O00OOO)}, +
  387. {class,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O000O00OOO)}, +
  388. {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O00O00OOO)}, +
  389. {bindable,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}, +
  390. {InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
  391. Shell $(O0O00OO0OO), AddValueList, $(O0O00O00OO), $(O0000O00OO)
  392. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  393. goto 0O00OO00OO
  394. endif
  395. set 0O000OO0OO = $($R0)
  396. ifstr(i) $(0O000OO0OO) != NO_ERROR
  397. EndWait
  398. CloseRegKey $(0OO00O00OO)
  399. CloseRegKey $(O0O00O00OO)
  400. CloseRegKey $(00O00O00OO)
  401. CloseRegKey $(OO000O00OO)
  402. CloseRegKey $(0O000O00OO)
  403. set 0O0O0O00OO = "Failed to add transport software net rules."
  404. goto OOO00O00OO
  405. endif
  406. set O0000O00OO = {{DebugLevel,$(OO00O0O0OO),$(!REG_VT_DWORD),0}, +
  407. {DebugMask,$(OO00O0O0OO),$(!REG_VT_DWORD), 0}}
  408. Shell  $(O0O00OO0OO), AddValueList, $(OO000O00OO), $(O0000O00OO)
  409. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  410. goto 0O00OO00OO
  411. endif
  412. set 0O000OO0OO = $($R0)
  413. ifstr(i) $(0O000OO0OO) != NO_ERROR
  414. EndWait
  415. CloseRegKey $(0OO00O00OO)
  416. CloseRegKey $(O0O00O00OO)
  417. CloseRegKey $(00O00O00OO)
  418. CloseRegKey $(OO000O00OO)
  419. CloseRegKey $(0O000O00OO)
  420. set 0O0O0O00OO = "Failed to add transport software debug info."
  421. goto OOO00O00OO
  422. endif
  423. CloseRegKey $(0OO00O00OO)
  424. CloseRegKey $(O0O00O00OO)
  425. CloseRegKey $(00O00O00OO)
  426. CloseRegKey $(OO000O00OO)
  427. CloseRegKey $(0O000O00OO)
  428. Shell $(O0O00OO0OO), AddSoftwareComponent, $(0O0OOO0OOO), +
  429. $(OO00OO0OOO), +
  430. $(OO00OO0OOO), +
  431. $(OO0OO000OO), +
  432. $(STF_CONTEXTINFNAME), $(OOOO0O0OOO), +
  433. $(0O0O0O0OOO), $(O00O0O0OOO), {}, "", $(OO000OO0OO)
  434. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  435. goto 0O00OO00OO
  436. endif
  437. set 0O000OO0OO = $($R0)
  438. Ifstr(i) $(0O000OO0OO) !=  NO_ERROR
  439. EndWait
  440. CloseRegKey $($R1)
  441. CloseRegKey $($R2)
  442. CloseRegKey $($R3)
  443. CloseRegKey $($R4)
  444. CloseRegKey $($R5)
  445. set 0O0O0O00OO = "Failed to add adapter software component."
  446. goto OOO00O00OO
  447. endif
  448. set 0OO00O00OO = $($R1)
  449. set O0O00O00OO   = $($R2)
  450. set 00O00O00OO     = $($R3)
  451. set OO000O00OO    = $($R4)
  452. set 0O000O00OO    = $($R5)
  453. set O0000O00OO = {{SoftwareType,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO0O0O0OOO)},+
  454. {MajorVersion,$(OO00O0O0OO),$(!REG_VT_DWORD),$(O00OOO0OOO)},+
  455. {MinorVersion,$(OO00O0O0OO),$(!REG_VT_DWORD),$(000OOO0OOO)},+
  456. {Title,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O0OO000OO)},+
  457. {Description,$(OO00O0O0OO),$(!REG_VT_SZ),$(O00OO000OO)},+
  458. {ServiceName,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00OO0OOO)},+
  459. {RefCount,$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
  460. {InstallDate,$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
  461. Shell  $(O0O00OO0OO), AddValueList, $(0OO00O00OO), $(O0000O00OO)
  462. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  463. goto 0O00OO00OO
  464. endif
  465. set 0O000OO0OO = $($R0)
  466. ifstr(i) $(0O000OO0OO) != NO_ERROR
  467. EndWait
  468. CloseRegKey $(0OO00O00OO)
  469. CloseRegKey $(O0O00O00OO)
  470. CloseRegKey $(00O00O00OO)
  471. CloseRegKey $(OO000O00OO)
  472. CloseRegKey $(0O000O00OO)
  473. set 0O0O0O00OO = "Failed to add adapter software version info."
  474. goto OOO00O00OO
  475. endif
  476. set O0000O00OO = {{type,$(OO00O0O0OO),$(!REG_VT_SZ),$(OOOO000OOO)}, +
  477. {use,$(OO00O0O0OO),$(!REG_VT_SZ),$(00OO000OOO)}, +
  478. {class,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0OO000OOO)}, +
  479. {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(0OOO000OOO)}, +
  480. {bindable,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(OO0O000OOO)}, +
  481. {InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
  482. Shell  $(O0O00OO0OO), AddValueList, $(O0O00O00OO), $(O0000O00OO)
  483. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  484. goto 0O00OO00OO
  485. endif
  486. set 0O000OO0OO = $($R0)
  487. ifstr(i) $(0O000OO0OO) != NO_ERROR
  488. EndWait
  489. CloseRegKey $(0OO00O00OO)
  490. CloseRegKey $(O0O00O00OO)
  491. CloseRegKey $(00O00O00OO)
  492. CloseRegKey $(OO000O00OO)
  493. CloseRegKey $(0O000O00OO)
  494. set 0O0O0O00OO = "Failed to add adapter software net rules."
  495. goto OOO00O00OO
  496. endif
  497. CloseRegKey $(0OO00O00OO)
  498. CloseRegKey $(O0O00O00OO)
  499. CloseRegKey $(00O00O00OO)
  500. CloseRegKey $(OO000O00OO)
  501. CloseRegKey $(0O000O00OO)
  502. Shell "" 000OO000OO
  503. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  504. goto 0O00OO00OO
  505. endif
  506. ifstr(i) $($R0) != STATUS_SUCCESSFUL
  507. EndWait
  508. set 0O0O0O00OO = "Failed to add inf to ReviewPrograms."
  509. goto O0O0OO00OO
  510. endif
  511. OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(000OO0O0OO) OOO0O000OO
  512. set 0OO0O000OO = {}
  513. Ifstr(i) $(OOO0O000OO) != $(OOO0O0O0OO)
  514. GetRegValue  $(OOO0O000OO) "List" O0O0O000OO
  515. ifint $(RegLastError) == 0
  516. ForListDo *($(O0O0O000OO), 4)
  517. set 0OO0O000OO = >($(0OO0O000OO), $($))
  518. EndForListDo
  519. endif
  520. Ifcontains(i) $(O00O0O0OOO) not-in $(0OO0O000OO)
  521. set 00O0O000OO = {}
  522. ForListDo $(0OO0O000OO)
  523. set 00O0O000OO = >($(00O0O000OO), $($))
  524. ifstr(i) $($) == "NDIS"
  525. set 00O0O000OO = >($(00O0O000OO), $(O00O0O0OOO) )
  526. endif
  527. EndForListDo
  528. SetRegValue $(OOO0O000OO) {List, 0,$(!REG_VT_MULTI_SZ),$(00O0O000OO)}
  529. endif
  530. CloseRegKey $(OOO0O000OO)
  531. else
  532. endif
  533. set OO00O000OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\DNE\Parameters\Order"
  534. CreateRegKey $(!REG_H_LOCAL) {$(OO00O000OO),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 0O00O000OO
  535. ifstr(i) $(0O00O000OO) != $(OOO0O0O0OO)
  536. CloseRegKey $(0O00O000OO)
  537. endif
  538. EndWait
  539. goto O00O0O00OO
  540. 000OOO00OO = +
  541. goto O00O0O00OO
  542. OOO0OO00OO = +
  543. ifstr(i) $(!NTN_RegBase) != $(00O0OOO0OO)
  544. goto O00O0O00OO
  545. endif
  546. Shell "" O000O000OO
  547. set 0000O000OO = $($R0)
  548. set OOOO0000OO = {}
  549. Set OO00O000OO = $(!NTN_ServiceBase)"\NdisWan\Linkage"
  550. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 0OOO0000OO
  551. ifstr(i) $(0OOO0000OO) != $(OOO0O0O0OO)
  552. GetRegValue $(0OOO0000OO) "Bind" O0OO0000OO
  553. ifint $(RegLastError) == 0
  554. set 00OO0000OO = *($(O0OO0000OO),4)
  555. endif
  556. CloseRegKey $(0OOO0000OO)
  557. endif
  558. ForListDo $(00OO0000OO)
  559. Split-String $($), "\", OO0O0000OO
  560. QueryListSize 0O0O0000OO $(OO0O0000OO)
  561. set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
  562. set OOOO0000OO = >($(OOOO0000OO),$(O00O0000OO))
  563. EndForListDo
  564. OpenRegKey $(!REG_H_LOCAL) "" $(O000OOO0OO) $(000OO0O0OO) 000O0000OO
  565. ifstr(i) $(000O0000OO) != $(OOO0O0O0OO)
  566. GetRegValue $(000O0000OO) "Bind" O0OO0000OO
  567. set 00OO0000OO = *($(O0OO0000OO),4)
  568. CloseRegKey $(000O0000OO)
  569. else
  570. OpenRegKey $(!REG_H_LOCAL) "" $(0O00OOO0OO) $(000OO0O0OO) OOO00000OO
  571. ifstr(i) $(OOO00000OO) != $(OOO0O0O0OO)                
  572. EnumRegKey $(OOO00000OO) 0OO00000OO
  573. CloseRegKey $(OOO00000OO)
  574. endif
  575. set 0O0O0O00OO = "Failed to open transport linkage key."
  576. goto O0O0OO00OO
  577. endif
  578. set O0O00000OO = {}
  579. ForListDo $(00OO0000OO)
  580. Split-String $($), "\", OO0O0000OO
  581. QueryListSize 0O0O0000OO $(OO0O0000OO)
  582. set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
  583. set OOOO0000OO = >($(OOOO0000OO),$(O00O0000OO))
  584. set O0O00000OO = >($(O0O00000OO),$(O00O0000OO))
  585. EndForListDo
  586. set 00O00000OO = "No"
  587. ForListDo $(OOOO0000OO)
  588. OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) OO000000OO
  589. ifstr(i) $(OO000000OO) == $(OOO0O0O0OO)
  590. goto 0O000000OO
  591. endif
  592. set O0000000OO = $($)
  593. set 00000000OO = $(OOO0O0O0OO)
  594. EnumRegKey $(OO000000OO) OOOOOOOO0O
  595. ForListDo $(OOOOOOOO0O)
  596. OpenRegKey $(OO000000OO) "" *($($),1) $(000OO0O0OO) 0OOOOOOO0O
  597. ifstr(i) $(0OOOOOOO0O) == $(OOO0O0O0OO)
  598. CloseRegKey $(OO000000OO)
  599. goto O0OOOOOO0O
  600. endif
  601. GetRegValue $(0OOOOOOO0O) "ServiceName" 00OOOOOO0O
  602. ifstr(i) $(O0000000OO) == *($(00OOOOOO0O),4)
  603. set 00000000OO = $(0OOOOOOO0O)
  604. goto O0OOOOOO0O
  605. endif
  606. CloseRegKey $(0OOOOOOO0O)
  607. O0OOOOOO0O = +
  608. EndForListDo 
  609. CloseRegKey $(OO000000OO)
  610. ifstr(i) $(00000000OO) == $(OOO0O0O0OO)
  611. goto 0O000000OO
  612. endif
  613. GetRegValue $(00000000OO) "ProductName" OO0OOOOO0O
  614. ifint $(RegLastError) == 0
  615. set 0O0OOOOO0O = *($(OO0OOOOO0O),4)
  616. else-ifcontains(i) $($) in $(O0O00000OO)
  617. set 0O0OOOOO0O = $(0O00OO0OOO)
  618. else
  619. set 0O0OOOOO0O = $(O000OO0OOO)
  620. endif
  621. OpenRegKey $(00000000OO) "" "NetRules" $(000OO0O0OO) O00OOOOO0O
  622. ifstr(i) $(O00OOOOO0O) == $(OOO0O0O0OO)
  623. CloseRegKey $(00000000OO)
  624. goto 0O000000OO
  625. endif
  626. CloseRegKey $(00000000OO)
  627. GetRegValue $(O00OOOOO0O) "type" 000OOOOO0O
  628. CloseRegKey $(O00OOOOO0O)
  629. Split-String *($(000OOOOO0O),4), " ", OOO0OOOO0O
  630. ifcontains(i) $(O0000O0OOO) in $(OOO0OOOO0O)
  631. ifcontains(i) "Tcpip" in $(0000O000OO)
  632. set 0OO0OOOO0O = $(O000000OOO)
  633. set O0O0OOOO0O = $(OOOOOOO0OO)
  634. set 00O0OOOO0O = $(0000000OOO)
  635. set 0O0OOOOO0O = $(O000OO0OOO)
  636. set OO00OOOO0O = $(0OO0O00OOO)
  637. else
  638. goto 0O000000OO
  639. endif
  640. else-ifcontains(i) $(00000O0OOO) in $(OOO0OOOO0O)
  641. ifcontains(i) "Tcpip" in $(0000O000OO)
  642. set 0OO0OOOO0O = $(0OOOOOO0OO)
  643. set O0O0OOOO0O = $(00OOOOO0OO)
  644. set 00O0OOOO0O = $(O0OOOOO0OO)
  645. set 0O0OOOOO0O = $(O000OO0OOO)
  646. set OO00OOOO0O = $(O0O0O00OOO)
  647. else
  648. goto 0O000000OO
  649. endif
  650. else-ifcontains(i) $(OOOOO00OOO) in $(OOO0OOOO0O)
  651. ifcontains(i) "NwlnkIpx" in $(0000O000OO)
  652. set 0OO0OOOO0O = $(OO0OOOO0OO)
  653. set O0O0OOOO0O = $(O00OOOO0OO)
  654. set 00O0OOOO0O = $(0O0OOOO0OO)
  655. set 0O0OOOOO0O = $(O000OO0OOO)
  656. set OO00OOOO0O = $(00O0O00OOO)
  657. else
  658. goto 0O000000OO
  659. endif
  660. else-ifcontains(i) $(OO000O0OOO) in $(OOO0OOOO0O)
  661. ifcontains(i) "NetBEUI" in $(0000O000OO)
  662. set 0OO0OOOO0O = $(OOO0000OOO)
  663. set O0O0OOOO0O = $(O0O0000OOO)
  664. set 00O0OOOO0O = $(0OO0000OOO)
  665. set 0O0OOOOO0O = $(O000OO0OOO)
  666. set OO00OOOO0O = $(000OO00OOO)
  667. else
  668. goto 0O000000OO
  669. endif
  670. else-ifcontains(i) $(0O000O0OOO) in $(OOO0OOOO0O)
  671. ifcontains(i) "NetBEUI" in $(0000O000OO)
  672. set 0OO0OOOO0O = $(00O0000OOO)
  673. set O0O0OOOO0O = $(0O00000OOO)
  674. set 00O0OOOO0O = $(OO00000OOO)
  675. set 0O0OOOOO0O = $(O000OO0OOO)
  676. set OO00OOOO0O = $(OOO0O00OOO)
  677. else
  678. goto 0O000000OO
  679. endif
  680. else-ifcontains(i) $($) in $(O0O00000OO)
  681. set 0OO0OOOO0O = $(0O0O000OOO)
  682. set O0O0OOOO0O = $(000O000OOO)
  683. set 00O0OOOO0O = $(O00O000OOO)
  684. set OO00OOOO0O = $(OO00OO0OOO)
  685. else
  686. goto 0O000000OO
  687. endif
  688. set OO00O000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters\"$(00O0OO0OOO)
  689. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) OO000000OO
  690. ifstr(i) $(OO000000OO) == $(OOO0O0O0OO)
  691. CreateRegKey $(!REG_H_LOCAL) {$(OO00O000OO),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 0O00OOOO0O
  692. else
  693. CloseRegKey $(OO000000OO)
  694. goto 0O000000OO
  695. endif
  696. ifstr(i) $(0O00OOOO0O) == $(OOO0O0O0OO)
  697. set 0O0O0O00OO = "Failed to open transport parameters key."
  698. goto O0O0OO00OO
  699. endif
  700. Shell $(O0O00OO0OO), AddHardwareComponent, +
  701. $(0O0OOOOO0O), +
  702. $(STF_CONTEXTINFNAME), +
  703. $(0000OOO0OO)
  704. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  705. goto 0O00OO00OO
  706. endif 
  707. set 0O000OO0OO = $($R0)
  708. ifstr(i) $(0O000OO0OO) !=  NO_ERROR
  709. CloseRegKey $($R1)
  710. CloseRegKey $($R2)
  711. CloseRegKey $($R3)
  712. set 0O0O0O00OO = "Failed to add hardware component "$(0O0OOOOO0O)"."
  713. goto OOO00O00OO
  714. endif
  715. set O000OOOO0O = $($)
  716. set 0000OOOO0O = $(OOO0O0O0OO)
  717. OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
  718. ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
  719. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  720. ifint $(RegLastError) == 0
  721. ForListDo $(OOOO0OOO0O)
  722. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
  723. ifstr(i) $(0OOO0OOO0O) != $(OOO0O0O0OO)
  724. GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
  725. ifint $(RegLastError) == 0
  726. ifstr *($(00OOOOOO0O),4) == $(O000OOOO0O)
  727. GetRegValue $(0OOO0OOO0O) "Title" O0OO0OOO0O
  728. ifint $(RegLastError) == 0
  729. set 0000OOOO0O = *($(O0OO0OOO0O),4)
  730. endif
  731. endif
  732. endif
  733. CloseRegKey $(0OOO0OOO0O)
  734. endif
  735. EndForListDo
  736. endif
  737. CloseRegKey $(0OOOOOOO0O)
  738. endif
  739. set 00OO0OOO0O = $($R2)
  740. set O0O0O0O0OO = $($R3)
  741. set OO0O0OOO0O = $($R4)
  742. set 0O0O0OOO0O = $(0O0OOOOO0O)$(OO0O0OOO0O)
  743. set O00O0OOO0O = "["$(OO0O0OOO0O)"] "$(000O0OOO0O)"-->"$(0000OOOO0O)
  744. set O0000O00OO = {{Manufacturer,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O0OOO0OOO)},+
  745. {Title,$(OO00O0O0OO),$(!REG_VT_SZ),$(O00O0OOO0O)},+
  746. {Description,$(OO00O0O0OO),$(!REG_VT_SZ),$(OOO00OOO0O)},+
  747. {ProductName,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00OOOO0O)},+
  748. {SoftwareName,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00OO0OOO)},+
  749. {ServiceName,$(OO00O0O0OO),$(!REG_VT_SZ),$($R5)},+
  750. {Hidden,$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
  751. {InstallDate,$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
  752. Shell  $(O0O00OO0OO), AddValueList, $($R1), $(O0000O00OO)
  753. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  754. goto 0O00OO00OO
  755. endif 
  756. CloseRegKey $($R1)
  757. set 0OO00OOO0O = """"$(0O0OOOOO0O)$(OO0O0OOO0O)""""
  758. set O0O00OOO0O = $(0OO00OOO0O)$(00O0OOOO0O)
  759. set O0000O00OO = {{type,$(OO00O0O0OO),$(!REG_VT_SZ),$(0OO0OOOO0O)},+
  760. {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(O0O00OOO0O)}, +
  761. {class,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0O0OOOO0O)}, +
  762. {InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
  763. Shell  $(O0O00OO0OO), AddValueList, $(00OO0OOO0O), $(O0000O00OO)
  764. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  765. goto 0O00OO00OO
  766. endif 
  767. set 0O000OO0OO = $($R0)
  768. Ifstr(i) $(0O000OO0OO) != NO_ERROR
  769. EndWait
  770. CloseRegKey $(O0O0O0O0OO)
  771. CloseRegKey $(00OO0OOO0O)
  772. set 0O0O0O00OO = "Failed to set net rules for "$(0OO00OOO0O)"."
  773. goto OOO00O00OO
  774. endif
  775. CloseRegKey $(00OO0OOO0O)
  776. set OO00O000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
  777. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 00O00OOO0O
  778. ifstr(i) $(00O00OOO0O) != $(OOO0O0O0OO)
  779. set OO000OOO0O = {}
  780. EnumRegValue $(00O00OOO0O) OO000OOO0O
  781. ifstr $(OO000OOO0O) != {}
  782. ForListDo $(OO000OOO0O)
  783. ifcontains(i) *($($),1) in $(OOO00OO0OO)
  784. SetRegValue $(O0O0O0O0OO) $($)
  785. endif
  786. EndForListDo
  787. endif
  788. EnumRegKey $(00O00OOO0O) 0O000OOO0O
  789. ifint $(RegLastError) == 0
  790. ForListDo $(0O000OOO0O)
  791. OpenRegKey $(00O00OOO0O) "" *($($),1) $(000OO0O0OO) O0000OOO0O
  792. ifstr(i) $(O0000OOO0O) != $(OOO0O0O0OO)
  793. CreateRegKey $(O0O0O0O0OO) {*($($),1),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 00000OOO0O
  794. ifstr(i) $(00000OOO0O) != $(OOO0O0O0OO)
  795. Shell "", OOOOO0OO0O, $(O0000OOO0O), $(00000OOO0O)
  796. CloseRegKey $(00000OOO0O)
  797. endif
  798. CloseRegKey $(O0000OOO0O)
  799. endif
  800. EndForListDo
  801. endif
  802. CloseRegKey $(00O00OOO0O)
  803. endif
  804. endif 
  805. set O0000O00OO = {{InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD),$(OO0O0OOO0O)},+
  806. {SystemAdapter,$(OO00O0O0OO),$(!REG_VT_SZ),"\Device\"$($)},+
  807. {SourceParameters,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00O000OO)}}
  808. Shell  $(O0O00OO0OO), AddValueList, $(O0O0O0O0OO), $(O0000O00OO)
  809. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  810. CloseRegKey $(O0O0O0O0OO)
  811. goto 0O00OO00OO
  812. endif 
  813. set 0O000OO0OO = $($R0)
  814. Ifstr(i) $(0O000OO0OO) != NO_ERROR
  815. set 0O0O0O00OO = "Failed to set parameters for "$(0OO00OOO0O)"."
  816. CloseRegKey $(O0O0O0O0OO)
  817. goto OOO00O00OO
  818. endif
  819. ifstr(i) $(0O00OOOO0O) != $(OOO0O0O0OO)
  820. OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO)"\"$($) $(000OO0O0OO) 0OOOO0OO0O
  821. ifstr(i) $(0OOOO0OO0O) == $(OOO0O0O0OO)
  822. else
  823. CreateRegKey $(O0O0O0O0OO) {"NetBT\"$($),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0OOO0OO0O
  824. ifstr(i) $(O0OOO0OO0O) == $(OOO0O0O0OO)
  825. else
  826. Shell "", OOOOO0OO0O, $(0OOOO0OO0O), $(O0OOO0OO0O)
  827. CloseRegKey $(O0OOO0OO0O)
  828. endif
  829. CloseRegKey $(0OOOO0OO0O)
  830. endif
  831. endif
  832. CloseRegKey $(O0O0O0O0OO)
  833. set 00OOO0OO0O = $(!NTN_ServiceBase)"\"$(0O0OOOOO0O)$(OO0O0OOO0O)"\Parameters\DNESignature"
  834. CreateRegKey $(!REG_H_LOCAL) {$(00OOO0OO0O),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" OO0OO0OO0O
  835. ifstr(i) $(OO0OO0OO0O) == $(OOO0O0O0OO)
  836. endif
  837. set 00O00000OO = "Yes"
  838. ifstr(i) $(0O00OOOO0O) != $(OOO0O0O0OO)
  839. set O0000O00OO = {{Device,$(OO00O0O0OO),$(!REG_VT_SZ),$($)},+
  840. {AdapterNumber,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO0O0OOO0O)}, +
  841. {InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD), $(OO0O0OOO0O) } }
  842. Shell $(O0O00OO0OO), AddValueList, $(0O00OOOO0O), $(O0000O00OO)
  843. CloseRegKey $(0O00OOOO0O)
  844. endif
  845. 0O000000OO = +
  846. EndForListDo
  847. set 0O0OO0OO0O = {}
  848. set O00OO0OO0O = {}
  849. OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
  850. ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
  851. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  852. ifint $(RegLastError) == 0
  853. ForListDo $(OOOO0OOO0O)
  854. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
  855. ifstr(i) $(0OOO0OOO0O) != $(OOO0O0O0OO)
  856. GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
  857. ifint $(RegLastError) == 0
  858. set OO00O000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters"
  859. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 000OO0OO0O
  860. ifstr(i) $(000OO0OO0O) == $(OOO0O0O0OO)
  861. GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
  862. ifint $(RegLastError) == 0
  863. ifstr *($(OOO0O0OO0O),4) == $(OO00OO0OOO)
  864. set 0O0OO0OO0O = >($(0O0OO0OO0O),*($($),1))
  865. set O00OO0OO0O = >($(O00OO0OO0O),*($(OOO0O0OO0O),4))
  866. endif
  867. endif
  868. else
  869. GetRegValue $(000OO0OO0O) "SystemAdapter" 0OO0O0OO0O
  870. ifint $(RegLastError) == 0
  871. Split-String *($(0OO0O0OO0O),4), "\", OO0O0000OO
  872. QueryListSize 0O0O0000OO $(OO0O0000OO)
  873. set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
  874. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(O00O0000OO) $(000OO0O0OO) O0O0O0OO0O
  875. ifstr(i) $(O0O0O0OO0O) != $(OOO0O0O0OO)
  876. CloseRegKey $(O0O0O0OO0O)
  877. else
  878. set 0O0OO0OO0O = >($(0O0OO0OO0O),*($($),1))
  879. GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
  880. ifint $(RegLastError) == 0
  881. set O00OO0OO0O = >($(O00OO0OO0O),*($(OOO0O0OO0O),4))
  882. else
  883. set O00OO0OO0O = >($(O00OO0OO0O),$(OO00OO0OOO))
  884. endif
  885. endif
  886. endif
  887. CloseRegKey $(000OO0OO0O)
  888. endif
  889. endif
  890. CloseRegKey $(0OOO0OOO0O)
  891. endif
  892. EndForListDo
  893. endif
  894. CloseRegKey $(0OOOOOOO0O)
  895. endif
  896. ForListDo $(0O0OO0OO0O)
  897. set 00O0O0OO0O = $(O00O0OO0OO)"\"$($)
  898. set OO00O0OO0O = *($(O00OO0OO0O),$(#))
  899. Shell $(O0O00OO0OO), RemoveHardwareComponent, $(0O0OOO0OOO), $(OO00O0OO0O), $(00O0O0OO0O)
  900. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  901. goto 0O00OO00OO
  902. endif
  903. set 0O000OO0OO = $($R0)
  904. ifstr(i) $(0O000OO0OO) !=  NO_ERROR
  905. set 0O0O0O00OO = "Failed to remove unused hardware component "$(00O0O0OO0O)"."
  906. goto OOO00O00OO
  907. endif
  908. set 00O00000OO = "Yes"
  909. EndForListDo
  910. set OO00O000OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(00O0OO0OOO)"\CurrentVersion\NetRules"
  911. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 0O00O0OO0O
  912. ifstr(i) $(0O00O0OO0O) != $(OOO0O0O0OO)
  913. GetRegValue $(0O00O0OO0O) "bindable" O000O0OO0O
  914. ifint $(RegLastError) == 0
  915. Shell "" 00OOO000OO
  916. ifstr $($R0) != *($(O000O0OO0O),4)
  917. SetRegValue $(0O00O0OO0O) {"bindable",$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}
  918. ifint $(RegLastError) != 0
  919. else
  920. set 00O00000OO = "Yes"
  921. endif
  922. endif
  923. endif
  924. CloseRegKey $(0O00O0OO0O)
  925. else
  926. endif
  927. Shell "" 0000O0OO0O
  928. Shell "" OOOO00OO0O
  929. set 0OOO00OO0O = $($R0)
  930. set O0OO00OO0O = $($R1)
  931. Shell "" O000O000OO
  932. ForListDo $($R0)
  933. set OO00O000OO = $(!NTN_ServiceBase)"\"$($)"\Linkage"
  934. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 00OO00OO0O
  935. ifstr(i) $(00OO00OO0O) != $(OOO0O0O0OO)
  936. Shell "" OO0O00OO0O $($),$(00OO00OO0O),$(0OOO00OO0O),$(O0OO00OO0O),$(0O0OO0O0OO)
  937. CloseRegKey $(00OO00OO0O)
  938. else
  939. endif
  940. EndForListDo
  941. ifstr(i) $(00O00000OO) == "Yes"
  942. OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO) $(000OO0O0OO) 0O0O00OO0O
  943. ifstr(i) $(0O0O00OO0O) != $(OOO0O0O0OO)
  944. SetRegValue $(0O0O00OO0O) {"BindRestart",$(OO00O0O0OO),$(!REG_VT_DWORD),1}
  945. CloseRegKey $(0O0O00OO0O)
  946. else
  947. endif
  948. endif
  949. goto O00O0O00OO
  950. 0O0OOO00OO = +
  951. ifstr(i) $(!NTN_RegBase) != $(000OOOO0OO)
  952. set 0O0O0O00OO = "To uninstall this adapter, remove '"$(OOOOO000OO)"' from Services"
  953. set O0000OO0OO = O000OO00OO
  954. goto O00O00OO0O
  955. endif
  956. Shell "" 000O00OO0O
  957. Shell "" OOO000OO0O
  958. Shell "" 0OO000OO0O
  959. goto O000OO00OO
  960. O00OOO00OO = +
  961. goto O00O0O00OO
  962. 0O00OO00OO = +
  963. ifstr(i) $(!NTN_Origination) == "NCPA"
  964. Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), FATAL, "Fatal shell error: "$($ShellCode)
  965. endif
  966. goto O0O000OO0O
  967. O0O0OO00OO = +
  968. ifstr(i) $(!NTN_Origination) == "NCPA"
  969. Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(0O0O0O00OO)
  970. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  971. goto 0O00OO00OO
  972. endif
  973. endif
  974. set 00O000OO0O = {"0OO0OO00OO"}
  975. ifcontains(i) $(OO0OOO00OO) in $(00O000OO0O)
  976. Shell "" 0OO000OO0O
  977. endif
  978. goto O0O000OO0O
  979. OOO00O00OO = +
  980. ifstr(i) $(!NTN_Origination) == "NCPA"
  981. Shell $(O0O00OO0OO) RegistryErrorString $(0O000OO0OO)
  982. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  983. goto 0O00OO00OO
  984. endif
  985. set OO0000OO0O = $(0O0O0O00OO)
  986. set 0O0O0O00OO = $($R0)
  987. Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(OO0000OO0O)
  988. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  989. goto 0O00OO00OO
  990. endif
  991. endif
  992. goto O0O0OO00OO
  993. O00O00OO0O = +
  994. set 00OOOO00OO = STATUS_USERCANCEL
  995. set 0O0000OO0O = STATUS
  996. goto O00000OO0O
  997. 000000OO0O = +
  998. set 0O0000OO0O = NONFATAL
  999. goto O00000OO0O
  1000. O00000OO0O = +
  1001. ifstr(i) $(!NTN_Origination) == "NCPA"
  1002. ifstr(i) $(0O0O0O00OO) == ""
  1003. Shell $(O0O00OO0OO) RegistryErrorString "SETUP_FAIL"
  1004. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1005. goto 0O00OO00OO
  1006. endif
  1007. set 0O0O0O00OO = $($R0)
  1008. endif
  1009. Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), $(0O0000OO0O), $(0O0O0O00OO)
  1010. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1011. goto 0O00OO00OO
  1012. endif
  1013. ifstr(i) $($R1) == "OK"
  1014. goto $(O0000OO0OO)
  1015. else
  1016. goto O000OO00OO
  1017. endif
  1018. else
  1019. goto $(O0000OO0OO)
  1020. endif
  1021. O0O000OO0O = + 
  1022. set 00OOOO00OO = STATUS_FAILED
  1023. goto O000OO00OO
  1024. O00O0O00OO = +
  1025. goto O000OO00OO
  1026. O000OO00OO = +
  1027. goto OOOOOO0O0O
  1028. OOOOOO0O0O = +
  1029. return $(00OOOO00OO)
  1030. [BindingsReview]
  1031. set !G:DebugOutputControl = 1
  1032. read-syms OO0OOO0OOO
  1033. read-syms 0OO00OO0OO
  1034. OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) 00OO00OO0O
  1035. ifstr $(00OO00OO0O) == $(OOO0O0O0OO)                        
  1036. else
  1037. GetRegValue $(00OO00OO0O) "Bind" 0OOOOO0O0O
  1038. ifint $(RegLastError) != 0
  1039. else
  1040. set O0OO0000OO = *($(0OOOOO0O0O),4)
  1041. ForListDo $(O0OO0000OO)
  1042. Split-String $($) "\" O0OOOO0O0O
  1043. set 00OOOO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),4)"\Parameters"
  1044. OpenRegKey $(!REG_H_LOCAL) "" $(00OOOO0O0O) $(000OO0O0OO) OO0OOO0O0O
  1045. ifstr $(OO0OOO0O0O) == $(OOO0O0O0OO)                        
  1046. else
  1047. GetRegValue $(OO0OOO0O0O) "SourceParameters" 0O0OOO0O0O
  1048. ifint $(RegLastError) == 0
  1049. set O00OOO0O0O = *($(0O0OOO0O0O),4)
  1050. OpenRegKey $(!REG_H_LOCAL) "" $(O00OOO0O0O) $(000OO0O0OO) 000OOO0O0O
  1051. ifstr $(000OOO0O0O) == $(OOO0O0O0OO)                        
  1052. else
  1053. set OO000OOO0O = {}
  1054. EnumRegValue $(000OOO0O0O) OO000OOO0O
  1055. ifstr $(OO000OOO0O) != {}
  1056. ForListDo $(OO000OOO0O)
  1057. ifcontains(i) *($($),1) in $(OOO00OO0OO)
  1058. SetRegValue $(OO0OOO0O0O) $($)
  1059. endif
  1060. EndForListDo
  1061. endif
  1062. EnumRegKey $(000OOO0O0O) 0O000OOO0O
  1063. ifint $(RegLastError) == 0
  1064. ForListDo $(0O000OOO0O)
  1065. OpenRegKey $(000OOO0O0O) "" *($($),1) $(000OO0O0OO) O0000OOO0O
  1066. ifstr(i) $(O0000OOO0O) != $(OOO0O0O0OO)
  1067. OpenRegKey $(OO0OOO0O0O) "" *($($),1) $(000OO0O0OO) 00000OOO0O
  1068. ifstr(i) $(00000OOO0O) != $(OOO0O0O0OO)
  1069. Shell "", OOOOO0OO0O, $(O0000OOO0O), $(00000OOO0O)
  1070. CloseRegKey $(00000OOO0O)
  1071. endif
  1072. CloseRegKey $(O0000OOO0O)
  1073. endif
  1074. EndForListDo
  1075. endif
  1076. CloseRegKey $(000OOO0O0O)
  1077. DeleteRegValue $(OO0OOO0O0O) "SourceParameters"
  1078. endif
  1079. endif
  1080. CloseRegKey $(OO0OOO0O0O)
  1081. endif
  1082. EndForListDo
  1083. endif
  1084. CloseRegKey $(00OO00OO0O)
  1085. endif
  1086. Shell "" OOO0OO0O0O
  1087. Shell "" 0OO0OO0O0O
  1088. return STATUS_SUCCESSFUL
  1089. [OOOO00OO0O]
  1090. read-syms 0OO00OO0OO
  1091. read-syms OO0OOO0OOO
  1092. set 0OOO00OO0O = {}
  1093. set O0OO00OO0O = {}
  1094. OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
  1095. ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
  1096. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  1097. ifint $(RegLastError) == 0
  1098. ForListDo $(OOOO0OOO0O)
  1099. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
  1100. ifstr(i) $(0OOO0OOO0O) != $(OOO0O0O0OO)
  1101. GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
  1102. ifint $(RegLastError) == 0
  1103. set OO00O000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters\DNESignature"
  1104. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0O0OO0O0O
  1105. ifstr(i) $(O0O0OO0O0O) != $(OOO0O0O0OO)
  1106. set 0OOO00OO0O = >($(0OOO00OO0O),*($(00OOOOOO0O),4))
  1107. CloseRegKey $(O0O0OO0O0O)
  1108. else
  1109. set O0OO00OO0O = >($(O0OO00OO0O),*($(00OOOOOO0O),4))
  1110. endif
  1111. endif
  1112. CloseRegKey $(0OOO0OOO0O)
  1113. endif
  1114. EndForListDo
  1115. endif
  1116. CloseRegKey $(0OOOOOOO0O)
  1117. endif
  1118. return $(0OOO00OO0O) $(O0OO00OO0O)
  1119. [OOO000OO0O]
  1120. read-syms 0OO00OO0OO
  1121. read-syms OO0OOO0OOO
  1122. Shell "" OOOO00OO0O
  1123. ForListDo $($R0)
  1124. set 00O0OO0O0O = $(!NTN_ServiceBase)"\"$($)"\Parameters"
  1125. OpenRegKey $(!REG_H_LOCAL) "" $(00O0OO0O0O) $(000OO0O0OO) OO00OO0O0O
  1126. ifstr $(OO00OO0O0O) != $(OOO0O0O0OO)
  1127. GetRegValue $(OO00OO0O0O) "SystemAdapter" 0O00OO0O0O
  1128. ifint $(RegLastError) == 0
  1129. set O000OO0O0O = *($(0O00OO0O0O),4)
  1130. Split-String $(O000OO0O0O) "\" 0000OO0O0O
  1131. QueryListSize OOOO0O0O0O $(0000OO0O0O)
  1132. set 0OOO0O0O0O = $(!NTN_ServiceBase)"\"*($(0000OO0O0O),$(OOOO0O0O0O))"\Parameters"
  1133. OpenRegKey $(!REG_H_LOCAL) "" $(0OOO0O0O0O) $(000OO0O0OO) O0OO0O0O0O
  1134. ifstr $(O0OO0O0O0O) != $(OOO0O0O0OO)
  1135. Shell "", OOOOO0OO0O, $(OO00OO0O0O), $(O0OO0O0O0O)
  1136. DeleteRegKey $(O0OO0O0O0O) $(00O0OO0OOO)
  1137. DeleteRegKey $(O0OO0O0O0O) "DNESignature"
  1138. CloseRegKey $(O0OO0O0O0O)
  1139. endif
  1140. endif
  1141. CloseRegKey $(OO00OO0O0O)
  1142. endif
  1143. EndForListDo
  1144. return
  1145. [000O00OO0O]
  1146. read-syms 0OO00OO0OO
  1147. read-syms OO0OOO0OOO
  1148. OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) 00OO00OO0O
  1149. ifstr(i) $(00OO00OO0O) == $(OOO0O0O0OO)
  1150. else
  1151. GetRegValue $(00OO00OO0O) "Bind" O0OO0000OO
  1152. ifint $(RegLastError) != 0
  1153. else
  1154. set 00OO0O0O0O = *($(O0OO0000OO),4)
  1155. ForListDo $(00OO0O0O0O)
  1156. Split-String $($), "\", OO0O0000OO
  1157. QueryListSize OO0O0O0O0O $(OO0O0000OO)
  1158. set 0O0O0O0O0O = *($(OO0O0000OO),$(OO0O0O0O0O))
  1159. set OO00O000OO = $(!NTN_ServiceBase)"\"$(0O0O0O0O0O)"\Parameters\"$(00O0OO0OOO)
  1160. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O00O0O0O0O
  1161. ifstr(i) $(O00O0O0O0O) == $(OOO0O0O0OO)
  1162. else
  1163. GetRegValue $(O00O0O0O0O) "Device" 000O0O0O0O
  1164. ifint $(RegLastError) != 0
  1165. else
  1166. set OO00O000OO = $(00OO0OO0OO)"\"*($(000O0O0O0O),4)
  1167. CreateRegKey $(!REG_H_LOCAL) {$(OO00O000OO),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0OOO0OO0O
  1168. ifstr(i) $(O0OOO0OO0O) == $(OOO0O0O0OO)
  1169. else
  1170. set OO00O000OO = $(00OO0OO0OO)"\"$(0O0O0O0O0O)
  1171. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) OOO00O0O0O
  1172. ifstr(i) $(O0OOO0OO0O) == $(OOO0O0O0OO)
  1173. else
  1174. Shell "", OOOOO0OO0O, $(OOO00O0O0O), $(O0OOO0OO0O)
  1175. ifstr(i) $($R0) != STATUS_SUCCESSFUL
  1176. endif
  1177. CloseRegKey $(OOO00O0O0O)
  1178. endif
  1179. CloseRegKey $(O0OOO0OO0O)
  1180. endif
  1181. endif
  1182. CloseRegKey $(O00O0O0O0O)
  1183. endif
  1184. EndForListDo
  1185. endif
  1186. CloseRegKey $(00OO00OO0O)
  1187. endif
  1188. return
  1189. [OOO0OO0O0O]
  1190. read-syms 0OO00OO0OO
  1191. read-syms OO0OOO0OOO
  1192. set 00OO0O0O0O = {}
  1193. OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) 00OO00OO0O
  1194. ifstr(i) $(00OO00OO0O) != $(OOO0O0O0OO)
  1195. GetRegValue $(00OO00OO0O) "Bind" O0OO0000OO
  1196. ifint $(RegLastError) == 0
  1197. set 00OO0O0O0O = *($(O0OO0000OO),4)
  1198. endif
  1199. endif
  1200. ifstr $(00OO0O0O0O) != {}
  1201. ForListDo $(00OO0O0O0O)
  1202. Split-String $($), "\", OO0O0000OO
  1203. QueryListSize OO0O0O0O0O $(OO0O0000OO)
  1204. set 0O0O0O0O0O = *($(OO0O0000OO),$(OO0O0O0O0O))
  1205. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(0O0O0O0O0O)"\Parameters\NetBT" $(000OO0O0OO) 0OOOO0OO0O
  1206. ifstr(i) $(0OOOO0OO0O) == $(OOO0O0O0OO)
  1207. else
  1208. EnumRegKey $(0OOOO0OO0O) 0OO00O0O0O
  1209. ifint $(RegLastError) != 0
  1210. else
  1211. ForListDo $(0OO00O0O0O)
  1212. set O0O00O0O0O = *($($),1)
  1213. OpenRegKey $(0OOOO0OO0O) "" $(O0O00O0O0O) $(000OO0O0OO) OOO00O0O0O
  1214. ifstr(i) $(OOO00O0O0O) == $(OOO0O0O0OO)
  1215. else
  1216. set OO00O000OO = $(00OO0OO0OO)"\"$(0O0O0O0O0O)
  1217. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0OOO0OO0O
  1218. ifstr(i) $(O0OOO0OO0O) == $(OOO0O0O0OO)
  1219. else
  1220. Shell "", OOOOO0OO0O, $(OOO00O0O0O), $(O0OOO0OO0O)
  1221. ifstr(i) $($R0) != STATUS_SUCCESSFUL
  1222. else
  1223. DeleteRegTree $(0OOOO0OO0O) $(O0O00O0O0O)
  1224. endif
  1225. CloseRegKey $(O0OOO0OO0O)
  1226. endif 
  1227. CloseRegKey $(OOO00O0O0O)
  1228. endif
  1229. EndForListDo
  1230. endif
  1231. CloseRegKey $(0OOOO0OO0O)
  1232. endif
  1233. EndForListDo 
  1234. endif
  1235. ifstr(i) $(00OO00OO0O) != $(OOO0O0O0OO)
  1236. CloseRegKey $(00OO00OO0O)
  1237. endif
  1238. return
  1239. [OOOOO0OO0O]
  1240. set 00O00O0O0O = $($0)
  1241. set OO000O0O0O = $($1)
  1242. Set FLibraryErrCtl = 1
  1243. LibraryProcedure __CopyResult $(!NCPA_HANDLE), RegCopyTree, $(00O00O0O0O), $(OO000O0O0O)
  1244. Set FLibraryErrCtl = 0
  1245. Set 0O000O0O0O = *($(O0000O0O0O),1)
  1246. Ifint $(0O000O0O0O) != 0
  1247. return UNABLE_ACCESS_CONFIGURE_SERVICE
  1248. Endif
  1249. return STATUS_SUCCESSFUL
  1250. [0OO000OO0O]
  1251. read-syms 0OO00OO0OO
  1252. read-syms OO0OOO0OOO
  1253. read-syms OOOOOO00OO$(!STF_LANGUAGE)
  1254. Shell "" 00000O0O0O
  1255. OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
  1256. ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
  1257. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  1258. ifint $(RegLastError) == 0
  1259. ForListDo $(OOOO0OOO0O)
  1260. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
  1261. ifstr(i) $(0OOO0OOO0O) != $(OOO0O0O0OO)
  1262. GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
  1263. ifint $(RegLastError) == 0
  1264. set OO00O0OO0O = $(OOO0O0O0OO)
  1265. set OO00O000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters\DNESignature"
  1266. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0O0O0OO0O
  1267. ifstr(i) $(O0O0O0OO0O) != $(OOO0O0O0OO)
  1268. CloseRegKey $(O0O0O0OO0O)
  1269. GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
  1270. ifint $(RegLastError) == 0
  1271. set OO00O0OO0O = *($(OOO0O0OO0O),4)
  1272. else
  1273. set OO00O0OO0O = $(OO00OO0OOO)
  1274. endif
  1275. else
  1276. GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
  1277. ifint $(RegLastError) == 0
  1278. ifstr *($(OOO0O0OO0O),4) == $(OO00OO0OOO)
  1279. set OO00O0OO0O = *($(OOO0O0OO0O),4)
  1280. endif
  1281. endif
  1282. endif
  1283. ifstr $(OO00O0OO0O) != $(OOO0O0O0OO)
  1284. set 00O0O0OO0O = $(O00O0OO0OO)"\"*($($),1)
  1285. Shell $(O0O00OO0OO), RemoveHardwareComponent, $(0O0OOO0OOO), $(OO00O0OO0O), $(00O0O0OO0O)
  1286. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1287. endif
  1288. endif
  1289. endif
  1290. CloseRegKey $(0OOO0OOO0O)
  1291. endif
  1292. EndForListDo
  1293. endif
  1294. CloseRegKey $(0OOOOOOO0O)
  1295. endif
  1296. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase) $(000OO0O0OO) O0O0O0OO0O
  1297. ifstr(i) $(O0O0O0OO0O) != $(OOO0O0O0OO)
  1298. EnumRegKey $(O0O0O0OO0O) OOOOO00O0O
  1299. ifint $(RegLastError) == 0
  1300. ForListDo $(OOOOO00O0O)
  1301. set OO00O000OO = $(!NTN_ServiceBase)"\"*($($),1)"\Parameters"
  1302. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO)"\"$(00O0OO0OOO) $(000OO0O0OO) 0OOOO00O0O
  1303. ifstr(i) $(0OOOO00O0O) != $(OOO0O0O0OO)
  1304. CloseRegKey $(0OOOO00O0O)
  1305. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0OOO00O0O
  1306. ifstr(i) $(O0OOO00O0O) != $(OOO0O0O0OO)
  1307. DeleteRegTree $(O0OOO00O0O) $(00O0OO0OOO)
  1308. CloseRegKey $(O0OOO00O0O)
  1309. endif
  1310. endif
  1311. EndForListDo
  1312. endif
  1313. endif
  1314. OpenRegKey $(!REG_H_LOCAL) "" $(000OOOO0OO)"\NetRules" $(000OO0O0OO) O00OOOOO0O
  1315. ifstr(i) $(O00OOOOO0O) != $(OOO0O0O0OO)
  1316. GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
  1317. ifint $(RegLastError) == 0
  1318. ifstr(i) *($(00OOO00O0O),4) != $(0OO0OO0OOO)
  1319. AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\"*($(00OOO00O0O),4)
  1320. endif
  1321. endif
  1322. CloseRegKey $(O00OOOOO0O)
  1323. endif
  1324. OpenRegKey $(!REG_H_LOCAL) "" $(0000OOO0OO) $(000OO0O0OO) OO0OO00O0O
  1325. ifstr(i) $(OO0OO00O0O) != $(OOO0O0O0OO)
  1326. SetRegValue $(OO0OO00O0O) {RefCount,$(OO00O0O0OO),$(!REG_VT_DWORD),0}
  1327. CloseRegKey $(OO0OO00O0O)
  1328. endif
  1329. Shell $(O0O00OO0OO), RemoveSoftwareComponent, $(0O0OOO0OOO), $(OO00OO0OOO)
  1330. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1331. endif
  1332. set 0O000OO0OO = $($R0)
  1333. ifstr(i) $(0O000OO0OO) != NO_ERROR
  1334. endif
  1335. Shell $(O0O00OO0OO), RemoveSoftwareComponent, $(0O0OOO0OOO), $(00O0OO0OOO)
  1336. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1337. endif
  1338. set 0O000OO0OO = $($R0)
  1339. ifstr(i) $(0O000OO0OO) != NO_ERROR
  1340. endif
  1341. Shell $(O0O00OO0OO), RemoveSoftwareComponent, $(0O0OOO0OOO), $(O0O0OO0OOO)
  1342. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1343. endif
  1344. set 0O000OO0OO = $($R0)
  1345. ifstr(i) $(0O000OO0OO) != NO_ERROR
  1346. endif
  1347. Set OO00O000OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)
  1348. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 0O0OO00O0O
  1349. ifstr(i) $(0O0OO00O0O) != $(OOO0O0O0OO)
  1350. EnumRegKey $(0O0OO00O0O) O00OO00O0O
  1351. ifint $(RegLastError) == 0
  1352. ifstr $(O00OO00O0O) == {}
  1353. set 000OO00O0O = {}
  1354. EnumRegValue $(0O0OO00O0O) 000OO00O0O
  1355. ifstr $(000OO00O0O) == {}
  1356. DeleteRegTree $(!REG_H_LOCAL) $(OO00O000OO)
  1357. endif
  1358. endif
  1359. endif
  1360. CloseRegKey $(0O0OO00O0O)
  1361. endif
  1362. return
  1363. [000OO000OO]
  1364. read-syms OO0OOO0OOO
  1365. read-syms 0OO00OO0OO
  1366. set 0OOO00O0OO = STATUS_FAILED
  1367. OpenRegKey $(!REG_H_LOCAL) "" $(000OOOO0OO)"\NetRules" $(000OO0O0OO) O00OOOOO0O
  1368. ifstr(i) $(O00OOOOO0O) != $(OOO0O0O0OO)
  1369. GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
  1370. ifint $(RegLastError) == 0
  1371. CloseRegKey $(O00OOOOO0O)
  1372. set OOO0O00O0O = {}
  1373. OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO) $(000OO0O0OO) 0OO0O00O0O
  1374. ifstr(i) $(0OO0O00O0O) != $(OOO0O0O0OO)
  1375. GetRegValue $(0OO0O00O0O) "ReviewPrograms" O0O0O000OO
  1376. ifint $(RegLastError) == 0
  1377. ForListDo *($(O0O0O000OO),4)
  1378. ifstr(i) $($) != *($(00OOO00O0O),4)
  1379. ifstr(i) $($) == "NBINFO.INF"
  1380. set OOO0O00O0O = >($(OOO0O00O0O),*($(00OOO00O0O),4))
  1381. endif
  1382. set OOO0O00O0O = >($(OOO0O00O0O), $($))
  1383. endif
  1384. EndForListDo
  1385. SetRegValue $(0OO0O00O0O) {ReviewPrograms,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(OOO0O00O0O)}
  1386. set 0OOO00O0OO = STATUS_SUCCESSFUL
  1387. endif
  1388. CloseRegKey $(0OO0O00O0O)
  1389. else
  1390. endif
  1391. else
  1392. CloseRegKey $(O00OOOOO0O)
  1393. endif
  1394. else
  1395. endif
  1396. return $(0OOO00O0OO)
  1397. [00000O0O0O]
  1398. read-syms OO0OOO0OOO
  1399. read-syms 0OO00OO0OO
  1400. set 0OOO00O0OO = STATUS_FAILED
  1401. OpenRegKey $(!REG_H_LOCAL) "" $(000OOOO0OO)"\NetRules" $(000OO0O0OO) O00OOOOO0O
  1402. ifstr(i) $(O00OOOOO0O) != $(OOO0O0O0OO)
  1403. GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
  1404. ifint $(RegLastError) == 0
  1405. CloseRegKey $(O00OOOOO0O)
  1406. set OOO0O00O0O = {}
  1407. OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO) $(000OO0O0OO) 0OO0O00O0O
  1408. Ifstr(i) $(0OO0O00O0O) != $(OOO0O0O0OO)
  1409. GetRegValue $(0OO0O00O0O) "ReviewPrograms" O0O0O000OO
  1410. ifint $(RegLastError) == 0
  1411. ForListDo *($(O0O0O000OO),4)
  1412. ifstr(i) $($) != *($(00OOO00O0O),4)
  1413. set OOO0O00O0O = >($(OOO0O00O0O), $($))
  1414. endif
  1415. EndForListDo
  1416. SetRegValue $(0OO0O00O0O) {ReviewPrograms,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(OOO0O00O0O)}
  1417. set 0OOO00O0OO = STATUS_SUCCESSFUL
  1418. endif
  1419. CloseRegKey $(0OO0O00O0O)
  1420. else
  1421. endif
  1422. else
  1423. CloseRegKey $(O00OOOOO0O)
  1424. endif
  1425. else
  1426. endif
  1427. return $(0OOO00O0OO)
  1428. [00OOO000OO]
  1429. read-syms OO0OOO0OOO
  1430. read-syms 0OO00OO0OO
  1431. Shell "" O000O000OO
  1432. set 0000O000OO = $($R0)
  1433. set O0O0O00O0O = {}
  1434. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_SoftwareBase) $(000OO0O0OO) 00O0O00O0O
  1435. ifstr(i) $(00O0O00O0O) != $(OOO0O0O0OO)
  1436. set OO00O00O0O = {}
  1437. EnumRegKey $(00O0O00O0O) OO00O00O0O
  1438. ForListDo $(OO00O00O0O)
  1439. set 0O00O00O0O = *($($),1)
  1440. ForListDo $(0000O000OO)
  1441. set O000O00O0O = $(OOO0O0O0OO)
  1442. OpenRegKey $(00O0O00O0O) "" $(0O00O00O0O)"\"$($) $(000OO0O0OO) O000O00O0O
  1443. ifstr(i) $(O000O00O0O) != $(OOO0O0O0OO)
  1444. set 0000O00O0O = {}
  1445. ifstr(i) $($) == $(O0O0OO0OOO)
  1446. goto OOOO000O0O
  1447. endif
  1448. ifstr(i) $($) == $(00O0OO0OOO)
  1449. goto OOOO000O0O
  1450. endif
  1451. ifstr(i) $($) == $(OO00OO0OOO)
  1452. goto OOOO000O0O
  1453. endif
  1454. OpenRegKey $(O000O00O0O) "" "CurrentVersion\NetRules" $(000OO0O0OO) O00OOOOO0O
  1455. ifstr(i) $(O00OOOOO0O) != $(OOO0O0O0OO)
  1456. GetRegValue $(O00OOOOO0O) "Class" 0OOO000O0O
  1457. ifint $(RegLastError) == 0
  1458. ForListDo *($(0OOO000O0O),4)
  1459. Split-String $($), " ", O0OO000O0O
  1460. set 00OO000O0O = 0
  1461. ForListDo $(O0OO000O0O)
  1462. ifstr $($) != " "
  1463. set-add 00OO000O0O = $(00OO000O0O),1
  1464. ifint $(00OO000O0O) == 1
  1465. set OO0O000O0O = $($)
  1466. else-ifint $(00OO000O0O) == 2
  1467. ifstr(i) $($) == netBiosTransport
  1468. set 0O0O000O0O = $(OO0O000O0O)" "$(0OOOO00OOO)" non non 100"
  1469. set O0O0O00O0O = >($(O0O0O00O0O), $(0O0O000O0O))
  1470. endif
  1471. endif
  1472. endif
  1473. EndForListDo
  1474. EndForListDo
  1475. endif
  1476. GetRegValue $(O00OOOOO0O) "Bindable" O00O000O0O
  1477. ifint $(RegLastError) == 0
  1478. ForListDo *($(O00O000O0O),4)
  1479. Split-String $($), " ", 000O000O0O
  1480. set 0O0O000O0O = $(OOO0O0O0OO)
  1481. set OOO0000O0O = O00OO0O0OO
  1482. set 0OO0000O0O = O00OO0O0OO
  1483. set 00OO000O0O = 0
  1484. ForListDo $(000O000O0O)
  1485. ifstr $($) == " "
  1486. set 0O0O000O0O = $(0O0O000O0O)$($)
  1487. else
  1488. set-add 00OO000O0O = $(00OO000O0O),1
  1489. ifint $(00OO000O0O) == 1
  1490. ifstr(i) $($) == ndisWanTransport
  1491. set 0OO0000O0O = 0O0OO0O0OO
  1492. endif
  1493. set 0O0O000O0O = $(0O0O000O0O)$($)
  1494. else-ifint $(00OO000O0O) == 2
  1495. ifstr(i) $($) == $(00O00O0OOO)
  1496. set O0O0000O0O = $(0OOOO00OOO)
  1497. set OOO0000O0O = 0O0OO0O0OO
  1498. else-ifstr(i) $($) == $(OO000O0OOO)
  1499. ifcontains(i) "NetBEUI" in $(0000O000OO)
  1500. set O0O0000O0O = $(O0OOO00OOO)
  1501. set OOO0000O0O = 0O0OO0O0OO
  1502. endif
  1503. else-ifstr(i) $($) == $(0O000O0OOO)
  1504. ifcontains(i) "NetBEUI" in $(0000O000OO)
  1505. set O0O0000O0O = $(00OOO00OOO)
  1506. set OOO0000O0O = 0O0OO0O0OO
  1507. endif
  1508. else-ifstr(i) $($) == $(O0000O0OOO)
  1509. ifcontains(i) "Tcpip" in $(0000O000OO)
  1510. set O0O0000O0O = $(OO0OO00OOO)
  1511. set OOO0000O0O = 0O0OO0O0OO
  1512. endif
  1513. else-ifstr(i) $($) == $(00000O0OOO)
  1514. ifcontains(i) "Tcpip" in $(0000O000OO)
  1515. set O0O0000O0O = $(0O0OO00OOO)
  1516. set OOO0000O0O = 0O0OO0O0OO
  1517. endif
  1518. else-ifstr(i) $($) == $(OOOOO00OOO)
  1519. ifcontains(i) "NwlnkIpx" in $(0000O000OO)
  1520. set O0O0000O0O = $(O00OO00OOO)
  1521. set OOO0000O0O = 0O0OO0O0OO
  1522. endif
  1523. endif
  1524. set 0O0O000O0O = $(0O0O000O0O)$(O0O0000O0O)
  1525. else
  1526. set 0O0O000O0O = $(0O0O000O0O)$($)
  1527. endif
  1528. endif
  1529. EndForListDo 
  1530. ifstr $(OOO0000O0O) == 0O0OO0O0OO
  1531. ifstr $(0OO0000O0O) == O00OO0O0OO
  1532. set O0O0O00O0O = >($(O0O0O00O0O), $(0O0O000O0O))
  1533. endif
  1534. endif
  1535. EndForListDo 
  1536. endif
  1537. CloseRegKey $(O00OOOOO0O)
  1538. endif
  1539. CloseRegKey $(O000O00O0O)
  1540. endif
  1541. OOOO000O0O = +
  1542. EndForListDo 
  1543. EndForListDo 
  1544. CloseRegKey $(00O0O00O0O)
  1545. endif
  1546. return $(O0O0O00O0O)
  1547. [0000OO00OO]
  1548. read-syms 0OO00OO0OO
  1549. read-syms OO0OOO0OOO
  1550. OpenRegKey $(!REG_H_LOCAL) "" $(0O0O0OO0OO) $(000OO0O0OO) 00O0000O0O
  1551. ifint $(RegLastError) != 0
  1552. return STATUS_FAILED
  1553. endif
  1554. GetRegValue $(00O0000O0O) CurrentVersion OO00000O0O
  1555. ifint $(RegLastError) != 0
  1556. CloseRegKey $(00O0000O0O)
  1557. return STATUS_FAILED
  1558. endif
  1559. GetRegValue $(00O0000O0O) CSDVersion 0O00000O0O
  1560. ifint $(RegLastError) != 0
  1561. CloseRegKey $(00O0000O0O)
  1562. return STATUS_FAILED
  1563. endif
  1564. CloseRegKey $(00O0000O0O)
  1565. Split-String *($(0O00000O0O),4) " ," O000000O0O
  1566. return STATUS_SUCCESS *($(OO00000O0O),4) *($(O000000O0O),5)
  1567. [0000000O0O]
  1568. read-syms 0OO00OO0OO
  1569. read-syms OO0OOO0OOO
  1570. OpenRegKey $(!REG_H_LOCAL) "" $($0) $(000OO0O0OO) OOOOOOO00O
  1571. ifstr(i) $(OOOOOOO00O) == $(OOO0O0O0OO)
  1572. return STATUS_FAILED
  1573. endif
  1574. GetRegValue $(OOOOOOO00O) "Bind" 0OOOOO0O0O
  1575. ifint $(RegLastError) != 0
  1576. CloseRegKey $(OOOOOOO00O)
  1577. return STATUS_FAILED
  1578. endif
  1579. OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
  1580. ifstr(i) $(0OOOOOOO0O) == $(OOO0O0O0OO)
  1581. CloseRegKey $(OOOOOOO00O)
  1582. return STATUS_FAILED
  1583. endif
  1584. EnumRegKey $(0OOOOOOO0O) OOOOOOOO0O
  1585. ifint $(RegLastError) != 0
  1586. CloseRegKey $(OOOOOOO00O)
  1587. return STATUS_FAILED
  1588. endif
  1589. set 0OOOOOO00O = {}
  1590. set O0OOOOO00O = $($1)
  1591. set 00OOOOO00O = {}
  1592. set OO0OOOO00O = \042\042\042\042\042\042\042\042
  1593. set O0OO0000OO = *($(0OOOOO0O0O),4)
  1594. ForListDo $(O0OO0000OO)
  1595. Split-String $($) "\" O0OOOO0O0O
  1596. set 00OOOO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),4)"\Parameters"
  1597. OpenRegKey $(!REG_H_LOCAL) "" $(00OOOO0O0O) $(000OO0O0OO) OO0OOO0O0O
  1598. ifstr $(OO0OOO0O0O) == $(OOO0O0O0OO)                        
  1599. else
  1600. GetRegValue $(OO0OOO0O0O) "SystemAdapter" 0OO0O0OO0O
  1601. ifint $(RegLastError) != 0
  1602. else
  1603. set 0O0OOOO00O = *($(0OO0O0OO0O),4)
  1604. set 0OOOOOO00O = >($(0OOOOOO00O),$(0O0OOOO00O))
  1605. Split-String $(0O0OOOO00O) "\" O00OOOO00O
  1606. set 000OOOO00O = *($(O00OOOO00O),4)
  1607. set OOO0OOO00O = $(OOO0O0O0OO)
  1608. ifstr(i) $($1) == "{}"
  1609. QueryListSize 0OO0OOO00O $(O00OOOO00O)
  1610. set O0O0OOO00O = $(OOO0O0O0OO)
  1611. ForListDo $(O00OOOO00O)
  1612. ifint $(#) == $(0OO0OOO00O)
  1613. set O0O0OOO00O = $(O0O0OOO00O)$($2)
  1614. endif
  1615. set O0O0OOO00O = $(O0O0OOO00O)$($)
  1616. EndForListDo
  1617. set O0OOOOO00O = >($(O0OOOOO00O),$(O0O0OOO00O))
  1618. endif
  1619. ForListDo $(OOOOOOOO0O)
  1620. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 00O0OOO00O
  1621. ifstr(i) $(00O0OOO00O) != $(OOO0O0O0OO)
  1622. GetRegValue $(00O0OOO00O) "ServiceName" OO00OOO00O
  1623. ifint $(RegLastError) == 0
  1624. ifstr $(000OOOO00O) == *($(OO00OOO00O),4)
  1625. GetRegValue $(00O0OOO00O) "SoftwareName" OOO0OOO00O
  1626. ifint $(RegLastError) == 0
  1627. set OO00O000OO = $(!NTN_ServiceBase)"\"*($(OOO0OOO00O),4)
  1628. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0O0OO0O0O
  1629. ifstr(i) $(O0O0OO0O0O) == $(OOO0O0O0OO)
  1630. set OOO0OOO00O = $(OOO0O0O0OO)
  1631. else
  1632. CloseRegKey $(O0O0OO0O0O)
  1633. endif
  1634. endif
  1635. endif
  1636. endif
  1637. CloseRegKey $(00O0OOO00O)
  1638. endif
  1639. EndForListDo
  1640. ifstr $(OOO0OOO00O) == $(OOO0O0O0OO)
  1641. set 0O00OOO00O = $(OO0OOOO00O)$(000OOOO00O)$(OO0OOOO00O)
  1642. else
  1643. set 0O00OOO00O = $(OO0OOOO00O)*($(OOO0OOO00O),4)$(OO0OOOO00O)" "$(OO0OOOO00O)$(000OOOO00O)$(OO0OOOO00O)
  1644. endif
  1645. set 00OOOOO00O = >($(00OOOOO00O),$(0O00OOO00O))
  1646. endif
  1647. CloseRegKey $(OO0OOO0O0O)
  1648. endif
  1649. EndForListDo
  1650. set-subst O0000O00OO = {{Bind,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(0OOOOOO00O)},+
  1651. {Export,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0OOOOO00O)},+
  1652. {Route,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(00OOOOO00O)}}
  1653. Shell $(O0O00OO0OO) AddValueList $(OOOOOOO00O) $(O0000O00OO)
  1654. CloseRegKey $(0OOOOOOO0O)
  1655. CloseRegKey $(OOOOOOO00O)
  1656. return STATUS_SUCCESS
  1657. [0OO0OO0O0O]
  1658. read-syms 0OO00OO0OO
  1659. read-syms OO0OOO0OOO
  1660. OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) O000OOO00O
  1661. ifstr $(O000OOO00O) != $(OOO0O0O0OO)
  1662. GetRegValue $(O000OOO00O) "Bind" 0OOOOO0O0O
  1663. QueryListSize 0000OOO00O *($(0OOOOO0O0O),4)
  1664. ifint $(RegLastError) == 0
  1665. ForListDo *($(0OOOOO0O0O),4)
  1666. Split-String $($) "\" O0OOOO0O0O
  1667. QueryListSize OOOO0OO00O $(O0OOOO0O0O)
  1668. set 00O0OO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),$(OOOO0OO00O))"\Parameters"
  1669. OpenRegKey $(!REG_H_LOCAL) "" $(00O0OO0O0O) $(000OO0O0OO) 0OOO0OO00O
  1670. ifstr $(0OOO0OO00O) != $(OOO0O0O0OO)
  1671. GetRegValue $(0OOO0OO00O) "SystemAdapter" 0O00OO0O0O
  1672. ifint $(RegLastError) == 0
  1673. set O000OO0O0O = *($(0O00OO0O0O),4)
  1674. Split-String $(O000OO0O0O) "\" 0000OO0O0O
  1675. QueryListSize OOOO0O0O0O $(0000OO0O0O)
  1676. set 0OOO0O0O0O = $(!NTN_ServiceBase)"\"*($(0000OO0O0O),$(OOOO0O0O0O))"\Parameters\Tcpip"
  1677. set O0OO0OO00O = 0
  1678. OpenRegKey $(!REG_H_LOCAL) "" $(0OOO0O0O0O) $(000OO0O0OO) O0OO0O0O0O
  1679. ifstr $(O0OO0O0O0O) == $(OOO0O0O0OO)
  1680. CreateRegKey $(!REG_H_LOCAL) {$(0OOO0O0O0O),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0OO0O0O0O
  1681. set O0OO0OO00O = 1
  1682. endif
  1683. ifstr $(O0OO0O0O0O) != $(OOO0O0O0OO)
  1684. SetRegValue $(O0OO0O0O0O) {IpInterfaceContext,$(OO00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
  1685. SetRegValue $(O0OO0O0O0O) {IpInterfaceContextMax,$(OO00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
  1686. OpenRegKey $(0OOO0OO00O) "" "Tcpip" $(000OO0O0OO) OO00OO0O0O
  1687. ifstr $(OO00OO0O0O) != $(OOO0O0O0OO)
  1688. ifint $(O0OO0OO00O) == 1
  1689. Shell "", OOOOO0OO0O, $(OO00OO0O0O), $(O0OO0O0O0O)
  1690. endif
  1691. SetRegValue $(OO00OO0O0O) {IpInterfaceContext,$(OO00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
  1692. SetRegValue $(OO00OO0O0O) {IpInterfaceContextMax,$(OO00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
  1693. CloseRegKey $(OO00OO0O0O)
  1694. endif
  1695. CloseRegKey $(O0OO0O0O0O)
  1696. endif
  1697. endif
  1698. CloseRegKey $(0OOO0OO00O)
  1699. endif
  1700. set-sub 0000OOO00O = $(0000OOO00O),1
  1701. EndForListDo
  1702. endif
  1703. CloseRegKey $(O000OOO00O)
  1704. endif
  1705. return
  1706. [O000O000OO]
  1707. return {Tcpip,NdisWan,NetBT}
  1708. [0000O0OO0O]
  1709. read-syms 0OO00OO0OO
  1710. read-syms OO0OOO0OOO
  1711. Shell "" OOOO00OO0O
  1712. ForListDo $($R0)
  1713. Shell "" 00OO0OO00O $($)
  1714. ifint $($R0) != 0
  1715. set OO0O0OO00O = $($R0)
  1716. set OO00O000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
  1717. OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 000OO0OO0O
  1718. ifstr $(000OO0OO0O) == $(OOO0O0O0OO)
  1719. else
  1720. GetRegValue $(000OO0OO0O) "SystemAdapter" 0O00OO0O0O
  1721. ifint $(RegLastError) != 0
  1722. else
  1723. set O000OO0O0O = *($(0O00OO0O0O),4)
  1724. Split-String $(O000OO0O0O) "\" 0000OO0O0O
  1725. QueryListSize OOOO0O0O0O $(0000OO0O0O)
  1726. set 0O0O0OO00O = *($(0000OO0O0O),$(OOOO0O0O0O))
  1727. Shell "" 00OO0OO00O $(0O0O0OO00O)
  1728. ifint $($R0) != 0
  1729. set O00O0OO00O = $($R0)
  1730. Shell "" 000O0OO00O $(O00O0OO00O) $(OO0O0OO00O)
  1731. set OOO00OO00O = $($R0)
  1732. Shell "" 0OO00OO00O $(OOO00OO00O) $(O00O0OO00O)
  1733. ifstr $($R0) == 0O0OO0O0OO
  1734. ifint $(OOO00OO00O) != $(OO0O0OO00O)
  1735. Shell "" O0O00OO00O $(O00O0OO00O) $(OOO00OO00O) 0 0
  1736. Shell "" O0O00OO00O $(OO0O0OO00O) $(O00O0OO00O) $(O00O0OO00O) $(OOO00OO00O)
  1737. DeleteRegTree $(!REG_H_LOCAL) $(O00O0OO0OO)"\"$(OO0O0OO00O)
  1738. DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$(OO0O0OO00O)
  1739. else
  1740. Shell "" O0O00OO00O $(O00O0OO00O) 0 0 0
  1741. Shell "" O0O00OO00O $(OO0O0OO00O) $(O00O0OO00O) $(O00O0OO00O) $(OOO00OO00O)
  1742. Shell "" O0O00OO00O 0 $(OOO00OO00O) 0 0
  1743. DeleteRegTree $(!REG_H_LOCAL) $(O00O0OO0OO)"\0"
  1744. DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan0"
  1745. endif
  1746. endif
  1747. endif
  1748. endif
  1749. CloseRegKey $(000OO0OO0O)
  1750. endif
  1751. endif
  1752. EndForListDo
  1753. return
  1754. [O0O00OO00O]
  1755. read-syms 0OO00OO0OO
  1756. read-syms OO0OOO0OOO
  1757. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\NdisWan"$($0) $(000OO0O0OO) 00O00OO00O
  1758. ifstr $(00O00OO00O) != $(OOO0O0O0OO)
  1759. DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$($1)
  1760. CreateRegKey $(!REG_H_LOCAL) {$(!NTN_ServiceBase)"\NdisWan"$($1),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" OO000OO00O
  1761. ifstr $(OO000OO00O) != $(OOO0O0O0OO)
  1762. OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO)"\"$($0) $(000OO0O0OO) 0O000OO00O
  1763. ifstr $(0O000OO00O) != $(OOO0O0O0OO)
  1764. DeleteRegTree $(!REG_H_LOCAL) $(O00O0OO0OO)"\"$($1)
  1765. CreateRegKey $(!REG_H_LOCAL) {$(O00O0OO0OO)"\"$($1),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0000OO00O
  1766. ifstr $(O0000OO00O) != $(OOO0O0O0OO)
  1767. Shell "" OOOOO0OO0O $(00O00OO00O) $(OO000OO00O)
  1768. OpenRegKey $(OO000OO00O) "" "Linkage" $(000OO0O0OO) 00OO00OO0O
  1769. ifstr $(00OO00OO0O) == $(OOO0O0O0OO)
  1770. CreateRegKey $(OO000OO00O) {"Linkage",$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 00OO00OO0O
  1771. ifstr $(00OO00OO0O) != $(OOO0O0O0OO)
  1772. CreateRegKey $(OO000OO00O) {"Disabled",$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 00000OO00O
  1773. ifstr $(00000OO00O) != $(OOO0O0O0OO)
  1774. CloseRegKey $(00000OO00O)
  1775. endif
  1776. endif
  1777. endif
  1778. ifstr $(00OO00OO0O) != $(OOO0O0O0OO)
  1779. set OO0OOOO00O = \042\042\042\042\042\042\042\042
  1780. set-subst O0000O00OO = {{Bind,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
  1781. {Export,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
  1782. {Route,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),{$(OO0OOOO00O)"NdisWan"$($1)$(OO0OOOO00O)}}}
  1783. Shell $(O0O00OO0OO) AddValueList $(00OO00OO0O) $(O0000O00OO)
  1784. CloseRegKey $(00OO00OO0O)
  1785. endif
  1786. OpenRegKey $(OO000OO00O) "" "Parameters" $(000OO0O0OO) 000OO0OO0O
  1787. ifstr $(000OO0OO0O) != $(OOO0O0O0OO)
  1788. ifint $($2) == 0
  1789. DeleteRegTree $(000OO0OO0O) DNESignature
  1790. DeleteRegValue $(000OO0OO0O) "SourceParameters"
  1791. else
  1792. set O0000O00OO = {{InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD),$($2)},+
  1793. {SystemAdapter,$(OO00O0O0OO),$(!REG_VT_SZ),"\Device\NdisWan"$($3)}}
  1794. Shell $(O0O00OO0OO) AddValueList $(000OO0OO0O) $(O0000O00OO)
  1795. GetRegValue $(000OO0OO0O) "SourceParameters" OOOOO0O00O
  1796. ifint $(RegLastError) == 0
  1797. set OO00O000OO = $(!NTN_ServiceBase)"\NdisWan"$($3)"\Parameters"
  1798. SetRegValue $(000OO0OO0O) {SourceParameters,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00O000OO)}
  1799. endif 
  1800. OpenRegKey $(000OO0OO0O) "" $(00O0OO0OOO) $(000OO0O0OO) 0OOOO0O00O
  1801. ifstr $(0OOOO0O00O) != $(OOO0O0O0OO)
  1802. set O0000O00OO = {{AdapterNumber,$(OO00O0O0OO),$(!REG_VT_SZ),$($2)},+
  1803. {Device,$(OO00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($3)},+
  1804. {InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD),$($2)}}
  1805. Shell $(O0O00OO0OO) AddValueList $(0OOOO0O00O) $(O0000O00OO)
  1806. CloseRegKey $(0OOOO0O00O)
  1807. endif
  1808. endif
  1809. CloseRegKey $(000OO0OO0O)
  1810. endif
  1811. Shell "" OOOOO0OO0O $(0O000OO00O) $(O0000OO00O)
  1812. SetRegValue $(O0000OO00O) {ServiceName,$(OO00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($1)}
  1813. GetRegValue $(O0000OO00O) "Title" O0OO0OOO0O
  1814. ifint $(RegLastError) == 0
  1815. Split-String *($(O0OO0OOO0O),4) "[]" O0OOO0O00O
  1816. set 00OOO0O00O = 0
  1817. set OO0OO0O00O = $(OOO0O0O0OO)
  1818. ForListDo $(O0OOO0O00O)
  1819. ifstr $($) == "["
  1820. set OO0OO0O00O = $(OO0OO0O00O)$($)
  1821. set-add 00OOO0O00O = $(00OOO0O00O),1
  1822. else-ifint $(00OOO0O00O) == 1
  1823. set OO0OO0O00O = $(OO0OO0O00O)$($1)
  1824. set-add 00OOO0O00O = $(00OOO0O00O),1
  1825. else-ifint $(00OOO0O00O) == 3
  1826. set OO0OO0O00O = $(OO0OO0O00O)$($3)
  1827. set-add 00OOO0O00O = $(00OOO0O00O),1
  1828. else
  1829. set OO0OO0O00O = $(OO0OO0O00O)$($)
  1830. endif
  1831. EndForListDo
  1832. SetRegValue $(O0000OO00O) {Title,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO0OO0O00O)}
  1833. endif
  1834. OpenRegKey $(O0000OO00O) "" "NetRules" $(000OO0O0OO) 0O0OO0O00O
  1835. ifstr $(0O0OO0O00O) != $(OOO0O0O0OO)
  1836. set OO0OOOO00O = \042\042
  1837. set-subst O00OO0O00O = {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO0OOOO00O)NdisWan$($1)$(OO0OOOO00O)" yes yes container"}
  1838. SetRegValue $(0O0OO0O00O) $(O00OO0O00O)
  1839. CloseRegKey $(0O0OO0O00O)
  1840. endif
  1841. CloseRegKey $(O0000OO00O)
  1842. endif
  1843. CloseRegKey $(0O000OO00O)
  1844. endif
  1845. CloseRegKey $(OO000OO00O)
  1846. endif
  1847. CloseRegKey $(00O00OO00O)
  1848. endif
  1849. return
  1850. [000O0OO00O]
  1851. read-syms 0OO00OO0OO
  1852. read-syms OO0OOO0OOO
  1853. Shell "" 0OO00OO00O $($1) $($0)
  1854. ifstr $($R0) == 0O0OO0O0OO
  1855. set 000OO0O00O = $($1)
  1856. else
  1857. set 000OO0O00O = $($0)
  1858. endif
  1859. set OOO0O0O00O = 0
  1860. set 0OO0O0O00O = 0
  1861. OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
  1862. ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
  1863. OpenRegKey $(0OOOOOOO0O) "" $($0) $(000OO0O0OO) O0O0O0O00O
  1864. ifint $(RegLastError) == 0
  1865. GetRegValue $(O0O0O0O00O) "ProductName" OO0OOOOO0O
  1866. ifint $(RegLastError) == 0
  1867. set OOO0OOO00O = *($(OO0OOOOO0O),4)
  1868. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  1869. ifint $(RegLastError) == 0
  1870. ForListDo $(OOOO0OOO0O)
  1871. ifint $(0OO0O0O00O) < *($($),1)
  1872. set 0OO0O0O00O = *($($),1)
  1873. endif
  1874. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
  1875. ifstr(i) $(0OOO0OOO0O) == $(OOO0O0O0OO)
  1876. else
  1877. GetRegValue $(0OOO0OOO0O) "ProductName" OO0OOOOO0O
  1878. ifint $(RegLastError) != 0
  1879. else
  1880. ifstr *($(OO0OOOOO0O),4) == $(OOO0OOO00O)
  1881. GetRegValue $(0OOO0OOO0O) "SoftwareName" 00O0O0O00O
  1882. ifint $(RegLastError) != 0
  1883. else
  1884. Shell "" 0OO00OO00O *($($),1) $(OOO0O0O00O)
  1885. ifstr $($R0) == 0O0OO0O0OO
  1886. set OOO0O0O00O = *($($),1)
  1887. endif
  1888. endif
  1889. endif
  1890. endif
  1891. CloseRegKey $(0OOO0OOO0O)
  1892. endif
  1893. EndForListDo
  1894. endif
  1895. endif
  1896. CloseRegKey $(O0O0O0O00O)
  1897. endif
  1898. CloseRegKey $(0OOOOOOO0O)
  1899. endif
  1900. OO00O0O00O = +
  1901. Shell "" 0OO00OO00O $(OOO0O0O00O) $(000OO0O00O)
  1902. ifstr $($R0) == 0O0OO0O0OO
  1903. ifint $(000OO0O00O) < $(0OO0O0O00O)
  1904. set-add 000OO0O00O = $(0OO0O0O00O),1
  1905. else
  1906. set-add 000OO0O00O = $(000OO0O00O),1
  1907. endif
  1908. goto OO00O0O00O
  1909. endif
  1910. return $(000OO0O00O) $(OOO0O0O00O) $(0OO0O0O00O)
  1911. [00OO0OO00O]
  1912. read-syms 0OO00OO0OO
  1913. read-syms OO0OOO0OOO
  1914. Split-String $($0) "0123456789" 0O00O0O00O
  1915. set O000O0O00O = 0
  1916. ifstr(i) *($(0O00O0O00O),1) == "NdisWan"
  1917. ForListDo $(0O00O0O00O) 
  1918. ifint $(#) > 1
  1919. set-mul O000O0O00O = $(O000O0O00O),10
  1920. set-add O000O0O00O = $(O000O0O00O),$($)
  1921. endif
  1922. EndForListDo
  1923. endif
  1924. return $(O000O0O00O)
  1925. [0OO00OO00O]
  1926. Split-String $($0) $($0) 0000O0O00O
  1927. QueryListSize OOOO00O00O $(0000O0O00O)
  1928. Split-String $($1) $($1) 0OOO00O00O
  1929. QueryListSize O0OO00O00O $(0OOO00O00O)
  1930. ifint *($(0000O0O00O),1) == *($(0OOO00O00O),1)
  1931. ifint $(OOOO00O00O) > $(O0OO00O00O)
  1932. set 00OO00O00O = 0O0OO0O0OO
  1933. else-ifint $(OOOO00O00O) < $(O0OO00O00O)
  1934. set 00OO00O00O = O00OO0O0OO
  1935. else
  1936. ifint *($(0000O0O00O),2) > *($(0OOO00O00O),2)
  1937. set 00OO00O00O = 0O0OO0O0OO
  1938. else
  1939. set 00OO00O00O = O00OO0O0OO
  1940. endif
  1941. endif
  1942. else-ifint *($(0000O0O00O),1) > *($(0OOO00O00O),1)
  1943. set 00OO00O00O = 0O0OO0O0OO
  1944. else
  1945. set 00OO00O00O = O00OO0O0OO
  1946. endif
  1947. return $(00OO00O00O)
  1948. [OO0O00OO0O]
  1949. set OO0O00O00O = $($0)
  1950. set 00OO00OO0O = $($1)
  1951. set 0OOO00OO0O = $($2)
  1952. set O0OO00OO0O = $($3)
  1953. set 0O0O00O00O = $($4)
  1954. read-syms 0OO00OO0OO
  1955. read-syms OO0OOO0OOO
  1956. GetRegValue $(00OO00OO0O) "Bind"   0OOOOO0O0O
  1957. GetRegValue $(00OO00OO0O) "Export" O00O00O00O
  1958. GetRegValue $(00OO00OO0O) "Route"  000O00O00O
  1959. set 0O0O0000OO = 0
  1960. QueryListSize 0O0O0000OO $(0OOOOO0O0O)
  1961. ifint $(0O0O0000OO) != 4
  1962. goto OOO000O00O
  1963. endif
  1964. set 0O0O0000OO = 0
  1965. QueryListSize 0O0O0000OO *($(0OOOOO0O0O),4)
  1966. ifint $(0O0O0000OO) < 1
  1967. goto OOO000O00O
  1968. endif
  1969. set 0OO000O00O = {}
  1970. set O0O000O00O = {}
  1971. set 00O000O00O = {}    
  1972. set OO0000O00O = $(O00OO0O0OO)
  1973. ForListDo *($(0OOOOO0O0O),4)
  1974. Split-String $($) "\" O0OOOO0O0O
  1975. QueryListSize 0O0000O00O $(O0OOOO0O0O)
  1976. set O00000O00O = *($(O0OOOO0O0O),$(0O0000O00O))
  1977. ifcontains(i) $(O00000O00O) in $(0OOO00OO0O)
  1978. set OO0000O00O = $(0O0OO0O0OO)
  1979. endif
  1980. EndForListDo
  1981. ifint $(0O0O00O00O) == $(0O0OO0O0OO)
  1982. ifint $(OO0000O00O) == $(O00OO0O0OO)
  1983. goto OOO000O00O
  1984. endif
  1985. endif
  1986. ForListDo *($(0OOOOO0O0O),4)
  1987. Split-String $($) "\" O0OOOO0O0O
  1988. QueryListSize 0O0000O00O $(O0OOOO0O0O)
  1989. set O00000O00O = *($(O0OOOO0O0O),$(0O0000O00O))
  1990. ifint $(0O0O00O00O) == $(0O0OO0O0OO)
  1991. ifcontains(i) $(O00000O00O) in $(0OOO00OO0O)
  1992. set 0OO000O00O = >($(0OO000O00O), $($))
  1993. set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
  1994. set 00O000O00O = >($(00O000O00O), *(*($(000O00O00O),4),$(#)))
  1995. else
  1996. ifcontains(i) $(O00000O00O) not-in $(O0OO00OO0O)
  1997. endif
  1998. endif
  1999. else
  2000. ifcontains(i) $(O00000O00O) not-in $(0OOO00OO0O)
  2001. set 0OO000O00O = >($(0OO000O00O), $($))
  2002. set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
  2003. set 00O000O00O = >($(00O000O00O), *(*($(000O00O00O),4),$(#)))
  2004. endif
  2005. endif
  2006. EndForListDo
  2007. set 000000O00O =   {*($(0OOOOO0O0O),1),+
  2008. *($(0OOOOO0O0O),2),+
  2009. *($(0OOOOO0O0O),3),+
  2010. $(0OO000O00O)}
  2011. set OOOOOO000O = {*($(O00O00O00O),1), +
  2012. *($(O00O00O00O),2), +
  2013. *($(O00O00O00O),3), +
  2014. $(O0O000O00O)}
  2015. set 0OOOOO000O =  {*($(000O00O00O),1), +
  2016. *($(000O00O00O),2), +
  2017. *($(000O00O00O),3), +
  2018. $(00O000O00O)}
  2019. SetRegValue $(00OO00OO0O) $(000000O00O)
  2020. SetRegValue $(00OO00OO0O) $(OOOOOO000O)
  2021. SetRegValue $(00OO00OO0O) $(0OOOOO000O)
  2022. OOO000O00O = +
  2023. return $(0O0OO0O0OO)
  2024. [Install-Option]
  2025. set STF_VITAL = ""
  2026. ifstr(i) $(0O0000O0OO) == "YES"
  2027. AddSectionFilesToCopyList O0OOOO000O-$(00O000O0OO) $(OO0000O0OO) $(!STF_WINDOWSSYSPATH)\drivers
  2028. endif
  2029. ifstr(i) $(O00000O0OO) == "YES"
  2030. set !STF_NCP_FLUSH_COPYLIST = TRUE
  2031. CopyFilesInCopyList
  2032. endif
  2033. ifstr(i) $(000000O0OO) == "YES"
  2034. endif
  2035. exit
  2036. [Source Media Descriptions]
  2037. 1 = "DNE Disk", TAGFILE = dne.sys
  2038. [O0OOOO000O-DNE]
  2039. 1, dne.sys, OVERWRITE=ALWAYS
  2040. [O0OOOO000O-Inf]
  2041. 1, oemsetnt.inf, OVERWRITE=ALWAYS, RENAME=$(!UG_Filename)
  2042. [OOOOOO00OOENG]
  2043. Help = "&Help"
  2044. Exit = "Cancel"
  2045. OK = "OK"
  2046. HelpContext = ""
  2047. Continue = "Continue"
  2048. Cancel = "Cancel"
  2049. [OO0OOO0OOOENG]
  2050. 0OOOOO00OO = "Deterministic Network Enhancer Setup"
  2051. 00OOOO000O = "Deterministic Network Enhancer"
  2052. OO0OOO000O = "The Deterministic Networks Network Enhancer."
  2053. OOOOO000OO = "Deterministic Network Enhancer"
  2054. 000O0O00OO = "Deterministic Network Enhancer"
  2055. 00000O00OO = "Deterministic Network Enhancer"
  2056. O0OOO000OO = "Deterministic Network Enhancer Transport"
  2057. 0OOOO000OO = "Deterministic Network Enhancer Transport"
  2058. 00O0OO00OO = "Deterministic Network Enhancer Transport"
  2059. O00OO000OO = "Deterministic Network Enhancer Adapter Shim"
  2060. OO0OO000OO = "Deterministic Network Enhancer Adapter Shim"
  2061. 0O0OO000OO = "Deterministic Network Enhancer Adapter Shim"
  2062. 000O0OOO0O = "DNE"
  2063. OOO00OOO0O = "Deterministic Network Enhancer Virtual Adapter"
  2064. 0O0OOO000O = "Deterministic Network Enhancer Virtual Adapter"
  2065. O00OOO000O = "Error: "$(0OOOOO00OO)
  2066. 000OOO000O = "Shell Code Error."
  2067. OO00OO00OO = "is already installed."
  2068. O0OO0O00OO = "requires NT 4.0 and Service Pack 3."
  2069. [00OO0O00OOENG]
  2070. OO0O0O00OO = "Installing the Deterministic Network Enhancer"
  2071. [0OO000O0OOENG]
  2072. DNE = "Deterministic Network Enhancer"
  2073.