home *** CD-ROM | disk | FTP | other *** search
INI File | 2001-12-10 | 64.3 KB | 2,073 lines |
- [Identification]
- OptionType = NetService
- [Version]
- DriverVer=12/07/2001,2.11.7.3
- [O0OOOO0OOO]
- ENG
- [00OOOO0OOO]
- DNE
- [OO0OOO0OOO]
- 0O0OOO0OOO = "DeterministicNetworks"
- O00OOO0OOO="2"
- 000OOO0OOO="11"
- OOO0OO0OOO = $(O00OOO0OOO)"."$(000OOO0OOO)
- 0OO0OO0OOO = "oemnsvdn.inf"
- O0O0OO0OOO = "NdisWedge"
- 00O0OO0OOO = "NdisWedgeTransport"
- OO00OO0OOO = "NdisWedgeMac"
- 0O00OO0OOO = "NdisLan"
- O000OO0OOO = "NdisWan"
- 0000OO0OOO = "dne.sys"
- OOOO0O0OOO = "\SystemRoot\System32\drivers\"$(0000OO0OOO)
- 0OOO0O0OOO = "transport"
- O0OO0O0OOO = "kernel"
- 00OO0O0OOO = "NDISWAN"
- OO0O0O0OOO = "driver"
- 0O0O0O0OOO = "kernelautostart"
- O00O0O0OOO = "NDISWAN"
- 000O0O0OOO = "service"
- OOO00O0OOO = "kernel"
- 0OO00O0OOO = "NDISWAN"
- O0O00O0OOO = "132"
- 00O00O0OOO = ndisDriver
- OO000O0OOO = ndisWanAdapterDialIn
- 0O000O0OOO = ndisWanAdapterDialOut
- O0000O0OOO = ndisWanAdapterDialInIP
- 00000O0OOO = ndisWanAdapterDialOutIP
- OOOOO00OOO = ndisWanAdapterDialInOutIPX
- 0OOOO00OOO = ndisWedgeAdapter
- O0OOO00OOO = dialInWedgeAdapter
- 00OOO00OOO = dialOutWedgeAdapter
- OO0OO00OOO = dialInIPWedgeAdapter
- 0O0OO00OOO = dialOutIPWedgeAdapter
- O00OO00OOO = dialInOutIPXWedgeAdapter
- 000OO00OOO = NdisWanDialin
- OOO0O00OOO = NdisWanDialout
- 0OO0O00OOO = NdisWanDialinIp
- O0O0O00OOO = NdisWanDialoutIp
- 00O0O00OOO = NdisWanDialinoutIpx
- OO00O00OOO = "ndisWedgeTransport ndisWedgeTransport"
- 0O00O00OOO = """NdisWedgeTransport"" yes yes container"
- O000O00OOO = {"ndisWedgeTransport basic"}
- 0000O00OOO = $(0OOO0O0OOO)" no no"
- OOOO000OOO = "NdisWedgeMac ndisWedgeMac ndisWedgeDriver"
- 0OOO000OOO = """NdisWedgeMac"" yes no container"
- O0OO000OOO = {"ndisWedgeDriver basic","ndisWedgeMac basic"}
- 00OO000OOO = $(OO0O0O0OOO)" no no"
- OO0O000OOO = {"ndisWedgeDriver "$(O0OOO00OOO)" non non 100",+
- "ndisWedgeDriver "$(00OOO00OOO)" non non 100",+
- "ndisWedgeDriver "$(OO0OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(0O0OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(O00OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(0OOOO00OOO)" non non 100",+
- "ndisWedgeTransport "$(00O00O0OOO)" non non 100"}
- 0O0O000OOO = "NdisWedgeAdapter "$(0OOOO00OOO)
- O00O000OOO = " yes yes container"
- 000O000OOO = {$(0OOOO00OOO)" basic"}
- OOO0000OOO = "DialInWedgeAdapter "$(O0OOO00OOO)
- 0OO0000OOO = " yes yes container"
- O0O0000OOO = {$(O0OOO00OOO)" basic"}
- 00O0000OOO = "DialOutWedgeAdapter "$(00OOO00OOO)
- OO00000OOO = " yes yes container"
- 0O00000OOO = {$(00OOO00OOO)" basic"}
- O000000OOO = "DialInIPWedgeAdapter "$(OO0OO00OOO)
- 0000000OOO = " yes yes container"
- OOOOOOO0OO = {$(OO0OO00OOO)" basic"}
- 0OOOOOO0OO = "DialOutIPWedgeAdapter "$(0O0OO00OOO)
- O0OOOOO0OO = " yes yes container"
- 00OOOOO0OO = {$(0O0OO00OOO)" basic"}
- OO0OOOO0OO = "DialInOutIPXWedgeAdapter "$(O00OO00OOO)
- 0O0OOOO0OO = " yes yes container"
- O00OOOO0OO = {$(O00OO00OOO)" basic"}
- 000OOOO0OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(O0O0OO0OOO)"\CurrentVersion"
- OOO0OOO0OO = $(!NTN_ServiceBase)"\"$(O0O0OO0OOO)"\Parameters"
- 0OO0OOO0OO = $(!NTN_ServiceBase)"\"$(O0O0OO0OOO)
- O0O0OOO0OO = $(!NTN_ServiceBase)"\"$(O0O0OO0OOO)"\Linkage"
- 00O0OOO0OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(00O0OO0OOO)"\CurrentVersion"
- OO00OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Parameters"
- 0O00OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)
- O000OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Linkage"
- 0000OOO0OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(OO00OO0OOO)"\CurrentVersion"
- OOOO0OO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Parameters"
- 0OOO0OO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)
- O0OO0OO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Linkage"
- 00OO0OO0OO = $(!NTN_ServiceBase)"\NetBT\Adapters"
- OO0O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Ncpa\CurrentVersion"
- 0O0O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion"
- O00O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards"
- 000O0OO0OO = "SYSTEM\CurrentControlSet\Control\ServiceGroupOrder"
- OOO00OO0OO = {"AutoIPAddress","ServerAdapter","EnumExportPref"}
- [0OO00OO0OO]
- O0O00OO0OO = "UTILITY.INF"
- 00O00OO0OO = "SUBROUTN.INF"
- OO000OO0OO = $(!STF_WINDOWSSYSPATH)\netevent.dll
- 0O000OO0OO = NO_ERROR
- O0000OO0OO = ""
- 00000OO0OO = ""
- OOOOO0O0OO = """"
- 0OOOO0O0OO = " "
- O0OOO0O0OO = 0
- 00OOO0O0OO = 1
- OO0OO0O0OO = 2
- 0O0OO0O0OO = 1
- O00OO0O0OO = 0
- 000OO0O0OO = 33554432
- OOO0O0O0OO = ""
- 0OO0O0O0OO = ""
- O0O0O0O0OO = ""
- 00O0O0O0OO = "Active"
- OO00O0O0OO = 0
- 0O00O0O0OO = $(!STF_NTPATH)\drivers
- [O000O0O0OO]
- 0000O0O0OO = {} ? $(!LIBHANDLE) GetSystemDate
- [OOOO00O0OO]
- STF_PLATFORM = "" ? $(!LIBHANDLE) GetPlatform
- [Identify]
- set !G:DebugOutputControl = 1
- Read-Syms Identification
- set 0OOO00O0OO = STATUS_SUCCESSFUL
- set O0OO00O0OO = $(OptionType)
- set 00OO00O0OO = #("Source Media Descriptions", 1, 1)
- Return $(0OOO00O0OO) $(O0OO00O0OO) $(00OO00O0OO)
- [ReturnOptions]
- set !G:DebugOutputControl = 1
- set 0OOO00O0OO = STATUS_FAILED
- set OO0O00O0OO = {}
- set 0O0O00O0OO = {}
- set O00O00O0OO = ^(O0OOOO0OOO, 1)
- ifcontains(i) $($0) in $(O00O00O0OO)
- goto 000O00O0OO
- else
- set 0OOO00O0OO = STATUS_NOLANGUAGE
- goto OOO000O0OO
- endif
- 000O00O0OO = +
- set OO0O00O0OO = ^(00OOOO0OOO, 1)
- set 0O0O00O0OO = ^(0OO000O0OO$($0), 1)
- set 0OOO00O0OO = STATUS_SUCCESSFUL
- O0O000O0OO = +
- return $(0OOO00O0OO) $(OO0O00O0OO) $(0O0O00O0OO)
- [InstallOption]
- set 00O000O0OO = $($1)
- set OO0000O0OO = $($2)
- set 0O0000O0OO = $($3)
- set O00000O0OO = $($4)
- set 000000O0OO = $($5)
- set !G:DebugOutputControl = 1
- set O00O00O0OO = ^(O0OOOO0OOO, 1)
- ifcontains(i) $($0) NOT-IN $(O00O00O0OO)
- return STATUS_NOLANGAUGE
- endif
- set-subst LF = "\n"
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- read-syms OOOOOO00OO$(!STF_LANGUAGE)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- set Continue = $(OK)
- endif
- read-syms OO0OOO0OOO$(!STF_LANGUAGE)
- detect O000O0O0OO
- detect OOOO00O0OO
- set-title $(0OOOOO00OO)
- set 00000OO0OO = O0OOOO00OO
- set O0000OO0OO = O0OOOO00OO
- set 00OOOO00OO = STATUS_SUCCESSFUL
- O0OOOO00OO = +
- ifstr(i) $(!NTN_InstallMode) == deinstall
- set OO0OOO00OO = 0O0OOO00OO
- else-ifstr(i) $(!NTN_InstallMode) == update
- set OO0OOO00OO = O00OOO00OO
- else-ifstr(i) $(!NTN_InstallMode) == configure
- set OO0OOO00OO = 000OOO00OO
- else-ifstr(i) $(!NTN_InstallMode) == bind
- set OO0OOO00OO = OOO0OO00OO
- else
- set OO0OOO00OO = 0OO0OO00OO
- endif
- set O0000OO0OO = $(O0O0OO00OO)
- set 00000OO0OO = $(O0O0OO00OO)
- goto $(OO0OOO00OO)
- 0OO0OO00OO = +
- OpenRegKey $(!REG_H_LOCAL) "" $(00O0OOO0OO) $(000OO0O0OO) 0OO0O0O0OO
- ifstr $(0OO0O0O0OO) != $(OOO0O0O0OO)
- CloseRegKey $(0OO0O0O0OO)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(00O0OO00OO)" "$(OOO0OO0OOO)" "$(OO00OO00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- endif
- set 00OOOO00OO = STATUS_USERCANCEL
- goto O000OO00OO
- endif
- Shell "" 0000OO00OO
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- goto 0O00OO00OO
- else
- set 00OOOO00OO = STATUS_USERCANCEL
- goto O000OO00OO
- endif
- endif
- ifstr $($R0) != "STATUS_SUCCESS"
- goto OOOO0O00OO
- endif
- ifstr $($R1) != "4.0"
- goto OOOO0O00OO
- endif
- ifint $($R2) < 3
- goto OOOO0O00OO
- endif
- goto 0OOO0O00OO
- OOOO0O00OO = +
- CloseRegKey $(0OO0O0O0OO)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(00O0OO00OO)" "$(OOO0OO0OOO)" "$(O0OO0O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- endif
- set 00OOOO00OO = STATUS_USERCANCEL
- goto O000OO00OO
- 0OOO0O00OO = +
- read-syms 00OO0O00OO$(!STF_LANGUAGE)
- Shell $(00O00OO0OO) PushBillboard NETSTATUSDLG $(OO0O0O00OO)
- set BillboardVisible = 1
- StartWait
- ifstr(i) $(!NTN_InstallMode) == "install"
- ifstr(i) $(O00000O0OO) == "YES"
- Shell $(O0O00OO0OO), DoAsksource, $(!STF_CWDDIR), $(OO0000O0OO) YES
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- else-ifstr(i) $($R0) == STATUS_FAILED
- Shell $(O0O00OO0OO) RegistryErrorString "ASK_SOURCE_FAIL"
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O0O0O00OO = "Error copying files."
- goto O0O0OO00OO
- else-ifstr(i) $($R0) == STATUS_USERCANCEL
- goto O00O0O00OO
- endif
- set OO0000O0OO = $($R1)
- endif
- install "Install-Option"
- ifstr(i) $(!STF_INSTALL_OUTCOME) != $(!STF_SUCCESS)
- Shell $(O0O00OO0OO) RegistryErrorString "UNABLE_COPY_FILE"
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O0O0O00OO = $($R0)
- goto O0O0OO00OO
- endif
- endif
- Shell $(O0O00OO0OO), AddSoftwareComponent, $(0O0OOO0OOO), +
- $(O0O0OO0OOO), +
- $(O0O0OO0OOO), +
- $(000O0O00OO), +
- $(STF_CONTEXTINFNAME), $(OOOO0O0OOO), +
- $(OOO00O0OOO), $(0OO00O0OOO), {}, "", $(OO000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- Ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- CloseRegKey $($R4)
- CloseRegKey $($R5)
- set 0O0O0O00OO = "Failed to add service software component."
- goto OOO00O00OO
- endif
- set 0OO00O00OO = $($R1)
- set O0O00O00OO = $($R2)
- set 00O00O00OO = $($R3)
- set OO000O00OO = $($R4)
- set 0O000O00OO = $($R5)
- set O0000O00OO = {+
- {"SoftwareType",$(OO00O0O0OO),$(!REG_VT_SZ),$(000O0O0OOO)},+
- {"MajorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(O00OOO0OOO)},+
- {"MinorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(000OOO0OOO)},+
- {"Title",$(OO00O0O0OO),$(!REG_VT_SZ),$(00000O00OO)},+
- {"Description",$(OO00O0O0OO),$(!REG_VT_SZ),$(OOOOO000OO)},+
- {"ServiceName",$(OO00O0O0OO),$(!REG_VT_SZ),$(O0O0OO0OOO)},+
- {"OperationsSupport",$(OO00O0O0OO),$(!REG_VT_DWORD),$(O0O00O0OOO)},+
- {"InstallDate",$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
- Shell $(O0O00OO0OO), AddValueList, $(0OO00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add service software value list."
- goto OOO00O00OO
- endif
- set O0000O00OO = {{InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(O0O00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add service software net rules."
- goto OOO00O00OO
- endif
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- Shell $(O0O00OO0OO), AddSoftwareComponent, $(0O0OOO0OOO),+
- $(00O0OO0OOO),+
- $(00O0OO0OOO),+
- $(0OOOO000OO),+
- $(STF_CONTEXTINFNAME), $(OOOO0O0OOO),+
- $(O0OO0O0OOO), $(00OO0O0OOO), {}, "", $(OO000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- CloseRegKey $($R4)
- CloseRegKey $($R5)
- set 0O0O0O00OO = "Failed to add transport software component."
- goto OOO00O00OO
- endif
- set 0OO00O00OO = $($R1)
- set O0O00O00OO = $($R2)
- set 00O00O00OO = $($R3)
- set OO000O00OO = $($R4)
- set 0O000O00OO = $($R5)
- set O0000O00OO = {+
- {"SoftwareType",$(OO00O0O0OO),$(!REG_VT_SZ),$(0OOO0O0OOO)},+
- {"MajorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(O00OOO0OOO)},+
- {"MinorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(000OOO0OOO)},+
- {"Title",$(OO00O0O0OO),$(!REG_VT_SZ),$(00O0OO00OO)},+
- {"Description",$(OO00O0O0OO),$(!REG_VT_SZ),$(O0OOO000OO)},+
- {"ServiceName",$(OO00O0O0OO),$(!REG_VT_SZ),$(00O0OO0OOO)},+
- {"Review",$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
- {"Hidden",$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
- {"InstallDate",$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
- Shell $(O0O00OO0OO), AddValueList, $(0OO00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add transport software value list."
- goto OOO00O00OO
- endif
- Shell "" 00OOO000OO
- set O0000O00OO = {{type,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00O00OOO)}, +
- {use,$(OO00O0O0OO),$(!REG_VT_SZ),$(0000O00OOO)}, +
- {class,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O000O00OOO)}, +
- {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O00O00OOO)}, +
- {bindable,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}, +
- {InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(O0O00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add transport software net rules."
- goto OOO00O00OO
- endif
- set O0000O00OO = {{DebugLevel,$(OO00O0O0OO),$(!REG_VT_DWORD),0}, +
- {DebugMask,$(OO00O0O0OO),$(!REG_VT_DWORD), 0}}
- Shell $(O0O00OO0OO), AddValueList, $(OO000O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add transport software debug info."
- goto OOO00O00OO
- endif
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- Shell $(O0O00OO0OO), AddSoftwareComponent, $(0O0OOO0OOO), +
- $(OO00OO0OOO), +
- $(OO00OO0OOO), +
- $(OO0OO000OO), +
- $(STF_CONTEXTINFNAME), $(OOOO0O0OOO), +
- $(0O0O0O0OOO), $(O00O0O0OOO), {}, "", $(OO000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- Ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- CloseRegKey $($R4)
- CloseRegKey $($R5)
- set 0O0O0O00OO = "Failed to add adapter software component."
- goto OOO00O00OO
- endif
- set 0OO00O00OO = $($R1)
- set O0O00O00OO = $($R2)
- set 00O00O00OO = $($R3)
- set OO000O00OO = $($R4)
- set 0O000O00OO = $($R5)
- set O0000O00OO = {{SoftwareType,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO0O0O0OOO)},+
- {MajorVersion,$(OO00O0O0OO),$(!REG_VT_DWORD),$(O00OOO0OOO)},+
- {MinorVersion,$(OO00O0O0OO),$(!REG_VT_DWORD),$(000OOO0OOO)},+
- {Title,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O0OO000OO)},+
- {Description,$(OO00O0O0OO),$(!REG_VT_SZ),$(O00OO000OO)},+
- {ServiceName,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00OO0OOO)},+
- {RefCount,$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
- {InstallDate,$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
- Shell $(O0O00OO0OO), AddValueList, $(0OO00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add adapter software version info."
- goto OOO00O00OO
- endif
- set O0000O00OO = {{type,$(OO00O0O0OO),$(!REG_VT_SZ),$(OOOO000OOO)}, +
- {use,$(OO00O0O0OO),$(!REG_VT_SZ),$(00OO000OOO)}, +
- {class,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0OO000OOO)}, +
- {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(0OOO000OOO)}, +
- {bindable,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(OO0O000OOO)}, +
- {InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(O0O00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add adapter software net rules."
- goto OOO00O00OO
- endif
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- Shell "" 000OO000OO
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- EndWait
- set 0O0O0O00OO = "Failed to add inf to ReviewPrograms."
- goto O0O0OO00OO
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(000OO0O0OO) OOO0O000OO
- set 0OO0O000OO = {}
- Ifstr(i) $(OOO0O000OO) != $(OOO0O0O0OO)
- GetRegValue $(OOO0O000OO) "List" O0O0O000OO
- ifint $(RegLastError) == 0
- ForListDo *($(O0O0O000OO), 4)
- set 0OO0O000OO = >($(0OO0O000OO), $($))
- EndForListDo
- endif
- Ifcontains(i) $(O00O0O0OOO) not-in $(0OO0O000OO)
- set 00O0O000OO = {}
- ForListDo $(0OO0O000OO)
- set 00O0O000OO = >($(00O0O000OO), $($))
- ifstr(i) $($) == "NDIS"
- set 00O0O000OO = >($(00O0O000OO), $(O00O0O0OOO) )
- endif
- EndForListDo
- SetRegValue $(OOO0O000OO) {List, 0,$(!REG_VT_MULTI_SZ),$(00O0O000OO)}
- endif
- CloseRegKey $(OOO0O000OO)
- else
- endif
- set OO00O000OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\DNE\Parameters\Order"
- CreateRegKey $(!REG_H_LOCAL) {$(OO00O000OO),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 0O00O000OO
- ifstr(i) $(0O00O000OO) != $(OOO0O0O0OO)
- CloseRegKey $(0O00O000OO)
- endif
- EndWait
- goto O00O0O00OO
- 000OOO00OO = +
- goto O00O0O00OO
- OOO0OO00OO = +
- ifstr(i) $(!NTN_RegBase) != $(00O0OOO0OO)
- goto O00O0O00OO
- endif
- Shell "" O000O000OO
- set 0000O000OO = $($R0)
- set OOOO0000OO = {}
- Set OO00O000OO = $(!NTN_ServiceBase)"\NdisWan\Linkage"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 0OOO0000OO
- ifstr(i) $(0OOO0000OO) != $(OOO0O0O0OO)
- GetRegValue $(0OOO0000OO) "Bind" O0OO0000OO
- ifint $(RegLastError) == 0
- set 00OO0000OO = *($(O0OO0000OO),4)
- endif
- CloseRegKey $(0OOO0000OO)
- endif
- ForListDo $(00OO0000OO)
- Split-String $($), "\", OO0O0000OO
- QueryListSize 0O0O0000OO $(OO0O0000OO)
- set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
- set OOOO0000OO = >($(OOOO0000OO),$(O00O0000OO))
- EndForListDo
- OpenRegKey $(!REG_H_LOCAL) "" $(O000OOO0OO) $(000OO0O0OO) 000O0000OO
- ifstr(i) $(000O0000OO) != $(OOO0O0O0OO)
- GetRegValue $(000O0000OO) "Bind" O0OO0000OO
- set 00OO0000OO = *($(O0OO0000OO),4)
- CloseRegKey $(000O0000OO)
- else
- OpenRegKey $(!REG_H_LOCAL) "" $(0O00OOO0OO) $(000OO0O0OO) OOO00000OO
- ifstr(i) $(OOO00000OO) != $(OOO0O0O0OO)
- EnumRegKey $(OOO00000OO) 0OO00000OO
- CloseRegKey $(OOO00000OO)
- endif
- set 0O0O0O00OO = "Failed to open transport linkage key."
- goto O0O0OO00OO
- endif
- set O0O00000OO = {}
- ForListDo $(00OO0000OO)
- Split-String $($), "\", OO0O0000OO
- QueryListSize 0O0O0000OO $(OO0O0000OO)
- set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
- set OOOO0000OO = >($(OOOO0000OO),$(O00O0000OO))
- set O0O00000OO = >($(O0O00000OO),$(O00O0000OO))
- EndForListDo
- set 00O00000OO = "No"
- ForListDo $(OOOO0000OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) OO000000OO
- ifstr(i) $(OO000000OO) == $(OOO0O0O0OO)
- goto 0O000000OO
- endif
- set O0000000OO = $($)
- set 00000000OO = $(OOO0O0O0OO)
- EnumRegKey $(OO000000OO) OOOOOOOO0O
- ForListDo $(OOOOOOOO0O)
- OpenRegKey $(OO000000OO) "" *($($),1) $(000OO0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) == $(OOO0O0O0OO)
- CloseRegKey $(OO000000OO)
- goto O0OOOOOO0O
- endif
- GetRegValue $(0OOOOOOO0O) "ServiceName" 00OOOOOO0O
- ifstr(i) $(O0000000OO) == *($(00OOOOOO0O),4)
- set 00000000OO = $(0OOOOOOO0O)
- goto O0OOOOOO0O
- endif
- CloseRegKey $(0OOOOOOO0O)
- O0OOOOOO0O = +
- EndForListDo
- CloseRegKey $(OO000000OO)
- ifstr(i) $(00000000OO) == $(OOO0O0O0OO)
- goto 0O000000OO
- endif
- GetRegValue $(00000000OO) "ProductName" OO0OOOOO0O
- ifint $(RegLastError) == 0
- set 0O0OOOOO0O = *($(OO0OOOOO0O),4)
- else-ifcontains(i) $($) in $(O0O00000OO)
- set 0O0OOOOO0O = $(0O00OO0OOO)
- else
- set 0O0OOOOO0O = $(O000OO0OOO)
- endif
- OpenRegKey $(00000000OO) "" "NetRules" $(000OO0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) == $(OOO0O0O0OO)
- CloseRegKey $(00000000OO)
- goto 0O000000OO
- endif
- CloseRegKey $(00000000OO)
- GetRegValue $(O00OOOOO0O) "type" 000OOOOO0O
- CloseRegKey $(O00OOOOO0O)
- Split-String *($(000OOOOO0O),4), " ", OOO0OOOO0O
- ifcontains(i) $(O0000O0OOO) in $(OOO0OOOO0O)
- ifcontains(i) "Tcpip" in $(0000O000OO)
- set 0OO0OOOO0O = $(O000000OOO)
- set O0O0OOOO0O = $(OOOOOOO0OO)
- set 00O0OOOO0O = $(0000000OOO)
- set 0O0OOOOO0O = $(O000OO0OOO)
- set OO00OOOO0O = $(0OO0O00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $(00000O0OOO) in $(OOO0OOOO0O)
- ifcontains(i) "Tcpip" in $(0000O000OO)
- set 0OO0OOOO0O = $(0OOOOOO0OO)
- set O0O0OOOO0O = $(00OOOOO0OO)
- set 00O0OOOO0O = $(O0OOOOO0OO)
- set 0O0OOOOO0O = $(O000OO0OOO)
- set OO00OOOO0O = $(O0O0O00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $(OOOOO00OOO) in $(OOO0OOOO0O)
- ifcontains(i) "NwlnkIpx" in $(0000O000OO)
- set 0OO0OOOO0O = $(OO0OOOO0OO)
- set O0O0OOOO0O = $(O00OOOO0OO)
- set 00O0OOOO0O = $(0O0OOOO0OO)
- set 0O0OOOOO0O = $(O000OO0OOO)
- set OO00OOOO0O = $(00O0O00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $(OO000O0OOO) in $(OOO0OOOO0O)
- ifcontains(i) "NetBEUI" in $(0000O000OO)
- set 0OO0OOOO0O = $(OOO0000OOO)
- set O0O0OOOO0O = $(O0O0000OOO)
- set 00O0OOOO0O = $(0OO0000OOO)
- set 0O0OOOOO0O = $(O000OO0OOO)
- set OO00OOOO0O = $(000OO00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $(0O000O0OOO) in $(OOO0OOOO0O)
- ifcontains(i) "NetBEUI" in $(0000O000OO)
- set 0OO0OOOO0O = $(00O0000OOO)
- set O0O0OOOO0O = $(0O00000OOO)
- set 00O0OOOO0O = $(OO00000OOO)
- set 0O0OOOOO0O = $(O000OO0OOO)
- set OO00OOOO0O = $(OOO0O00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $($) in $(O0O00000OO)
- set 0OO0OOOO0O = $(0O0O000OOO)
- set O0O0OOOO0O = $(000O000OOO)
- set 00O0OOOO0O = $(O00O000OOO)
- set OO00OOOO0O = $(OO00OO0OOO)
- else
- goto 0O000000OO
- endif
- set OO00O000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters\"$(00O0OO0OOO)
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) OO000000OO
- ifstr(i) $(OO000000OO) == $(OOO0O0O0OO)
- CreateRegKey $(!REG_H_LOCAL) {$(OO00O000OO),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 0O00OOOO0O
- else
- CloseRegKey $(OO000000OO)
- goto 0O000000OO
- endif
- ifstr(i) $(0O00OOOO0O) == $(OOO0O0O0OO)
- set 0O0O0O00OO = "Failed to open transport parameters key."
- goto O0O0OO00OO
- endif
- Shell $(O0O00OO0OO), AddHardwareComponent, +
- $(0O0OOOOO0O), +
- $(STF_CONTEXTINFNAME), +
- $(0000OOO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- set 0O0O0O00OO = "Failed to add hardware component "$(0O0OOOOO0O)"."
- goto OOO00O00OO
- endif
- set O000OOOO0O = $($)
- set 0000OOOO0O = $(OOO0O0O0OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) != $(OOO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- ifstr *($(00OOOOOO0O),4) == $(O000OOOO0O)
- GetRegValue $(0OOO0OOO0O) "Title" O0OO0OOO0O
- ifint $(RegLastError) == 0
- set 0000OOOO0O = *($(O0OO0OOO0O),4)
- endif
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- set 00OO0OOO0O = $($R2)
- set O0O0O0O0OO = $($R3)
- set OO0O0OOO0O = $($R4)
- set 0O0O0OOO0O = $(0O0OOOOO0O)$(OO0O0OOO0O)
- set O00O0OOO0O = "["$(OO0O0OOO0O)"] "$(000O0OOO0O)"-->"$(0000OOOO0O)
- set O0000O00OO = {{Manufacturer,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O0OOO0OOO)},+
- {Title,$(OO00O0O0OO),$(!REG_VT_SZ),$(O00O0OOO0O)},+
- {Description,$(OO00O0O0OO),$(!REG_VT_SZ),$(OOO00OOO0O)},+
- {ProductName,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00OOOO0O)},+
- {SoftwareName,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00OO0OOO)},+
- {ServiceName,$(OO00O0O0OO),$(!REG_VT_SZ),$($R5)},+
- {Hidden,$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
- {InstallDate,$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
- Shell $(O0O00OO0OO), AddValueList, $($R1), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- CloseRegKey $($R1)
- set 0OO00OOO0O = """"$(0O0OOOOO0O)$(OO0O0OOO0O)""""
- set O0O00OOO0O = $(0OO00OOO0O)$(00O0OOOO0O)
- set O0000O00OO = {{type,$(OO00O0O0OO),$(!REG_VT_SZ),$(0OO0OOOO0O)},+
- {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(O0O00OOO0O)}, +
- {class,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0O0OOOO0O)}, +
- {InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(00OO0OOO0O), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- Ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(O0O0O0O0OO)
- CloseRegKey $(00OO0OOO0O)
- set 0O0O0O00OO = "Failed to set net rules for "$(0OO00OOO0O)"."
- goto OOO00O00OO
- endif
- CloseRegKey $(00OO0OOO0O)
- set OO00O000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 00O00OOO0O
- ifstr(i) $(00O00OOO0O) != $(OOO0O0O0OO)
- set OO000OOO0O = {}
- EnumRegValue $(00O00OOO0O) OO000OOO0O
- ifstr $(OO000OOO0O) != {}
- ForListDo $(OO000OOO0O)
- ifcontains(i) *($($),1) in $(OOO00OO0OO)
- SetRegValue $(O0O0O0O0OO) $($)
- endif
- EndForListDo
- endif
- EnumRegKey $(00O00OOO0O) 0O000OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(0O000OOO0O)
- OpenRegKey $(00O00OOO0O) "" *($($),1) $(000OO0O0OO) O0000OOO0O
- ifstr(i) $(O0000OOO0O) != $(OOO0O0O0OO)
- CreateRegKey $(O0O0O0O0OO) {*($($),1),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 00000OOO0O
- ifstr(i) $(00000OOO0O) != $(OOO0O0O0OO)
- Shell "", OOOOO0OO0O, $(O0000OOO0O), $(00000OOO0O)
- CloseRegKey $(00000OOO0O)
- endif
- CloseRegKey $(O0000OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(00O00OOO0O)
- endif
- endif
- set O0000O00OO = {{InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD),$(OO0O0OOO0O)},+
- {SystemAdapter,$(OO00O0O0OO),$(!REG_VT_SZ),"\Device\"$($)},+
- {SourceParameters,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00O000OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(O0O0O0O0OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- CloseRegKey $(O0O0O0O0OO)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- Ifstr(i) $(0O000OO0OO) != NO_ERROR
- set 0O0O0O00OO = "Failed to set parameters for "$(0OO00OOO0O)"."
- CloseRegKey $(O0O0O0O0OO)
- goto OOO00O00OO
- endif
- ifstr(i) $(0O00OOOO0O) != $(OOO0O0O0OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO)"\"$($) $(000OO0O0OO) 0OOOO0OO0O
- ifstr(i) $(0OOOO0OO0O) == $(OOO0O0O0OO)
- else
- CreateRegKey $(O0O0O0O0OO) {"NetBT\"$($),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0OOO0OO0O
- ifstr(i) $(O0OOO0OO0O) == $(OOO0O0O0OO)
- else
- Shell "", OOOOO0OO0O, $(0OOOO0OO0O), $(O0OOO0OO0O)
- CloseRegKey $(O0OOO0OO0O)
- endif
- CloseRegKey $(0OOOO0OO0O)
- endif
- endif
- CloseRegKey $(O0O0O0O0OO)
- set 00OOO0OO0O = $(!NTN_ServiceBase)"\"$(0O0OOOOO0O)$(OO0O0OOO0O)"\Parameters\DNESignature"
- CreateRegKey $(!REG_H_LOCAL) {$(00OOO0OO0O),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" OO0OO0OO0O
- ifstr(i) $(OO0OO0OO0O) == $(OOO0O0O0OO)
- endif
- set 00O00000OO = "Yes"
- ifstr(i) $(0O00OOOO0O) != $(OOO0O0O0OO)
- set O0000O00OO = {{Device,$(OO00O0O0OO),$(!REG_VT_SZ),$($)},+
- {AdapterNumber,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO0O0OOO0O)}, +
- {InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD), $(OO0O0OOO0O) } }
- Shell $(O0O00OO0OO), AddValueList, $(0O00OOOO0O), $(O0000O00OO)
- CloseRegKey $(0O00OOOO0O)
- endif
- 0O000000OO = +
- EndForListDo
- set 0O0OO0OO0O = {}
- set O00OO0OO0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) != $(OOO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- set OO00O000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 000OO0OO0O
- ifstr(i) $(000OO0OO0O) == $(OOO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
- ifint $(RegLastError) == 0
- ifstr *($(OOO0O0OO0O),4) == $(OO00OO0OOO)
- set 0O0OO0OO0O = >($(0O0OO0OO0O),*($($),1))
- set O00OO0OO0O = >($(O00OO0OO0O),*($(OOO0O0OO0O),4))
- endif
- endif
- else
- GetRegValue $(000OO0OO0O) "SystemAdapter" 0OO0O0OO0O
- ifint $(RegLastError) == 0
- Split-String *($(0OO0O0OO0O),4), "\", OO0O0000OO
- QueryListSize 0O0O0000OO $(OO0O0000OO)
- set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(O00O0000OO) $(000OO0O0OO) O0O0O0OO0O
- ifstr(i) $(O0O0O0OO0O) != $(OOO0O0O0OO)
- CloseRegKey $(O0O0O0OO0O)
- else
- set 0O0OO0OO0O = >($(0O0OO0OO0O),*($($),1))
- GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
- ifint $(RegLastError) == 0
- set O00OO0OO0O = >($(O00OO0OO0O),*($(OOO0O0OO0O),4))
- else
- set O00OO0OO0O = >($(O00OO0OO0O),$(OO00OO0OOO))
- endif
- endif
- endif
- CloseRegKey $(000OO0OO0O)
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- ForListDo $(0O0OO0OO0O)
- set 00O0O0OO0O = $(O00O0OO0OO)"\"$($)
- set OO00O0OO0O = *($(O00OO0OO0O),$(#))
- Shell $(O0O00OO0OO), RemoveHardwareComponent, $(0O0OOO0OOO), $(OO00O0OO0O), $(00O0O0OO0O)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- set 0O0O0O00OO = "Failed to remove unused hardware component "$(00O0O0OO0O)"."
- goto OOO00O00OO
- endif
- set 00O00000OO = "Yes"
- EndForListDo
- set OO00O000OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(00O0OO0OOO)"\CurrentVersion\NetRules"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 0O00O0OO0O
- ifstr(i) $(0O00O0OO0O) != $(OOO0O0O0OO)
- GetRegValue $(0O00O0OO0O) "bindable" O000O0OO0O
- ifint $(RegLastError) == 0
- Shell "" 00OOO000OO
- ifstr $($R0) != *($(O000O0OO0O),4)
- SetRegValue $(0O00O0OO0O) {"bindable",$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}
- ifint $(RegLastError) != 0
- else
- set 00O00000OO = "Yes"
- endif
- endif
- endif
- CloseRegKey $(0O00O0OO0O)
- else
- endif
- Shell "" 0000O0OO0O
- Shell "" OOOO00OO0O
- set 0OOO00OO0O = $($R0)
- set O0OO00OO0O = $($R1)
- Shell "" O000O000OO
- ForListDo $($R0)
- set OO00O000OO = $(!NTN_ServiceBase)"\"$($)"\Linkage"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 00OO00OO0O
- ifstr(i) $(00OO00OO0O) != $(OOO0O0O0OO)
- Shell "" OO0O00OO0O $($),$(00OO00OO0O),$(0OOO00OO0O),$(O0OO00OO0O),$(0O0OO0O0OO)
- CloseRegKey $(00OO00OO0O)
- else
- endif
- EndForListDo
- ifstr(i) $(00O00000OO) == "Yes"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO) $(000OO0O0OO) 0O0O00OO0O
- ifstr(i) $(0O0O00OO0O) != $(OOO0O0O0OO)
- SetRegValue $(0O0O00OO0O) {"BindRestart",$(OO00O0O0OO),$(!REG_VT_DWORD),1}
- CloseRegKey $(0O0O00OO0O)
- else
- endif
- endif
- goto O00O0O00OO
- 0O0OOO00OO = +
- ifstr(i) $(!NTN_RegBase) != $(000OOOO0OO)
- set 0O0O0O00OO = "To uninstall this adapter, remove '"$(OOOOO000OO)"' from Services"
- set O0000OO0OO = O000OO00OO
- goto O00O00OO0O
- endif
- Shell "" 000O00OO0O
- Shell "" OOO000OO0O
- Shell "" 0OO000OO0O
- goto O000OO00OO
- O00OOO00OO = +
- goto O00O0O00OO
- 0O00OO00OO = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), FATAL, "Fatal shell error: "$($ShellCode)
- endif
- goto O0O000OO0O
- O0O0OO00OO = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(0O0O0O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- endif
- set 00O000OO0O = {"0OO0OO00OO"}
- ifcontains(i) $(OO0OOO00OO) in $(00O000OO0O)
- Shell "" 0OO000OO0O
- endif
- goto O0O000OO0O
- OOO00O00OO = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(O0O00OO0OO) RegistryErrorString $(0O000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set OO0000OO0O = $(0O0O0O00OO)
- set 0O0O0O00OO = $($R0)
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(OO0000OO0O)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- endif
- goto O0O0OO00OO
- O00O00OO0O = +
- set 00OOOO00OO = STATUS_USERCANCEL
- set 0O0000OO0O = STATUS
- goto O00000OO0O
- 000000OO0O = +
- set 0O0000OO0O = NONFATAL
- goto O00000OO0O
- O00000OO0O = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- ifstr(i) $(0O0O0O00OO) == ""
- Shell $(O0O00OO0OO) RegistryErrorString "SETUP_FAIL"
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O0O0O00OO = $($R0)
- endif
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), $(0O0000OO0O), $(0O0O0O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- ifstr(i) $($R1) == "OK"
- goto $(O0000OO0OO)
- else
- goto O000OO00OO
- endif
- else
- goto $(O0000OO0OO)
- endif
- O0O000OO0O = +
- set 00OOOO00OO = STATUS_FAILED
- goto O000OO00OO
- O00O0O00OO = +
- goto O000OO00OO
- O000OO00OO = +
- goto OOOOOO0O0O
- OOOOOO0O0O = +
- return $(00OOOO00OO)
- [BindingsReview]
- set !G:DebugOutputControl = 1
- read-syms OO0OOO0OOO
- read-syms 0OO00OO0OO
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) 00OO00OO0O
- ifstr $(00OO00OO0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(00OO00OO0O) "Bind" 0OOOOO0O0O
- ifint $(RegLastError) != 0
- else
- set O0OO0000OO = *($(0OOOOO0O0O),4)
- ForListDo $(O0OO0000OO)
- Split-String $($) "\" O0OOOO0O0O
- set 00OOOO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),4)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(00OOOO0O0O) $(000OO0O0OO) OO0OOO0O0O
- ifstr $(OO0OOO0O0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(OO0OOO0O0O) "SourceParameters" 0O0OOO0O0O
- ifint $(RegLastError) == 0
- set O00OOO0O0O = *($(0O0OOO0O0O),4)
- OpenRegKey $(!REG_H_LOCAL) "" $(O00OOO0O0O) $(000OO0O0OO) 000OOO0O0O
- ifstr $(000OOO0O0O) == $(OOO0O0O0OO)
- else
- set OO000OOO0O = {}
- EnumRegValue $(000OOO0O0O) OO000OOO0O
- ifstr $(OO000OOO0O) != {}
- ForListDo $(OO000OOO0O)
- ifcontains(i) *($($),1) in $(OOO00OO0OO)
- SetRegValue $(OO0OOO0O0O) $($)
- endif
- EndForListDo
- endif
- EnumRegKey $(000OOO0O0O) 0O000OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(0O000OOO0O)
- OpenRegKey $(000OOO0O0O) "" *($($),1) $(000OO0O0OO) O0000OOO0O
- ifstr(i) $(O0000OOO0O) != $(OOO0O0O0OO)
- OpenRegKey $(OO0OOO0O0O) "" *($($),1) $(000OO0O0OO) 00000OOO0O
- ifstr(i) $(00000OOO0O) != $(OOO0O0O0OO)
- Shell "", OOOOO0OO0O, $(O0000OOO0O), $(00000OOO0O)
- CloseRegKey $(00000OOO0O)
- endif
- CloseRegKey $(O0000OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(000OOO0O0O)
- DeleteRegValue $(OO0OOO0O0O) "SourceParameters"
- endif
- endif
- CloseRegKey $(OO0OOO0O0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(00OO00OO0O)
- endif
- Shell "" OOO0OO0O0O
- Shell "" 0OO0OO0O0O
- return STATUS_SUCCESSFUL
- [OOOO00OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- set 0OOO00OO0O = {}
- set O0OO00OO0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) != $(OOO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- set OO00O000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters\DNESignature"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0O0OO0O0O
- ifstr(i) $(O0O0OO0O0O) != $(OOO0O0O0OO)
- set 0OOO00OO0O = >($(0OOO00OO0O),*($(00OOOOOO0O),4))
- CloseRegKey $(O0O0OO0O0O)
- else
- set O0OO00OO0O = >($(O0OO00OO0O),*($(00OOOOOO0O),4))
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- return $(0OOO00OO0O) $(O0OO00OO0O)
- [OOO000OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- Shell "" OOOO00OO0O
- ForListDo $($R0)
- set 00O0OO0O0O = $(!NTN_ServiceBase)"\"$($)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(00O0OO0O0O) $(000OO0O0OO) OO00OO0O0O
- ifstr $(OO00OO0O0O) != $(OOO0O0O0OO)
- GetRegValue $(OO00OO0O0O) "SystemAdapter" 0O00OO0O0O
- ifint $(RegLastError) == 0
- set O000OO0O0O = *($(0O00OO0O0O),4)
- Split-String $(O000OO0O0O) "\" 0000OO0O0O
- QueryListSize OOOO0O0O0O $(0000OO0O0O)
- set 0OOO0O0O0O = $(!NTN_ServiceBase)"\"*($(0000OO0O0O),$(OOOO0O0O0O))"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(0OOO0O0O0O) $(000OO0O0OO) O0OO0O0O0O
- ifstr $(O0OO0O0O0O) != $(OOO0O0O0OO)
- Shell "", OOOOO0OO0O, $(OO00OO0O0O), $(O0OO0O0O0O)
- DeleteRegKey $(O0OO0O0O0O) $(00O0OO0OOO)
- DeleteRegKey $(O0OO0O0O0O) "DNESignature"
- CloseRegKey $(O0OO0O0O0O)
- endif
- endif
- CloseRegKey $(OO00OO0O0O)
- endif
- EndForListDo
- return
- [000O00OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) 00OO00OO0O
- ifstr(i) $(00OO00OO0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(00OO00OO0O) "Bind" O0OO0000OO
- ifint $(RegLastError) != 0
- else
- set 00OO0O0O0O = *($(O0OO0000OO),4)
- ForListDo $(00OO0O0O0O)
- Split-String $($), "\", OO0O0000OO
- QueryListSize OO0O0O0O0O $(OO0O0000OO)
- set 0O0O0O0O0O = *($(OO0O0000OO),$(OO0O0O0O0O))
- set OO00O000OO = $(!NTN_ServiceBase)"\"$(0O0O0O0O0O)"\Parameters\"$(00O0OO0OOO)
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O00O0O0O0O
- ifstr(i) $(O00O0O0O0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(O00O0O0O0O) "Device" 000O0O0O0O
- ifint $(RegLastError) != 0
- else
- set OO00O000OO = $(00OO0OO0OO)"\"*($(000O0O0O0O),4)
- CreateRegKey $(!REG_H_LOCAL) {$(OO00O000OO),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0OOO0OO0O
- ifstr(i) $(O0OOO0OO0O) == $(OOO0O0O0OO)
- else
- set OO00O000OO = $(00OO0OO0OO)"\"$(0O0O0O0O0O)
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) OOO00O0O0O
- ifstr(i) $(O0OOO0OO0O) == $(OOO0O0O0OO)
- else
- Shell "", OOOOO0OO0O, $(OOO00O0O0O), $(O0OOO0OO0O)
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- endif
- CloseRegKey $(OOO00O0O0O)
- endif
- CloseRegKey $(O0OOO0OO0O)
- endif
- endif
- CloseRegKey $(O00O0O0O0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(00OO00OO0O)
- endif
- return
- [OOO0OO0O0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- set 00OO0O0O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) 00OO00OO0O
- ifstr(i) $(00OO00OO0O) != $(OOO0O0O0OO)
- GetRegValue $(00OO00OO0O) "Bind" O0OO0000OO
- ifint $(RegLastError) == 0
- set 00OO0O0O0O = *($(O0OO0000OO),4)
- endif
- endif
- ifstr $(00OO0O0O0O) != {}
- ForListDo $(00OO0O0O0O)
- Split-String $($), "\", OO0O0000OO
- QueryListSize OO0O0O0O0O $(OO0O0000OO)
- set 0O0O0O0O0O = *($(OO0O0000OO),$(OO0O0O0O0O))
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(0O0O0O0O0O)"\Parameters\NetBT" $(000OO0O0OO) 0OOOO0OO0O
- ifstr(i) $(0OOOO0OO0O) == $(OOO0O0O0OO)
- else
- EnumRegKey $(0OOOO0OO0O) 0OO00O0O0O
- ifint $(RegLastError) != 0
- else
- ForListDo $(0OO00O0O0O)
- set O0O00O0O0O = *($($),1)
- OpenRegKey $(0OOOO0OO0O) "" $(O0O00O0O0O) $(000OO0O0OO) OOO00O0O0O
- ifstr(i) $(OOO00O0O0O) == $(OOO0O0O0OO)
- else
- set OO00O000OO = $(00OO0OO0OO)"\"$(0O0O0O0O0O)
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0OOO0OO0O
- ifstr(i) $(O0OOO0OO0O) == $(OOO0O0O0OO)
- else
- Shell "", OOOOO0OO0O, $(OOO00O0O0O), $(O0OOO0OO0O)
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- else
- DeleteRegTree $(0OOOO0OO0O) $(O0O00O0O0O)
- endif
- CloseRegKey $(O0OOO0OO0O)
- endif
- CloseRegKey $(OOO00O0O0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOO0OO0O)
- endif
- EndForListDo
- endif
- ifstr(i) $(00OO00OO0O) != $(OOO0O0O0OO)
- CloseRegKey $(00OO00OO0O)
- endif
- return
- [OOOOO0OO0O]
- set 00O00O0O0O = $($0)
- set OO000O0O0O = $($1)
- Set FLibraryErrCtl = 1
- LibraryProcedure __CopyResult $(!NCPA_HANDLE), RegCopyTree, $(00O00O0O0O), $(OO000O0O0O)
- Set FLibraryErrCtl = 0
- Set 0O000O0O0O = *($(O0000O0O0O),1)
- Ifint $(0O000O0O0O) != 0
- return UNABLE_ACCESS_CONFIGURE_SERVICE
- Endif
- return STATUS_SUCCESSFUL
- [0OO000OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- read-syms OOOOOO00OO$(!STF_LANGUAGE)
- Shell "" 00000O0O0O
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) != $(OOO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- set OO00O0OO0O = $(OOO0O0O0OO)
- set OO00O000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters\DNESignature"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0O0O0OO0O
- ifstr(i) $(O0O0O0OO0O) != $(OOO0O0O0OO)
- CloseRegKey $(O0O0O0OO0O)
- GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
- ifint $(RegLastError) == 0
- set OO00O0OO0O = *($(OOO0O0OO0O),4)
- else
- set OO00O0OO0O = $(OO00OO0OOO)
- endif
- else
- GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
- ifint $(RegLastError) == 0
- ifstr *($(OOO0O0OO0O),4) == $(OO00OO0OOO)
- set OO00O0OO0O = *($(OOO0O0OO0O),4)
- endif
- endif
- endif
- ifstr $(OO00O0OO0O) != $(OOO0O0O0OO)
- set 00O0O0OO0O = $(O00O0OO0OO)"\"*($($),1)
- Shell $(O0O00OO0OO), RemoveHardwareComponent, $(0O0OOO0OOO), $(OO00O0OO0O), $(00O0O0OO0O)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase) $(000OO0O0OO) O0O0O0OO0O
- ifstr(i) $(O0O0O0OO0O) != $(OOO0O0O0OO)
- EnumRegKey $(O0O0O0OO0O) OOOOO00O0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOOO00O0O)
- set OO00O000OO = $(!NTN_ServiceBase)"\"*($($),1)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO)"\"$(00O0OO0OOO) $(000OO0O0OO) 0OOOO00O0O
- ifstr(i) $(0OOOO00O0O) != $(OOO0O0O0OO)
- CloseRegKey $(0OOOO00O0O)
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0OOO00O0O
- ifstr(i) $(O0OOO00O0O) != $(OOO0O0O0OO)
- DeleteRegTree $(O0OOO00O0O) $(00O0OO0OOO)
- CloseRegKey $(O0OOO00O0O)
- endif
- endif
- EndForListDo
- endif
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(000OOOO0OO)"\NetRules" $(000OO0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) != $(OOO0O0O0OO)
- GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
- ifint $(RegLastError) == 0
- ifstr(i) *($(00OOO00O0O),4) != $(0OO0OO0OOO)
- AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\"*($(00OOO00O0O),4)
- endif
- endif
- CloseRegKey $(O00OOOOO0O)
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(0000OOO0OO) $(000OO0O0OO) OO0OO00O0O
- ifstr(i) $(OO0OO00O0O) != $(OOO0O0O0OO)
- SetRegValue $(OO0OO00O0O) {RefCount,$(OO00O0O0OO),$(!REG_VT_DWORD),0}
- CloseRegKey $(OO0OO00O0O)
- endif
- Shell $(O0O00OO0OO), RemoveSoftwareComponent, $(0O0OOO0OOO), $(OO00OO0OOO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- endif
- Shell $(O0O00OO0OO), RemoveSoftwareComponent, $(0O0OOO0OOO), $(00O0OO0OOO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- endif
- Shell $(O0O00OO0OO), RemoveSoftwareComponent, $(0O0OOO0OOO), $(O0O0OO0OOO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- endif
- Set OO00O000OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 0O0OO00O0O
- ifstr(i) $(0O0OO00O0O) != $(OOO0O0O0OO)
- EnumRegKey $(0O0OO00O0O) O00OO00O0O
- ifint $(RegLastError) == 0
- ifstr $(O00OO00O0O) == {}
- set 000OO00O0O = {}
- EnumRegValue $(0O0OO00O0O) 000OO00O0O
- ifstr $(000OO00O0O) == {}
- DeleteRegTree $(!REG_H_LOCAL) $(OO00O000OO)
- endif
- endif
- endif
- CloseRegKey $(0O0OO00O0O)
- endif
- return
- [000OO000OO]
- read-syms OO0OOO0OOO
- read-syms 0OO00OO0OO
- set 0OOO00O0OO = STATUS_FAILED
- OpenRegKey $(!REG_H_LOCAL) "" $(000OOOO0OO)"\NetRules" $(000OO0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) != $(OOO0O0O0OO)
- GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
- ifint $(RegLastError) == 0
- CloseRegKey $(O00OOOOO0O)
- set OOO0O00O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO) $(000OO0O0OO) 0OO0O00O0O
- ifstr(i) $(0OO0O00O0O) != $(OOO0O0O0OO)
- GetRegValue $(0OO0O00O0O) "ReviewPrograms" O0O0O000OO
- ifint $(RegLastError) == 0
- ForListDo *($(O0O0O000OO),4)
- ifstr(i) $($) != *($(00OOO00O0O),4)
- ifstr(i) $($) == "NBINFO.INF"
- set OOO0O00O0O = >($(OOO0O00O0O),*($(00OOO00O0O),4))
- endif
- set OOO0O00O0O = >($(OOO0O00O0O), $($))
- endif
- EndForListDo
- SetRegValue $(0OO0O00O0O) {ReviewPrograms,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(OOO0O00O0O)}
- set 0OOO00O0OO = STATUS_SUCCESSFUL
- endif
- CloseRegKey $(0OO0O00O0O)
- else
- endif
- else
- CloseRegKey $(O00OOOOO0O)
- endif
- else
- endif
- return $(0OOO00O0OO)
- [00000O0O0O]
- read-syms OO0OOO0OOO
- read-syms 0OO00OO0OO
- set 0OOO00O0OO = STATUS_FAILED
- OpenRegKey $(!REG_H_LOCAL) "" $(000OOOO0OO)"\NetRules" $(000OO0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) != $(OOO0O0O0OO)
- GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
- ifint $(RegLastError) == 0
- CloseRegKey $(O00OOOOO0O)
- set OOO0O00O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO) $(000OO0O0OO) 0OO0O00O0O
- Ifstr(i) $(0OO0O00O0O) != $(OOO0O0O0OO)
- GetRegValue $(0OO0O00O0O) "ReviewPrograms" O0O0O000OO
- ifint $(RegLastError) == 0
- ForListDo *($(O0O0O000OO),4)
- ifstr(i) $($) != *($(00OOO00O0O),4)
- set OOO0O00O0O = >($(OOO0O00O0O), $($))
- endif
- EndForListDo
- SetRegValue $(0OO0O00O0O) {ReviewPrograms,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(OOO0O00O0O)}
- set 0OOO00O0OO = STATUS_SUCCESSFUL
- endif
- CloseRegKey $(0OO0O00O0O)
- else
- endif
- else
- CloseRegKey $(O00OOOOO0O)
- endif
- else
- endif
- return $(0OOO00O0OO)
- [00OOO000OO]
- read-syms OO0OOO0OOO
- read-syms 0OO00OO0OO
- Shell "" O000O000OO
- set 0000O000OO = $($R0)
- set O0O0O00O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_SoftwareBase) $(000OO0O0OO) 00O0O00O0O
- ifstr(i) $(00O0O00O0O) != $(OOO0O0O0OO)
- set OO00O00O0O = {}
- EnumRegKey $(00O0O00O0O) OO00O00O0O
- ForListDo $(OO00O00O0O)
- set 0O00O00O0O = *($($),1)
- ForListDo $(0000O000OO)
- set O000O00O0O = $(OOO0O0O0OO)
- OpenRegKey $(00O0O00O0O) "" $(0O00O00O0O)"\"$($) $(000OO0O0OO) O000O00O0O
- ifstr(i) $(O000O00O0O) != $(OOO0O0O0OO)
- set 0000O00O0O = {}
- ifstr(i) $($) == $(O0O0OO0OOO)
- goto OOOO000O0O
- endif
- ifstr(i) $($) == $(00O0OO0OOO)
- goto OOOO000O0O
- endif
- ifstr(i) $($) == $(OO00OO0OOO)
- goto OOOO000O0O
- endif
- OpenRegKey $(O000O00O0O) "" "CurrentVersion\NetRules" $(000OO0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) != $(OOO0O0O0OO)
- GetRegValue $(O00OOOOO0O) "Class" 0OOO000O0O
- ifint $(RegLastError) == 0
- ForListDo *($(0OOO000O0O),4)
- Split-String $($), " ", O0OO000O0O
- set 00OO000O0O = 0
- ForListDo $(O0OO000O0O)
- ifstr $($) != " "
- set-add 00OO000O0O = $(00OO000O0O),1
- ifint $(00OO000O0O) == 1
- set OO0O000O0O = $($)
- else-ifint $(00OO000O0O) == 2
- ifstr(i) $($) == netBiosTransport
- set 0O0O000O0O = $(OO0O000O0O)" "$(0OOOO00OOO)" non non 100"
- set O0O0O00O0O = >($(O0O0O00O0O), $(0O0O000O0O))
- endif
- endif
- endif
- EndForListDo
- EndForListDo
- endif
- GetRegValue $(O00OOOOO0O) "Bindable" O00O000O0O
- ifint $(RegLastError) == 0
- ForListDo *($(O00O000O0O),4)
- Split-String $($), " ", 000O000O0O
- set 0O0O000O0O = $(OOO0O0O0OO)
- set OOO0000O0O = O00OO0O0OO
- set 0OO0000O0O = O00OO0O0OO
- set 00OO000O0O = 0
- ForListDo $(000O000O0O)
- ifstr $($) == " "
- set 0O0O000O0O = $(0O0O000O0O)$($)
- else
- set-add 00OO000O0O = $(00OO000O0O),1
- ifint $(00OO000O0O) == 1
- ifstr(i) $($) == ndisWanTransport
- set 0OO0000O0O = 0O0OO0O0OO
- endif
- set 0O0O000O0O = $(0O0O000O0O)$($)
- else-ifint $(00OO000O0O) == 2
- ifstr(i) $($) == $(00O00O0OOO)
- set O0O0000O0O = $(0OOOO00OOO)
- set OOO0000O0O = 0O0OO0O0OO
- else-ifstr(i) $($) == $(OO000O0OOO)
- ifcontains(i) "NetBEUI" in $(0000O000OO)
- set O0O0000O0O = $(O0OOO00OOO)
- set OOO0000O0O = 0O0OO0O0OO
- endif
- else-ifstr(i) $($) == $(0O000O0OOO)
- ifcontains(i) "NetBEUI" in $(0000O000OO)
- set O0O0000O0O = $(00OOO00OOO)
- set OOO0000O0O = 0O0OO0O0OO
- endif
- else-ifstr(i) $($) == $(O0000O0OOO)
- ifcontains(i) "Tcpip" in $(0000O000OO)
- set O0O0000O0O = $(OO0OO00OOO)
- set OOO0000O0O = 0O0OO0O0OO
- endif
- else-ifstr(i) $($) == $(00000O0OOO)
- ifcontains(i) "Tcpip" in $(0000O000OO)
- set O0O0000O0O = $(0O0OO00OOO)
- set OOO0000O0O = 0O0OO0O0OO
- endif
- else-ifstr(i) $($) == $(OOOOO00OOO)
- ifcontains(i) "NwlnkIpx" in $(0000O000OO)
- set O0O0000O0O = $(O00OO00OOO)
- set OOO0000O0O = 0O0OO0O0OO
- endif
- endif
- set 0O0O000O0O = $(0O0O000O0O)$(O0O0000O0O)
- else
- set 0O0O000O0O = $(0O0O000O0O)$($)
- endif
- endif
- EndForListDo
- ifstr $(OOO0000O0O) == 0O0OO0O0OO
- ifstr $(0OO0000O0O) == O00OO0O0OO
- set O0O0O00O0O = >($(O0O0O00O0O), $(0O0O000O0O))
- endif
- endif
- EndForListDo
- endif
- CloseRegKey $(O00OOOOO0O)
- endif
- CloseRegKey $(O000O00O0O)
- endif
- OOOO000O0O = +
- EndForListDo
- EndForListDo
- CloseRegKey $(00O0O00O0O)
- endif
- return $(O0O0O00O0O)
- [0000OO00OO]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(0O0O0OO0OO) $(000OO0O0OO) 00O0000O0O
- ifint $(RegLastError) != 0
- return STATUS_FAILED
- endif
- GetRegValue $(00O0000O0O) CurrentVersion OO00000O0O
- ifint $(RegLastError) != 0
- CloseRegKey $(00O0000O0O)
- return STATUS_FAILED
- endif
- GetRegValue $(00O0000O0O) CSDVersion 0O00000O0O
- ifint $(RegLastError) != 0
- CloseRegKey $(00O0000O0O)
- return STATUS_FAILED
- endif
- CloseRegKey $(00O0000O0O)
- Split-String *($(0O00000O0O),4) " ," O000000O0O
- return STATUS_SUCCESS *($(OO00000O0O),4) *($(O000000O0O),5)
- [0000000O0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $($0) $(000OO0O0OO) OOOOOOO00O
- ifstr(i) $(OOOOOOO00O) == $(OOO0O0O0OO)
- return STATUS_FAILED
- endif
- GetRegValue $(OOOOOOO00O) "Bind" 0OOOOO0O0O
- ifint $(RegLastError) != 0
- CloseRegKey $(OOOOOOO00O)
- return STATUS_FAILED
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) == $(OOO0O0O0OO)
- CloseRegKey $(OOOOOOO00O)
- return STATUS_FAILED
- endif
- EnumRegKey $(0OOOOOOO0O) OOOOOOOO0O
- ifint $(RegLastError) != 0
- CloseRegKey $(OOOOOOO00O)
- return STATUS_FAILED
- endif
- set 0OOOOOO00O = {}
- set O0OOOOO00O = $($1)
- set 00OOOOO00O = {}
- set OO0OOOO00O = \042\042\042\042\042\042\042\042
- set O0OO0000OO = *($(0OOOOO0O0O),4)
- ForListDo $(O0OO0000OO)
- Split-String $($) "\" O0OOOO0O0O
- set 00OOOO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),4)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(00OOOO0O0O) $(000OO0O0OO) OO0OOO0O0O
- ifstr $(OO0OOO0O0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(OO0OOO0O0O) "SystemAdapter" 0OO0O0OO0O
- ifint $(RegLastError) != 0
- else
- set 0O0OOOO00O = *($(0OO0O0OO0O),4)
- set 0OOOOOO00O = >($(0OOOOOO00O),$(0O0OOOO00O))
- Split-String $(0O0OOOO00O) "\" O00OOOO00O
- set 000OOOO00O = *($(O00OOOO00O),4)
- set OOO0OOO00O = $(OOO0O0O0OO)
- ifstr(i) $($1) == "{}"
- QueryListSize 0OO0OOO00O $(O00OOOO00O)
- set O0O0OOO00O = $(OOO0O0O0OO)
- ForListDo $(O00OOOO00O)
- ifint $(#) == $(0OO0OOO00O)
- set O0O0OOO00O = $(O0O0OOO00O)$($2)
- endif
- set O0O0OOO00O = $(O0O0OOO00O)$($)
- EndForListDo
- set O0OOOOO00O = >($(O0OOOOO00O),$(O0O0OOO00O))
- endif
- ForListDo $(OOOOOOOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 00O0OOO00O
- ifstr(i) $(00O0OOO00O) != $(OOO0O0O0OO)
- GetRegValue $(00O0OOO00O) "ServiceName" OO00OOO00O
- ifint $(RegLastError) == 0
- ifstr $(000OOOO00O) == *($(OO00OOO00O),4)
- GetRegValue $(00O0OOO00O) "SoftwareName" OOO0OOO00O
- ifint $(RegLastError) == 0
- set OO00O000OO = $(!NTN_ServiceBase)"\"*($(OOO0OOO00O),4)
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) O0O0OO0O0O
- ifstr(i) $(O0O0OO0O0O) == $(OOO0O0O0OO)
- set OOO0OOO00O = $(OOO0O0O0OO)
- else
- CloseRegKey $(O0O0OO0O0O)
- endif
- endif
- endif
- endif
- CloseRegKey $(00O0OOO00O)
- endif
- EndForListDo
- ifstr $(OOO0OOO00O) == $(OOO0O0O0OO)
- set 0O00OOO00O = $(OO0OOOO00O)$(000OOOO00O)$(OO0OOOO00O)
- else
- set 0O00OOO00O = $(OO0OOOO00O)*($(OOO0OOO00O),4)$(OO0OOOO00O)" "$(OO0OOOO00O)$(000OOOO00O)$(OO0OOOO00O)
- endif
- set 00OOOOO00O = >($(00OOOOO00O),$(0O00OOO00O))
- endif
- CloseRegKey $(OO0OOO0O0O)
- endif
- EndForListDo
- set-subst O0000O00OO = {{Bind,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(0OOOOOO00O)},+
- {Export,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0OOOOO00O)},+
- {Route,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(00OOOOO00O)}}
- Shell $(O0O00OO0OO) AddValueList $(OOOOOOO00O) $(O0000O00OO)
- CloseRegKey $(0OOOOOOO0O)
- CloseRegKey $(OOOOOOO00O)
- return STATUS_SUCCESS
- [0OO0OO0O0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) O000OOO00O
- ifstr $(O000OOO00O) != $(OOO0O0O0OO)
- GetRegValue $(O000OOO00O) "Bind" 0OOOOO0O0O
- QueryListSize 0000OOO00O *($(0OOOOO0O0O),4)
- ifint $(RegLastError) == 0
- ForListDo *($(0OOOOO0O0O),4)
- Split-String $($) "\" O0OOOO0O0O
- QueryListSize OOOO0OO00O $(O0OOOO0O0O)
- set 00O0OO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),$(OOOO0OO00O))"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(00O0OO0O0O) $(000OO0O0OO) 0OOO0OO00O
- ifstr $(0OOO0OO00O) != $(OOO0O0O0OO)
- GetRegValue $(0OOO0OO00O) "SystemAdapter" 0O00OO0O0O
- ifint $(RegLastError) == 0
- set O000OO0O0O = *($(0O00OO0O0O),4)
- Split-String $(O000OO0O0O) "\" 0000OO0O0O
- QueryListSize OOOO0O0O0O $(0000OO0O0O)
- set 0OOO0O0O0O = $(!NTN_ServiceBase)"\"*($(0000OO0O0O),$(OOOO0O0O0O))"\Parameters\Tcpip"
- set O0OO0OO00O = 0
- OpenRegKey $(!REG_H_LOCAL) "" $(0OOO0O0O0O) $(000OO0O0OO) O0OO0O0O0O
- ifstr $(O0OO0O0O0O) == $(OOO0O0O0OO)
- CreateRegKey $(!REG_H_LOCAL) {$(0OOO0O0O0O),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0OO0O0O0O
- set O0OO0OO00O = 1
- endif
- ifstr $(O0OO0O0O0O) != $(OOO0O0O0OO)
- SetRegValue $(O0OO0O0O0O) {IpInterfaceContext,$(OO00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
- SetRegValue $(O0OO0O0O0O) {IpInterfaceContextMax,$(OO00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
- OpenRegKey $(0OOO0OO00O) "" "Tcpip" $(000OO0O0OO) OO00OO0O0O
- ifstr $(OO00OO0O0O) != $(OOO0O0O0OO)
- ifint $(O0OO0OO00O) == 1
- Shell "", OOOOO0OO0O, $(OO00OO0O0O), $(O0OO0O0O0O)
- endif
- SetRegValue $(OO00OO0O0O) {IpInterfaceContext,$(OO00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
- SetRegValue $(OO00OO0O0O) {IpInterfaceContextMax,$(OO00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
- CloseRegKey $(OO00OO0O0O)
- endif
- CloseRegKey $(O0OO0O0O0O)
- endif
- endif
- CloseRegKey $(0OOO0OO00O)
- endif
- set-sub 0000OOO00O = $(0000OOO00O),1
- EndForListDo
- endif
- CloseRegKey $(O000OOO00O)
- endif
- return
- [O000O000OO]
- return {Tcpip,NdisWan,NetBT}
- [0000O0OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- Shell "" OOOO00OO0O
- ForListDo $($R0)
- Shell "" 00OO0OO00O $($)
- ifint $($R0) != 0
- set OO0O0OO00O = $($R0)
- set OO00O000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00O000OO) $(000OO0O0OO) 000OO0OO0O
- ifstr $(000OO0OO0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(000OO0OO0O) "SystemAdapter" 0O00OO0O0O
- ifint $(RegLastError) != 0
- else
- set O000OO0O0O = *($(0O00OO0O0O),4)
- Split-String $(O000OO0O0O) "\" 0000OO0O0O
- QueryListSize OOOO0O0O0O $(0000OO0O0O)
- set 0O0O0OO00O = *($(0000OO0O0O),$(OOOO0O0O0O))
- Shell "" 00OO0OO00O $(0O0O0OO00O)
- ifint $($R0) != 0
- set O00O0OO00O = $($R0)
- Shell "" 000O0OO00O $(O00O0OO00O) $(OO0O0OO00O)
- set OOO00OO00O = $($R0)
- Shell "" 0OO00OO00O $(OOO00OO00O) $(O00O0OO00O)
- ifstr $($R0) == 0O0OO0O0OO
- ifint $(OOO00OO00O) != $(OO0O0OO00O)
- Shell "" O0O00OO00O $(O00O0OO00O) $(OOO00OO00O) 0 0
- Shell "" O0O00OO00O $(OO0O0OO00O) $(O00O0OO00O) $(O00O0OO00O) $(OOO00OO00O)
- DeleteRegTree $(!REG_H_LOCAL) $(O00O0OO0OO)"\"$(OO0O0OO00O)
- DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$(OO0O0OO00O)
- else
- Shell "" O0O00OO00O $(O00O0OO00O) 0 0 0
- Shell "" O0O00OO00O $(OO0O0OO00O) $(O00O0OO00O) $(O00O0OO00O) $(OOO00OO00O)
- Shell "" O0O00OO00O 0 $(OOO00OO00O) 0 0
- DeleteRegTree $(!REG_H_LOCAL) $(O00O0OO0OO)"\0"
- DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan0"
- endif
- endif
- endif
- endif
- CloseRegKey $(000OO0OO0O)
- endif
- endif
- EndForListDo
- return
- [O0O00OO00O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\NdisWan"$($0) $(000OO0O0OO) 00O00OO00O
- ifstr $(00O00OO00O) != $(OOO0O0O0OO)
- DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$($1)
- CreateRegKey $(!REG_H_LOCAL) {$(!NTN_ServiceBase)"\NdisWan"$($1),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" OO000OO00O
- ifstr $(OO000OO00O) != $(OOO0O0O0OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO)"\"$($0) $(000OO0O0OO) 0O000OO00O
- ifstr $(0O000OO00O) != $(OOO0O0O0OO)
- DeleteRegTree $(!REG_H_LOCAL) $(O00O0OO0OO)"\"$($1)
- CreateRegKey $(!REG_H_LOCAL) {$(O00O0OO0OO)"\"$($1),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0000OO00O
- ifstr $(O0000OO00O) != $(OOO0O0O0OO)
- Shell "" OOOOO0OO0O $(00O00OO00O) $(OO000OO00O)
- OpenRegKey $(OO000OO00O) "" "Linkage" $(000OO0O0OO) 00OO00OO0O
- ifstr $(00OO00OO0O) == $(OOO0O0O0OO)
- CreateRegKey $(OO000OO00O) {"Linkage",$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 00OO00OO0O
- ifstr $(00OO00OO0O) != $(OOO0O0O0OO)
- CreateRegKey $(OO000OO00O) {"Disabled",$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 00000OO00O
- ifstr $(00000OO00O) != $(OOO0O0O0OO)
- CloseRegKey $(00000OO00O)
- endif
- endif
- endif
- ifstr $(00OO00OO0O) != $(OOO0O0O0OO)
- set OO0OOOO00O = \042\042\042\042\042\042\042\042
- set-subst O0000O00OO = {{Bind,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
- {Export,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
- {Route,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),{$(OO0OOOO00O)"NdisWan"$($1)$(OO0OOOO00O)}}}
- Shell $(O0O00OO0OO) AddValueList $(00OO00OO0O) $(O0000O00OO)
- CloseRegKey $(00OO00OO0O)
- endif
- OpenRegKey $(OO000OO00O) "" "Parameters" $(000OO0O0OO) 000OO0OO0O
- ifstr $(000OO0OO0O) != $(OOO0O0O0OO)
- ifint $($2) == 0
- DeleteRegTree $(000OO0OO0O) DNESignature
- DeleteRegValue $(000OO0OO0O) "SourceParameters"
- else
- set O0000O00OO = {{InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD),$($2)},+
- {SystemAdapter,$(OO00O0O0OO),$(!REG_VT_SZ),"\Device\NdisWan"$($3)}}
- Shell $(O0O00OO0OO) AddValueList $(000OO0OO0O) $(O0000O00OO)
- GetRegValue $(000OO0OO0O) "SourceParameters" OOOOO0O00O
- ifint $(RegLastError) == 0
- set OO00O000OO = $(!NTN_ServiceBase)"\NdisWan"$($3)"\Parameters"
- SetRegValue $(000OO0OO0O) {SourceParameters,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00O000OO)}
- endif
- OpenRegKey $(000OO0OO0O) "" $(00O0OO0OOO) $(000OO0O0OO) 0OOOO0O00O
- ifstr $(0OOOO0O00O) != $(OOO0O0O0OO)
- set O0000O00OO = {{AdapterNumber,$(OO00O0O0OO),$(!REG_VT_SZ),$($2)},+
- {Device,$(OO00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($3)},+
- {InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD),$($2)}}
- Shell $(O0O00OO0OO) AddValueList $(0OOOO0O00O) $(O0000O00OO)
- CloseRegKey $(0OOOO0O00O)
- endif
- endif
- CloseRegKey $(000OO0OO0O)
- endif
- Shell "" OOOOO0OO0O $(0O000OO00O) $(O0000OO00O)
- SetRegValue $(O0000OO00O) {ServiceName,$(OO00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($1)}
- GetRegValue $(O0000OO00O) "Title" O0OO0OOO0O
- ifint $(RegLastError) == 0
- Split-String *($(O0OO0OOO0O),4) "[]" O0OOO0O00O
- set 00OOO0O00O = 0
- set OO0OO0O00O = $(OOO0O0O0OO)
- ForListDo $(O0OOO0O00O)
- ifstr $($) == "["
- set OO0OO0O00O = $(OO0OO0O00O)$($)
- set-add 00OOO0O00O = $(00OOO0O00O),1
- else-ifint $(00OOO0O00O) == 1
- set OO0OO0O00O = $(OO0OO0O00O)$($1)
- set-add 00OOO0O00O = $(00OOO0O00O),1
- else-ifint $(00OOO0O00O) == 3
- set OO0OO0O00O = $(OO0OO0O00O)$($3)
- set-add 00OOO0O00O = $(00OOO0O00O),1
- else
- set OO0OO0O00O = $(OO0OO0O00O)$($)
- endif
- EndForListDo
- SetRegValue $(O0000OO00O) {Title,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO0OO0O00O)}
- endif
- OpenRegKey $(O0000OO00O) "" "NetRules" $(000OO0O0OO) 0O0OO0O00O
- ifstr $(0O0OO0O00O) != $(OOO0O0O0OO)
- set OO0OOOO00O = \042\042
- set-subst O00OO0O00O = {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO0OOOO00O)NdisWan$($1)$(OO0OOOO00O)" yes yes container"}
- SetRegValue $(0O0OO0O00O) $(O00OO0O00O)
- CloseRegKey $(0O0OO0O00O)
- endif
- CloseRegKey $(O0000OO00O)
- endif
- CloseRegKey $(0O000OO00O)
- endif
- CloseRegKey $(OO000OO00O)
- endif
- CloseRegKey $(00O00OO00O)
- endif
- return
- [000O0OO00O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- Shell "" 0OO00OO00O $($1) $($0)
- ifstr $($R0) == 0O0OO0O0OO
- set 000OO0O00O = $($1)
- else
- set 000OO0O00O = $($0)
- endif
- set OOO0O0O00O = 0
- set 0OO0O0O00O = 0
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(OOO0O0O0OO)
- OpenRegKey $(0OOOOOOO0O) "" $($0) $(000OO0O0OO) O0O0O0O00O
- ifint $(RegLastError) == 0
- GetRegValue $(O0O0O0O00O) "ProductName" OO0OOOOO0O
- ifint $(RegLastError) == 0
- set OOO0OOO00O = *($(OO0OOOOO0O),4)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- ifint $(0OO0O0O00O) < *($($),1)
- set 0OO0O0O00O = *($($),1)
- endif
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(000OO0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(0OOO0OOO0O) "ProductName" OO0OOOOO0O
- ifint $(RegLastError) != 0
- else
- ifstr *($(OO0OOOOO0O),4) == $(OOO0OOO00O)
- GetRegValue $(0OOO0OOO0O) "SoftwareName" 00O0O0O00O
- ifint $(RegLastError) != 0
- else
- Shell "" 0OO00OO00O *($($),1) $(OOO0O0O00O)
- ifstr $($R0) == 0O0OO0O0OO
- set OOO0O0O00O = *($($),1)
- endif
- endif
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- endif
- CloseRegKey $(O0O0O0O00O)
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- OO00O0O00O = +
- Shell "" 0OO00OO00O $(OOO0O0O00O) $(000OO0O00O)
- ifstr $($R0) == 0O0OO0O0OO
- ifint $(000OO0O00O) < $(0OO0O0O00O)
- set-add 000OO0O00O = $(0OO0O0O00O),1
- else
- set-add 000OO0O00O = $(000OO0O00O),1
- endif
- goto OO00O0O00O
- endif
- return $(000OO0O00O) $(OOO0O0O00O) $(0OO0O0O00O)
- [00OO0OO00O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- Split-String $($0) "0123456789" 0O00O0O00O
- set O000O0O00O = 0
- ifstr(i) *($(0O00O0O00O),1) == "NdisWan"
- ForListDo $(0O00O0O00O)
- ifint $(#) > 1
- set-mul O000O0O00O = $(O000O0O00O),10
- set-add O000O0O00O = $(O000O0O00O),$($)
- endif
- EndForListDo
- endif
- return $(O000O0O00O)
- [0OO00OO00O]
- Split-String $($0) $($0) 0000O0O00O
- QueryListSize OOOO00O00O $(0000O0O00O)
- Split-String $($1) $($1) 0OOO00O00O
- QueryListSize O0OO00O00O $(0OOO00O00O)
- ifint *($(0000O0O00O),1) == *($(0OOO00O00O),1)
- ifint $(OOOO00O00O) > $(O0OO00O00O)
- set 00OO00O00O = 0O0OO0O0OO
- else-ifint $(OOOO00O00O) < $(O0OO00O00O)
- set 00OO00O00O = O00OO0O0OO
- else
- ifint *($(0000O0O00O),2) > *($(0OOO00O00O),2)
- set 00OO00O00O = 0O0OO0O0OO
- else
- set 00OO00O00O = O00OO0O0OO
- endif
- endif
- else-ifint *($(0000O0O00O),1) > *($(0OOO00O00O),1)
- set 00OO00O00O = 0O0OO0O0OO
- else
- set 00OO00O00O = O00OO0O0OO
- endif
- return $(00OO00O00O)
- [OO0O00OO0O]
- set OO0O00O00O = $($0)
- set 00OO00OO0O = $($1)
- set 0OOO00OO0O = $($2)
- set O0OO00OO0O = $($3)
- set 0O0O00O00O = $($4)
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- GetRegValue $(00OO00OO0O) "Bind" 0OOOOO0O0O
- GetRegValue $(00OO00OO0O) "Export" O00O00O00O
- GetRegValue $(00OO00OO0O) "Route" 000O00O00O
- set 0O0O0000OO = 0
- QueryListSize 0O0O0000OO $(0OOOOO0O0O)
- ifint $(0O0O0000OO) != 4
- goto OOO000O00O
- endif
- set 0O0O0000OO = 0
- QueryListSize 0O0O0000OO *($(0OOOOO0O0O),4)
- ifint $(0O0O0000OO) < 1
- goto OOO000O00O
- endif
- set 0OO000O00O = {}
- set O0O000O00O = {}
- set 00O000O00O = {}
- set OO0000O00O = $(O00OO0O0OO)
- ForListDo *($(0OOOOO0O0O),4)
- Split-String $($) "\" O0OOOO0O0O
- QueryListSize 0O0000O00O $(O0OOOO0O0O)
- set O00000O00O = *($(O0OOOO0O0O),$(0O0000O00O))
- ifcontains(i) $(O00000O00O) in $(0OOO00OO0O)
- set OO0000O00O = $(0O0OO0O0OO)
- endif
- EndForListDo
- ifint $(0O0O00O00O) == $(0O0OO0O0OO)
- ifint $(OO0000O00O) == $(O00OO0O0OO)
- goto OOO000O00O
- endif
- endif
- ForListDo *($(0OOOOO0O0O),4)
- Split-String $($) "\" O0OOOO0O0O
- QueryListSize 0O0000O00O $(O0OOOO0O0O)
- set O00000O00O = *($(O0OOOO0O0O),$(0O0000O00O))
- ifint $(0O0O00O00O) == $(0O0OO0O0OO)
- ifcontains(i) $(O00000O00O) in $(0OOO00OO0O)
- set 0OO000O00O = >($(0OO000O00O), $($))
- set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
- set 00O000O00O = >($(00O000O00O), *(*($(000O00O00O),4),$(#)))
- else
- ifcontains(i) $(O00000O00O) not-in $(O0OO00OO0O)
- endif
- endif
- else
- ifcontains(i) $(O00000O00O) not-in $(0OOO00OO0O)
- set 0OO000O00O = >($(0OO000O00O), $($))
- set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
- set 00O000O00O = >($(00O000O00O), *(*($(000O00O00O),4),$(#)))
- endif
- endif
- EndForListDo
- set 000000O00O = {*($(0OOOOO0O0O),1),+
- *($(0OOOOO0O0O),2),+
- *($(0OOOOO0O0O),3),+
- $(0OO000O00O)}
- set OOOOOO000O = {*($(O00O00O00O),1), +
- *($(O00O00O00O),2), +
- *($(O00O00O00O),3), +
- $(O0O000O00O)}
- set 0OOOOO000O = {*($(000O00O00O),1), +
- *($(000O00O00O),2), +
- *($(000O00O00O),3), +
- $(00O000O00O)}
- SetRegValue $(00OO00OO0O) $(000000O00O)
- SetRegValue $(00OO00OO0O) $(OOOOOO000O)
- SetRegValue $(00OO00OO0O) $(0OOOOO000O)
- OOO000O00O = +
- return $(0O0OO0O0OO)
- [Install-Option]
- set STF_VITAL = ""
- ifstr(i) $(0O0000O0OO) == "YES"
- AddSectionFilesToCopyList O0OOOO000O-$(00O000O0OO) $(OO0000O0OO) $(!STF_WINDOWSSYSPATH)\drivers
- endif
- ifstr(i) $(O00000O0OO) == "YES"
- set !STF_NCP_FLUSH_COPYLIST = TRUE
- CopyFilesInCopyList
- endif
- ifstr(i) $(000000O0OO) == "YES"
- endif
- exit
- [Source Media Descriptions]
- 1 = "DNE Disk", TAGFILE = dne.sys
- [O0OOOO000O-DNE]
- 1, dne.sys, OVERWRITE=ALWAYS
- [O0OOOO000O-Inf]
- 1, oemsetnt.inf, OVERWRITE=ALWAYS, RENAME=$(!UG_Filename)
- [OOOOOO00OOENG]
- Help = "&Help"
- Exit = "Cancel"
- OK = "OK"
- HelpContext = ""
- Continue = "Continue"
- Cancel = "Cancel"
- [OO0OOO0OOOENG]
- 0OOOOO00OO = "Deterministic Network Enhancer Setup"
- 00OOOO000O = "Deterministic Network Enhancer"
- OO0OOO000O = "The Deterministic Networks Network Enhancer."
- OOOOO000OO = "Deterministic Network Enhancer"
- 000O0O00OO = "Deterministic Network Enhancer"
- 00000O00OO = "Deterministic Network Enhancer"
- O0OOO000OO = "Deterministic Network Enhancer Transport"
- 0OOOO000OO = "Deterministic Network Enhancer Transport"
- 00O0OO00OO = "Deterministic Network Enhancer Transport"
- O00OO000OO = "Deterministic Network Enhancer Adapter Shim"
- OO0OO000OO = "Deterministic Network Enhancer Adapter Shim"
- 0O0OO000OO = "Deterministic Network Enhancer Adapter Shim"
- 000O0OOO0O = "DNE"
- OOO00OOO0O = "Deterministic Network Enhancer Virtual Adapter"
- 0O0OOO000O = "Deterministic Network Enhancer Virtual Adapter"
- O00OOO000O = "Error: "$(0OOOOO00OO)
- 000OOO000O = "Shell Code Error."
- OO00OO00OO = "is already installed."
- O0OO0O00OO = "requires NT 4.0 and Service Pack 3."
- [00OO0O00OOENG]
- OO0O0O00OO = "Installing the Deterministic Network Enhancer"
- [0OO000O0OOENG]
- DNE = "Deterministic Network Enhancer"
-