; ========================================================= ; OEMSETUP.INF - %VER 1.7 ; --------------------------------------------------------- ; Mini PCI Type 1B 10/100 LAN card by 3Com NT4.0 Setup File ; ========================================================= [IntstallOptions] Install_dRMON = "NO" Install_tnic_Diag = "NO" Install_PACE = "NO" Install_Shortcuts = "NO" [Identification] OptionType = NetAdapter [PlatformsSupported] ISA EISA "Jazz-Internal Bus" PCI [Options] Elpc555 [DriverFilenameConstantsNDIS4] NetEventDLL = "%SystemRoot%\System32\netevent.dll;%SystemRoot%\System32\drivers\el555nd4.sys" ProductSoftwareImagePath = "%SystemRoot%\System32\drivers\el555nd4.sys" ProductSoftwareUpgradePath = "\SystemRoot\System32\drivers\el555nd4.sys" [FileConstants] UtilityInf = "UTILITY.INF" ParamInf = "NCPARAM.INF" subroutineinf = "SUBROUTN.INF" SoftwareType = "driver" Exit_Code = 0 NetEventDLL = "%SystemRoot%\System32\netevent.dll" IoLogMsgDLL = "%SystemRoot%\System32\IoLogMsg.dll" ; TrayIconExe = "comsmd.exe -try" NetworkCardsKey = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\" Manufacturer = "3Com" ProductMajorVersion = "1" ProductMinorVersion = "0" ProductReview = "1" ProductVersion = $(ProductMajorVersion)"."$(ProductMinorVersion) ProductSoftwareName = "Elpc555" NetRuleSoftwareType = "elpc555Sys ndisDriver elpc555Driver" NetRuleSoftwareUse = $(SoftwareType) NetRuleSoftwareBindForm = """elpc555Sys"" yes no container" NetRuleSoftwareClass = {"elpc555Driver basic"} NetRuleSoftwareBindable = {"elpc555Driver elpc555Adapter non exclusive 100"} ProductHardwareName = "elpc555" NetRuleHardwareBindForm = " yes yes container" ProductKeyName = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion" ParamKeyName = $(!NTN_ServiceBase)"\"$(ProductHardwareName)"\Parameters" FunctionTitle = "3Com 3C555 Adapter Setup" ProductSoftwareDescription = "3Com 3C555 Adapter Driver" ProductSoftwareTitle = "3Com 3C555 Adapter Driver" 3CNUMBER = "3C555" GROUP_NAME = "Mini PCI Type 1B 10/100 LAN card by 3Com (Ethernet)" NetRuleHardwareType = "elpc555 elpc555Adapter" NetRuleHardwareClass = {"elpc555Adapter basic"} ProductHardware20565Title = "Mini PCI Type 1B 10/100 LAN card by 3Com (Ethernet)" ProductHardware20565Description = "Mini PCI Type 1B 10/100 LAN card by 3Com (Ethernet)" AdapterType = 5 CFIDList = {20565} [GeneralConstants] from = "" to = "" ExitCodeOk = 0 ExitCodeCancel = 1 ExitCodeFatal = 2 KeyNull = "" MAXIMUM_ALLOWED = 33554432 RegistryErrorIndex = NO_ERROR KeyProduct = "" KeyParameters = "" TRUE = 1 FALSE = 0 NoTitle = 0 ExitState = "Active" OldVersionExisted = $(FALSE) DriverPath = $(!STF_NTPATH)\drivers NT350VersionConstant = "3.50" NT310VersionConstant = "3.10" NT400VersionConstant = "(4.0)" INF_PROCESSER = "I386" [date] Now = {} ? $(!LIBHANDLE) GetSystemDate [Identify] read-syms Identification set Status = STATUS_SUCCESSFUL set Identifier = $(OptionType) set Media = #("Source Media Descriptions", 1, 1) Return $(Status) $(Identifier) $(Media) [ReturnOptions] set Status = STATUS_FAILED set OptionList = {} set OptionTextList = {} set LanguageList = ^(LanguagesSupported, 1) Ifcontains(i) $($0) in $(LanguageList) ifstr(i) $($1) == "" goto returnoptions endif set PlatformList = ^(PlatformsSupported, 1) Ifcontains(i) $($1) in $(PlatformList) goto returnoptions else set Status = STATUS_NOTSUPPORTED goto finish_ReturnOptions endif else set Status = STATUS_NOLANGUAGE goto finish_ReturnOptions endif returnoptions = + set OptionList = ^(Options, 1) set OptionTextList = ^(OptionsText$($0), 1) set Status = STATUS_SUCCESSFUL finish_ReturnOptions = + Return $(Status) $(OptionList) $(OptionTextList) [PaceRegistry] read-syms GeneralConstants read-syms FileConstants read-syms DialogConstants$(!STF_LANGUAGE) read-syms FileConstants$(!STF_LANGUAGE) OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\3Com\"$(ProductSoftwareName) $(!REG_KEY_ALL_ACCESS) KeyNt set TrayIconList = {PACENAME,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)} SetRegValue $(KeyNt) $(TrayIconList) CloseRegKey $(KeyNt) OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE" $(!REG_KEY_WRITE) SOFTPACEKEY OpenRegKey $(SOFTPACEKEY) "" "3Com" $(!REG_KEY_WRITE) COMPACEKEY ifstr $(COMPACEKEY) == "" CreateRegKey $(SOFTPACEKEY) {"3Com", 0, GenericClass} "" $(!REG_KEY_WRITE) "" COMPACEKEY endif OpenRegKey $(COMPACEKEY) "" "DA" $(!REG_KEY_WRITE) DAPACEKEY ifstr $(DAPACEKEY) == "" CreateRegKey $(COMPACEKEY) {"DA", 0, GenericClass} "" $(!REG_KEY_WRITE) "" DAPACEKEY endif OpenRegKey $(DAPACEKEY) "" "CardsSupported" $(!REG_KEY_WRITE) CARDPACEKEY ifstr $(CARDPACEKEY) == "" CreateRegKey $(DAPACEKEY) {"CardsSupported", 0, GenericClass} "" $(!REG_KEY_WRITE) "" CARDPACEKEY endif OpenRegKey $(CARDPACEKEY) "" "elpc555" $(!REG_KEY_WRITE) elpc555PACEKEY ifstr $(elpc555PACEKEY) == "" CreateRegKey $(CARDPACEKEY) {"elpc555", 0, GenericClass} "" $(!REG_KEY_WRITE) "" elpc555PACEKEY endif SetRegValue $(elpc555PACEKEY) {"CardName", 0, $(!REG_VT_SZ), $(GROUP_NAME)} SetRegValue $(elpc555PACEKEY) {"Pace", 0, $(!REG_VT_SZ), "1"} SetRegValue $(elpc555PACEKEY) {"FastIP", 0, $(!REG_VT_SZ), "1"} OpenRegKey $(DAPACEKEY) "" "Pace" $(!REG_KEY_WRITE) PACEPACEKEY ifstr $(PACEPACEKEY) == "" CreateRegKey $(DAPACEKEY) {"Pace", 0, GenericClass} "" $(!REG_KEY_WRITE) "" PACEPACEKEY endif OpenRegKey $(PACEPACEKEY) "" "Applications" $(!REG_KEY_WRITE) APPPACEKEY ifstr $(APPPACEKEY) == "" CreateRegKey $(PACEPACEKEY) {"Applications", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPPACEKEY endif OpenRegKey $(APPPACEKEY) "" "Emotion CreativePartner (IPX)" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Emotion CreativePartner (IPX)", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"IPX"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"87C7"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"87C8"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "Emotion CreativePartner (TCP/IP)" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Emotion CreativePartner (TCP/IP)", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"0453"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"0455"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "InSoft Communique!" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"InSoft Communique!", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"1025, 1500"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"1050, 1525"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "Picturetel LiveLAN (over IPX)" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Picturetel LiveLAN (over IPX)", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"IPX"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"4050"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"4082"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "Picturetel LiveLAN (over TCP/IP)" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Picturetel LiveLAN (over TCP/IP)", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"06a4"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"06d6"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "Precept FlashWare" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Precept FlashWare", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"8000, C000"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"8000, C000"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "Progressive Networks RealAudio" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Progressive Networks RealAudio", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"6970"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"7170"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "Starlight Networks StarCast" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Starlight Networks StarCast", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"1911"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"1911"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "VCON Cruiser 100" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"VCON Cruiser 100", 0, GenericClss} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"1500, 1600"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"1500, 1600"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "VXtreme Web Theater" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"VXtreme Web Theater", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"7000"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"7020"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "Xing Technology Streamworks" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Xing Technology Streamworks", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"1558"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"1558"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "Vosaic Software Server" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Vosaic Software Server", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"TCP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"04D3"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"04D3"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) OpenRegKey $(APPPACEKEY) "" "Vosaic Software Client" $(!REG_KEY_WRITE) APPSPECPACEKEY ifstr $(APPSPECPACEKEY) == "" CreateRegKey $(APPPACEKEY) {"Vosaic Software Client", 0, GenericClass} "" $(!REG_KEY_WRITE) "" APPSPECPACEKEY endif set NewValueList = {{Protocol,$(NoTitle),$(!REG_VT_SZ),"UDP"},+ {Enabled,$(NoTitle),$(!REG_VT_SZ),"FALSE"}, + {RangeStart,$(NoTitle),$(!REG_VT_SZ),"F169"}, + {RangeEnd,$(NoTitle),$(!REG_VT_SZ),"F17D"}} Shell $(UtilityInf), AddValueList, $(APPSPECPACEKEY), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(APPSPECPACEKEY) CloseRegKey $(APPPACEKEY) CloseRegKey $(PACEPACEKEY) CloseRegKey $(elpc555PACEKEY) CloseRegKey $(CARDPACEKEY) CloseRegKey $(DAPACEKEY) CloseRegKey $(COMPACEKEY) CloseRegKey $(SOFTPACEKEY) return [InstallOption] Set !DebugOutputControl = 1 Debug-Output " Enter into InstallOption !!!" set CurrLang = $($0) set Option = $($1) set SrcDir = $($2) set AddCopy = $($3) set DoCopy = $($4) set DoConfig = $($5) set LanguageList = ^(LanguagesSupported, 1) Ifcontains(i) $($0) NOT-IN $(LanguageList) Return STATUS_NOLANGUAGE endif set-subst LF = "\n" ; read-syms IntstallOptions read-syms GeneralConstants read-syms FileConstants read-syms DialogConstants$(!STF_LANGUAGE) ifstr(i) $(!NTN_Origination) == "NCPA" set Continue = "OK" endif read-syms FileConstants$(!STF_LANGUAGE) ;ms12-13-98 added read-syms FileConstants$(!STF_LANGUAGE)"-"$(Option) ;ms12-13 detect date set-title $(FunctionTitle) set to = Begin set from = Begin set CommonStatus = STATUS_SUCCESSFUL EndWait Begin = + set CurrentVersionValue = "" OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Microsoft\Windows Nt\CurrentVersion" $(!REG_KEY_READ) KeyNt Ifstr(i) $(KeyNt) != "" GetRegValue $(KeyNt) "CurrentVersion" CurrentVersionValue Debug-Output "$(InfFile) : WinNT CurrentVersion ="$(CurrentVersionValue) CloseRegKey $(KeyNt) Endif ; ifstr(i) (*($(CurrentVersionValue),4)) == $(NT400VersionConstant) set NDIS_VER = NDIS4 set ProductSoftwareImagePath = "\SystemRoot\System32\drivers\EL555ND4.SYS" ; else ; set NDIS_VER = NDIS3 ; endif read-syms DriverFilenameConstants$(NDIS_VER) ifstr(i) (*($(CurrentVersionValue),4)) == $(NT310VersionConstant) Debug-Output "$(InfFile) : Configureadapter" set Error = "Windows NT v3.10 is not support by this product" goto fatal endif Set ActivateDetection = FALSE Ifstr(i) $(!NTN_InstallMode) == deinstall set StartLabel = removeadapter else-Ifstr(i) $(!NTN_InstallMode) == Update set StartLabel = UpgradeSoftware else-Ifstr(i) $(!NTN_InstallMode) == bind set StartLabel = bindingadapter else-Ifstr(i) $(!NTN_InstallMode) == configure set StartLabel = configureadapter ; ifstr $(!STF_PLATFORM) == $(INF_PROCESSER) ; RunProgram ExitCode "Windows Directory" "" tnicdiag.exe ; set CommonStatus = STATUS_USERCANCEL ; goto end ; else- Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase) Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set Error = $($R0) set from = end set to = end goto nonfatalinfo else set StartLabel = configureadapter endif else set StartLabel = installadapter set OEM_ABANDON_OPTIONS = {} set OEM_ABANDON_SOFTWARE = FALSE set OEM_ABANDON_ON = TRUE endif ;;;;ms set DuplexValue = *($(DuplexList), 1) set PolarityValue = *($(PolarityList),1) ;;;;ms ; Debug-Output "$(InfFile) : ==================================================" ; Debug-Output "$(InfFile) : STF_CWDIR is: "$(!STF_CWDIR) ; Debug-Output "$(InfFile) : STF_SRCDIR is: "$(!STF_SRCDIR) ; Debug-Output "$(InfFile) : STF_LANGUAGE is: "$(!STF_LANGUAGE) ;Debug-Output "$(InfFile) : Option is: "$(Option) ; Debug-Output "$(InfFile) : !STF_NCN_InstallMode is:"$(!NTN_InstallMode) ; Debug-Output "$(InfFile) : !STF_NCDETECT is: "$(!STF_NCDETECT) ; Debug-Output "$(InfFile) : !STF_NCOPTION is: "$(!STF_NCOPTION) ; Debug-Output "$(InfFile) : !STF_NCDETCARD is: "$(!STF_NCDETCARD) ; Debug-Output "$(InfFile) : !STF_NCDETINFO is: "$(!STF_NCDETINFO) ; Debug-Output "$(InfFile) : !STF_GUI_UNATTENDED is: "$(!STF_GUI_UNATTENDED) ; Debug-Output "$(InfFile) : !STF_BusType is $(!STF_BUSTYPE)" ; Debug-Output "$(InfFile) : !STF_BusTypeList is $(!STF_BUSTYPELIST)" ; Debug-Output "$(InfFile) : ==================================================" set from = $(fatal) set to = $(fatal) goto $(StartLabel) installadapter = + Debug-Output "$(InfFile) : Installadapter" OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct Debug-Output "$(InfFile) : $(KeyProduct)" Ifstr $(KeyProduct) != $(KeyNull) CloseRegKey $(KeyProduct) Debug-Output "$(InfFile) : Installadapter---0000" ifstr(i) !(NTN_RegBase) == $(ProductKeyName) Shell $(UtilityInf), VerExistedDlg, $(ProductSoftwareTitle),+ $(ProductVersion) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error: cannot get an error string." goto ShellCodeError endif goto end else Shell $(UtilityInf), CardExistedDlg ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error: cannot get an error string." goto ShellCodeError endif ifstr(i) $($R1) != "OK" goto end endif set OldVersionExisted = $(TRUE) endif endif Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) NO Ifint $($ShellCode) != $(!SHELL_CODE_OK) Goto ShellCodeError Else-Ifstr(i) $($R0) == STATUS_FAILED Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL" ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set Error = $($R0) Goto fatal Else-Ifstr(i) $($R0) == STATUS_USERCANCEL Goto successful Endif ;ms; from g2, may remove it. ;Set FileToCheck = $($R1)\OEMSETUP.INF ; LibraryProcedure FilePresent,$(!LIBHANDLE), CheckFileExistance $(FileToCheck) ; Ifstr(i) $(FilePresent) != "YES" ; Goto installadapter ; Endif ;;;;ms Set SrcDir = $($R1) install "Install-Dll" ;;;;ms Goto adapteroptions configureadapter = + ;ms 12/14 removed ;ms Debug-Output "$(InfFile) : Configureadapter" ;ms set Error = "Cannot configure the software component" ;ms goto fatal Debug-Output "Mark Shen: Configureadapter" ;;;;;;;;ms 12-8-98 Ifstr $(KeyProduct) == $(KeyNull) OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase) $(MAXIMUM_ALLOWED) KeyProduct Ifstr $(KeyProduct) == $(KeyNull) set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE Debug-Output "Cannot find component product key" goto fatalregistry Endif Endif Debug-Output "INF: Shelling to FindService" Shell $(UtilityInf) FindService, $(KeyProduct) Ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "INF: FindService shell failure" Goto ShellCodeError Endif Ifstr(i) $($R0) != NO_ERROR Debug-Output "INF: FindService Shell error: "$($R0) Goto fatalregistry endif Set KeyParameters = $($R2) CloseRegKey $($R1) Ifstr $(KeyParameters) == $(KeyNull) set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE Debug-Output "Cannot find component service" goto fatalregistry endif set OldVersionExisted = $(TRUE) set ValueName = "" set ValueData = "" set ValueStr = "" set ValueList = {} EnumRegValue $(KeyParameters) ValueList ForListDo $(ValueList) set ValueItem = $($) set ValueName = *($(ValueItem),1) set ValueData = *($(ValueItem),4) ifstr(i) $(ValueName) == "Polarity" set PolarityIndex = $(ValueData) else-ifstr(i) $(ValueName) == "DuplexMode" set DuplexIndex = $(ValueData) endif EndForListDo set PolarityValue = *($(PolarityList), ~($(PolarityValues),$(PolarityIndex))) ifstr(i) $(PolarityValue) == "" set PolarityValue = *($(PolarityList), 1) Debug-Output " ----- Porarity == $(PolarityValue) -----" endif set DuplexValue = *($(DuplexList), ~($(DuplexValues),$(DuplexIndex))) ifstr(i) $(DuplexValue) == "" set DuplexValue = *($(DuplexList), 1) endif ;;;;;;;;ms 12-8-98 adapteroptions = + ;;ms12/13/98 LoadLibrary "disk 1" $(DialogDllName) hLib read-syms FileDependentDlg$(!STF_LANGUAGE)"-"$(Option) set ENABLER = 0 ui start "InputDlg" $(hLib) set ExitButton = $(ButtonPressed) FreeLibrary $(hLib) ifstr(i) $(DLGEVENT) == "CONTINUE" set PolarityIndex = $(Combo1Out) set DuplexIndex = $(Combo2Out) set ExitButton = $(ButtonPressed) ui pop 1 else-ifstr(i) $(DLGEVENT) == "EXIT" set CommonStatus = STATUS_USERCANCEL ui pop 1 goto end else set CommonStatus = STATUS_USERCANCEL ui pop 1 Debug-Output "Action: unknown. Bye." goto end endif ;ms12/14 goto writeparameters ;;;;;ms 12/13/98 Debug-Output "$(InfFile) : Adapteroptions" set from = adapteroptions ifstr(i) $(!NTN_InstallMode) == configure goto updateparameters Debug-Output " ----- Out of Updateparameter !!-----" endif installproduct =+ Debug-Output "$(InfFile) : installproduct" StartWait set AdapterList = $($R1) ifint $(OldVersionExisted) == $(FALSE) Ifstr(i) $(DoCopy) == "YES" Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) NO ifint $($ShellCode) != $(!SHELL_CODE_OK) Goto ShellCodeError Else-Ifstr(i) $($R0) == STATUS_FAILED Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL" ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set Error = $($R0) Goto fatal Else-Ifstr(i) $($R0) == STATUS_USERCANCEL Goto successful Endif Endif install "Install-Option" ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE" ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set Error = $($R0) goto fatal endif endif OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(ProductHardwareName) $(!REG_KEY_READ) KeyNt CloseRegKey $(KeyNt) Ifstr(i) $(KeyNt) == "" Debug-Output "$(InfFile) : AddSoftwareComponent" Debug-Output "$(InfFile) : --> $(Manufacturer)" Debug-Output "$(InfFile) : --> $(ProductSoftwareName)" Debug-Output "$(InfFile) : --> $(ProductSoftwareTitle)" Debug-Output "$(InfFile) : --> $(STF_CONTEXTINFNAME)" Debug-Output "$(InfFile) : --> $(ProductSoftwareImagePath)" Debug-Output "$(InfFile) : --> $(NetEventDLL)" Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), + $(ProductSoftwareName), + $(ProductSoftwareName), + $(ProductSoftwareTitle), $(STF_CONTEXTINFNAME), + $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+ $(NetEventDLL) Set OEM_ABANDON_SOFTWARE = TRUE ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR" EndWait CloseRegKey $($R1) CloseRegKey $($R2) CloseRegKey $($R3) CloseRegKey $($R4) CloseRegKey $($R5) goto fatalregistry endif Set SoftProductKey = $($R1) Set SoftNetRuleKey = $($R2) Set SoftServiceKey = $($R3) Set SoftParameterKey = $($R4) Set SoftLinkageKey = $($R5) set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+ {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+ {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+ {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)},+ {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+ {Review,$(NoTitle),$(!REG_VT_DWORD),$(ProductReview)},+ {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+ {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}} Shell $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR" EndWait CloseRegKey $(SoftProductKey) CloseRegKey $(SoftNetRuleKey) CloseRegKey $(SoftServiceKey) CloseRegKey $(SoftParameterKey) CloseRegKey $(SoftLinkageKey) goto fatalregistry endif set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+ {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, + {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, + {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, + {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareBindable)}, + {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}} Shell $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set RegistryErrorIndex = $($R0) CloseRegKey $(SoftProductKey) CloseRegKey $(SoftNetRuleKey) CloseRegKey $(SoftServiceKey) CloseRegKey $(SoftParameterKey) CloseRegKey $(SoftLinkageKey) set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+ {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, + {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, + {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, + {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareBindable)}, + {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}} Shell $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR" EndWait goto fatalregistry endif endif Debug-Output "$(InfFile) : About to look for 3Com PCI Cards" set TargetVersion = *($(CurrentVersionValue),4) Debug-Output "$(InfFile) : Current Version:"$(TargetVersion) ifstr $(TargetVersion) == $(NT350VersionConstant) Debug-Output "Running on WindowsNT 3.50" set Version350 = $(TRUE) else Debug-Output "Running on WindowsNT 3.51 or higher" set Version350 = $(FALSE) endif ifint $(Version350) == $(TRUE) Debug-Output "Running on WindowsNT v3.50, Not using PCI Detection!!!" ifstr $(!STF_GUI_UNATTENDED) == "YES" Debug-Output "$(InfFile) : Running in GUI unattended mode" ifstr(i) $(!AutoNetInterfaceType) != "" set BusInterfaceType = $(!AutoNetInterfaceType) else set BusInterfaceType = 5 endif ifstr(i) $(!AutoNetBusNumber) != "" set BusNumber = $(!AutoNetBusNumber) else set BusNumber = 0 endif set NTDetected = $(FALSE) set AdapterList = {{$(Option),0, XXXXX}} Debug-Output "$(InfFile) : BusInterfaceType = $(BusInterfaceType)" Debug-Output "$(InfFile) : BusNumber = $(BusNumber)" else Debug-Output "$(InfFile) : Running 3.50 Bus Dialog" set BusInterfaceType = 5 set BusNumber = 0 set NTDetected = $(FALSE) Shell $(UtilityInf),GetBusTypeDialog,$(ProductHardwareXXXXXDescription) $(BusInterfaceType) $(BusNumber) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error." goto ShellCodeError endif set BusInterfaceType = $($R1) set BusNumber = $($R2) set AdapterList = {{$(Option),0, XXXXX}} Debug-Output "$(InfFile) : BusInterfaceType = $(BusInterfaceType)" Debug-Output "$(InfFile) : BusNumber = $(BusNumber)" endif else Debug-Output "$(InfFile) : Running 3.51 or higher using PCI Dectection" set NTDetected = $(TRUE) set Vendor = 4279 set CFIDList = $(CFIDList) Debug-Output "$(InfFile) : VendorID = $(Vendor)" Debug-Output "$(InfFile) : CFIDList = $(CFIDList)" set AdapterList = {} ForListDo $(CFIDList) set-div CFID = $($) 1 set DeviceID = $($) Shell $(UtilityInf), GetPCIInformation, $(Vendor) $(CFID) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif ForListDo $($R0) set AdapterList = >($(AdapterList), {*($($),1), *($($),2), $(DeviceID)}) EndForListDo EndForListDo ifstr(i) $(AdapterList) == {} set Error = $(CANNOT_FIND_ANY_CARD) set CommonStatus = USER_CANCEL set from = end goto nonfatal endif endif Debug-Output "$(InfFile) : Adapterlist = $(AdatperList)" ForListDo $(AdapterList) Set InstallCard = "YES" ifint $(NTDetected) == $(TRUE) set DetectedBusNum = *($($),1) set DetectedSlotNum = *($($),2) set DeviceID = *($($),3) Debug-Output "$(InfFile) : DetectedBusNumber = $(DetectedBusNum)" Debug-Output "$(InfFile) : DetectedSlotNum = $(DetectedSlotNum)" Shell $(UtilityInf), IsNetCardAlreadyInstalled, $(DetectedBusNum), + $(DetectedSlotNum), $(ProductHardware$(DeviceID)Description), $(ProductHardwareName) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif ifstr $($R0) != "NO_ERROR" set Error = $($R0) goto fatal endif ifstr(i) $($R1) == "YES" set InstallCard = "NO" endif endif ifstr(i) $(InstallCard) == "NO" Debug-Output "$(InfFile) : Card Already at $(DetectedBusNum):$(DetectedSlotNum) already installed!" set Error = "An adapter at $(DetectedBusNum):$(DetectedSlotNum) is already installed!" Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif else Debug-Output "$(InfFile) : Installing Card at $(DetectedBusNum):$(DetectedSlotNum)!" Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName) ifint $($R4) != -1 Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4)) endif ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR" EndWait CloseRegKey $($R1) CloseRegKey $($R2) CloseRegKey $($R3) goto fatalregistry endif Set HardNetCardKey = $($R1) Set HardNetRuleKey = $($R2) Set HardParameterKey = $($R3) set AdapterNumber = $($R4) set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+ {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(DeviceID)Title)},+ {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(DeviceID)Description)},+ {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+ {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+ {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}} Shell $(UtilityInf), AddValueList, $(HardNetCardKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set BusTypeNum = 5 ifstr(i) $(DeviceID) == "20565" set CardType = 0 else set CardType = 2 endif ifint $(NTDetected) == $(TRUE) set BusNumber = $(DetectedBusNum) set SlotNum = $(DetectedSlotNum) set BusInterfaceType = $(BusTypeNum) ;ms set WakeOnLan = YES ;ms set WakeOnLink = YES ;ms set FlowControl = YES Debug-Output "$(InfFile) : Set HardwareParameterKey = $(NewValueList)" Debug-Output "SHEN!!!! " ;;;;ms 12/14 added set PolarityValue = *($(PolarityValues), ~($(PolarityList), $(PolarityIndex))) set DuplexValue = *($(DuplexValues),~($(DuplexList), $(DuplexIndex))) ; set NewValueList = {{Polarity, $(NoTitle),$(!REG_VT_DWORD),$(PolarityValue)},+ ; {DuplexMode, $(NoTitle),$(!REG_VT_DWORD),$(DuplexValue)},+ ; {MediaType, $(NoTitle),$(!REG_VT_DWORD),1},+ ; {BusType, $(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+ ; {BusNumber, $(NoTitle),$(!REG_VT_DWORD),0},+ ; {TransmitBufferSize, $(NoTitle),$(!REG_VT_DWORD),7168},+ ; {AdapterType, $(NoTitle),$(!REG_VT_DWORD),0},+ ; {DriverMode, $(NoTitle),$(!REG_VT_DWORD),1},+ ; {OSType, $(NoTitle),$(!REG_VT_DWORD),1}} ;ms 12/14 ;;;;;;ms 12/14 Set NewValueList = {+ {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumber)},+ {Slot,$(NoTitle),$(!REG_VT_DWORD),$(SlotNum)},+ ;ms {WakeOnMagic,$(NoTitle),$(!REG_VT_SZ),$(WakeOnLan)},+ ;ms {WakeOnLink,$(NoTitle),$(!REG_VT_SZ),$(WakeOnLink)},+ ;ms {FlowControl,$(NoTitle),$(!REG_VT_SZ),$(FlowControl)},+ {Polarity,$(NoTitle),$(!REG_VT_SZ),$(PolarityValue)},+ {DuplexMode,$(NoTitle),$(!REG_VT_SZ),$(DuplexValue)},+ } ;;;;;;ms 12/14 Debug-Output "$(InfFile) : Set HardwareParameterKey = $(NewValueList)" Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif Set NewValueList = { {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(SlotNum)} } Debug-Output "$(InfFile) : Set HardwareParameterKey = $(NewValueList)" Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif else Set NewValueList = {+ {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumber)},+ } Debug-Output "$(InfFile) : Set HardwareParameterKey = $(NewValueList)" Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif endif Set NewValueList = {+ {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusInterfaceType)},+ {CardType,$(NoTitle),$(!REG_VT_DWORD),$(CardType)},+ {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+ } Debug-Output "$(InfFile) : Set HardwareParameterKey = $(NewValueList)" Shell $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)"""" set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm) set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardwareType)},+ {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, + {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardwareClass)}, + {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}} Debug-Output "$(InfFile) : HardwareRuleKey = $(NewValueList)" Shell $(UtilityInf), AddValueList, $(HardNetRuleKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(HardNetCardKey) CloseRegKey $(HardNetRuleKey) CloseRegKey $(HardParameterKey) endif EndForListDo OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(ProductHardwareName) $(!REG_KEY_ALL_ACCESS) KeyService Ifstr $(KeyService) != "" SetRegValue $(KeyService) {ImagePath,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareUpgradePath)} else goto fatalregistry endif CloseRegKey $(KeyService) OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\EventLog\System\"$(ProductHardwareName) $(!REG_KEY_ALL_ACCESS) KeyEventLog Ifstr $(KeyEventLog) != "" SetRegValue $(KeyEventLog) {EventMessageFile,$(NoTitle),$(!REG_VT_SZ),$(NetEventDLL)} else goto fatalregistry endif CloseRegKey $(KeyEventLog) ifstr $(!STF_PLATFORM) == $(INF_PROCESSER) install "Install-Uninstaller" OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\3Com\"$(ProductSoftwareName) $(!REG_KEY_ALL_ACCESS) + KeyNt set TrayIconList = {3CUNINSTALL,$(NoTitle),$(!REG_VT_SZ),$(3CNUMBER)} SetRegValue $(KeyNt) $(TrayIconList) CloseRegKey $(KeyNt) ifstr(i) (*($(CurrentVersionValue),4)) == $(NT400VersionConstant) ifstr $(Install_tnic_Diag) == "YES" OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" + $(!REG_KEY_ALL_ACCESS) KeyNt ifstr $(KeyNt) == "" CreateRegKey $(!REG_H_LOCAL) {"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", + 0, GenericClass} "" $(!REG_KEY_ALL_ACCESS) "" KeyNt endif OpenRegKey $(KeyNt) "" "3ComNicUnInstall" $(!REG_KEY_ALL_ACCESS) KeyNt2 ifstr $(KeyNt2) == "" CreateRegKey $(KeyNt) {"3ComNicUnInstall" , 0, GenericClass} "" $(!REG_KEY_ALL_ACCESS) + "" KeyNt2 endif set NewValueList = {{DisplayName, $(NoTitle), $(!REG_VT_SZ), "3Com NIC Diagnostics"}, + {UninstallString, $(NoTitle), $(!REG_VT_SZ), "UN3C555.EXE"}} Shell $(UtilityInf), AddValueList, $(KeyNt2), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(KeyNt) CloseRegKey $(KeyNt2) endif endif ifstr(i) (*($(CurrentVersionValue),4)) == $(NT400VersionConstant) install "Install-Tray" OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" + $(!REG_KEY_ALL_ACCESS) KeyNt ;ms set TrayIconList = {COMSMDEXE,$(NoTitle),$(!REG_VT_SZ),$(TrayIconExe)" -off"} ;ms SetRegValue $(KeyNt) $(TrayIconList) CloseRegKey $(KeyNt) endif ifstr $(Install_PACE) == "YES" Debug-Output "$(InfFile) : (Install_PACE) == "YES"" install "Install-PACE" Shell "", PaceRegistry endif ifstr $(Install_dRMON) == "YES" Debug-Output "$(InfFile) : (Install_dRMON) == "YES"" install "Install-dRMON" Shell $(!STF_WINDOWSSYSPATH)\drmonnt.inf, InstallOption, $(CurrLang),+ $(Option) ,$(SrcDir), YES, YES, YES, NO endif ifstr $(Install_tnic_Diag) == "YES" Debug-Output "$(InfFile) : (Install_tnic_Diag) == "YES"" install "Install-tnicdiag" ifstr(i) $(!STF_GUI_UNATTENDED) != "YES" ;ms RunProgram ExitCode "Windows Directory" "" tnicdiag.exe "-inf" endif ifstr(i) (*($(CurrentVersionValue),4)) == $(NT400VersionConstant) ifstr(i) $(Install_Shortcuts) == "YES" Debug-Output "$(InfFile) : (Install_Shortcuts) == "YES"" ;ms RunProgram ExitCode "Windows Directory" "" COMSMD.EXE "-setup" Debug-Output "$(InfFile) : Enabling Tray Icon" OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" + $(!REG_KEY_ALL_ACCESS) KeyNt ;ms set TrayIconList = {COMSMDEXE,$(NoTitle),$(!REG_VT_SZ),$(TrayIconExe)" -try"} ;ms SetRegValue $(KeyNt) $(TrayIconList) CloseRegKey $(KeyNt) endif endif endif endif EndWait goto successful updateparameters =+ Debug-Output "MS INFO: Updateparameters" set BusTypeNum = 5 Debug-Output "$(InfFile) : Updateparameters" set HardParameterKey = $($R3) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif ;;;;;MS 12/14 added set PolarityValue = *($(PolarityValues), ~($(PolarityList), $(PolarityIndex))) set DuplexValue = *($(DuplexValues),~($(DuplexList), $(DuplexIndex))) Debug-Output "$(KeyParameters)" Debug-Output "Mark Shen" set NewValueList = {{Polarity, $(NoTitle),$(!REG_VT_DWORD),$(PolarityValue)},+ {DuplexMode, $(NoTitle),$(!REG_VT_DWORD),$(DuplexValue)},+ {MediaType, $(NoTitle),$(!REG_VT_DWORD),1},+ {BusType, $(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+ {BusNumber, $(NoTitle),$(!REG_VT_DWORD),0},+ {TransmitBufferSize, $(NoTitle),$(!REG_VT_DWORD),7168},+ {AdapterType, $(NoTitle),$(!REG_VT_DWORD),0},+ {DriverMode, $(NoTitle),$(!REG_VT_DWORD),1},+ {OSType, $(NoTitle),$(!REG_VT_DWORD),1}} Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList) ;;MS 12/14/added CloseRegKey $(KeyParameters) goto successful bindingadapter =+ Debug-Output "$(InfFile) : bindingadapter" ;StartDetachedProcess ExitCode "" "" DACONFIG.exe 1 Return STATUS_SUCCESSFUL set Error = "Binding: Sorry, not yet implemented." goto fatal removeadapter = + Debug-Output "$(InfFile) : removeadapter" Debug-Output "$(InfFile) : ----> $(ProductKeyName), $(!NTN_RegBase)" Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase) Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), + $(ProductSoftwareName) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR goto fatalregistry endif else Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), + $(ProductSoftwareName), $(!NTN_RegBase) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR goto fatalregistry endif endif ifstr(i) $(!STF_PLATFORM) == $(INF_PROCESSER) RunProgram ExitCode "Windows Directory" "" UN3C555.EXE "-inf" ;RunProgram ExitCode "Windows Directory" "" DACONFIG.EXE "2" endif ifstr $(Install_dRMON) == "YES" OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\DTA" $(!REG_KEY_READ) KeydRMON ifstr $(KeydRMON) != "" Shell $(!STF_WINDOWSSYSPATH)\drmonnt.inf, InstallOption, $(CurrLang),$(Option) ,$(SrcDir), YES, YES, YES, -inf CloseRegKey $(KeydRMON) endif endif goto end UpgradeSoftware = + Debug-Output "$(InfFile) : UpdateSoftware" Debug-Output "MS!!!: UpdateSoftware" ;;;;ms HQ18 12/21/98 set !UG_Filename = $($R0) ifstr(i) $(!UG_Filename) != "" install "Install-Update" ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS goto fatal endif endif ;;;;ms HQ18 install "Install-Option" ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE" ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set Error = $($R0) goto fatal endif OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(!REG_KEY_ALL_ACCESS) KeyProduct Ifstr $(KeyProduct) != "" Shell $(UtilityInf), GetInfFileNameFromRegistry, $(KeyProduct) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error" goto ShellCodeError endif set !UG_Filename = $($R0) install "Install-INF" ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS goto fatal endif install "Install-DLL" ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS goto fatal endif SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)} SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)} SetRegValue $(KeyProduct) {Review,$(NoTitle),$(!REG_VT_DWORD),$(ProductReview)} CloseRegKey $(KeyProduct) OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(ProductHardwareName) $(!REG_KEY_ALL_ACCESS) KeyService Ifstr $(KeyService) != "" SetRegValue $(KeyService) {ImagePath,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareUpgradePath)} else goto fatalregistry endif CloseRegKey $(KeyService) OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\EventLog\System\"$(ProductHardwareName) $(!REG_KEY_ALL_ACCESS) KeyEventLog Ifstr $(KeyEventLog) != "" SetRegValue $(KeyEventLog) {EventMessageFile,$(NoTitle),$(!REG_VT_SZ),$(NetEventDLL)} else goto fatalregistry endif CloseRegKey $(KeyEventLog) OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase) $(!REG_KEY_ALL_ACCESS) KeyNt Debug-Output "MARKS!!!: UpdateSoftware" set LoopList = {1,2,3,4,5,6,7,8} set WinNTList = {WinNT,$(NoTitle),$(!REG_VT_SZ),YES} Set NewValueList = {{WakeOnMagic,$(NoTitle),$(!REG_VT_SZ),"YES"},+ {WakeOnLink, $(NoTitle),$(!REG_VT_SZ),"YES"},+ ;ms12/18 {FlowControl,$(NoTitle),$(!REG_VT_SZ),"YES"},+ {Polarity,$(NoTitle),$(!REG_VT_SZ),"YES"},+ {DuplexMode, $(NoTitle),$(!REG_VT_SZ),"YES"}} ;;ms 12/13/98 add 2 line above -- Polarity,DuplexMode ForListDo $(LoopList) OpenRegKey $(KeyNt) "" $(ProductHardwareName)$($)"\Parameters" $(!REG_KEY_ALL_ACCESS) TestKey ifstr $(TestKey) != $(KeyNull) Shell $(UtilityInf), AddValueList, $(TestKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif OpenRegKey $(!REG_H_LOCAL) "" $(NetworkCardsKey)$($)"\NetRules" $(!REG_KEY_ALL_ACCESS) NetCardKey ifstr $(NetCardKey) != $(KeyNull) SetRegValue $(NetCardKey) {"InfName",$(NoTitle),$(!REG_VT_SZ),$(!UG_Filename)} CloseRegKey $(NetCardKey) endif CloseRegKey $(TestKey) endif EndForListDo else goto fatalregistry endif ifstr $(!STF_PLATFORM) == $(INF_PROCESSER) install "Install-Uninstaller" OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\3Com\"$(ProductSoftwareName) $(!REG_KEY_ALL_ACCESS) + KeyNt set TrayIconList = {3CUNINSTALL,$(NoTitle),$(!REG_VT_SZ),$(3CNUMBER)} SetRegValue $(KeyNt) $(TrayIconList) CloseRegKey $(KeyNt) ifstr(i) (*($(CurrentVersionValue),4)) == $(NT400VersionConstant) ifstr $(Install_tnic_Diag) == "YES" OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" + $(!REG_KEY_ALL_ACCESS) KeyNt ifstr $(KeyNt) == "" CreateRegKey $(!REG_H_LOCAL) {"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall",+ 0, GenericClass} "" $(!REG_KEY_ALL_ACCESS) "" KeyNt endif OpenRegKey $(KeyNt) "" "3ComNicUnInstall" $(!REG_KEY_ALL_ACCESS) KeyNt2 ifstr $(KeyNt2) == "" CreateRegKey $(KeyNt) {"3ComNicUnInstall" , 0, GenericClass} "" $(!REG_KEY_ALL_ACCESS) + "" KeyNt2 endif set NewValueList = {{DisplayName, $(NoTitle), $(!REG_VT_SZ), "3Com NIC Diagnostics"},+ {UninstallString, $(NoTitle), $(!REG_VT_SZ), "UN3C555.EXE"}} Shell $(UtilityInf), AddValueList, $(KeyNt2), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif CloseRegKey $(KeyNt) CloseRegKey $(KeyNt2) endif endif ifstr(i) (*($(CurrentVersionValue),4)) == $(NT400VersionConstant) install "Install-Tray" OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" + $(!REG_KEY_ALL_ACCESS) KeyNt ;ms set TrayIconList = {COMSMDEXE,$(NoTitle),$(!REG_VT_SZ),$(TrayIconExe)" -off"} SetRegValue $(KeyNt) $(TrayIconList) CloseRegKey $(KeyNt) endif ifstr $(Install_PACE) == "YES" Debug-Output "$(InfFile) : (Install_PACE) == "YES"" install "Install-PACE" Shell "", PaceRegistry endif ifstr $(Install_dRMON) == "YES" Debug-Output "$(InfFile) : (Install_dRMON) == "YES"" install "Install-dRMON" set InstallMode_Save = $(!NTN_InstallMode) set !NTN_InstallMode = install set SRCDIR_OVERRIDE_Save = $(!STF_SRCDIR_OVERRIDE) set !STF_SRCDIR_OVERRIDE = $(SrcDir) Shell $(!STF_WINDOWSSYSPATH)\drmonnt.inf, InstallOption, $(CurrLang), + $(Option) ,$(SrcDir), YES, YES, YES, NO set !NTN_InstallMode = $(InstallMode_Save) set !STF_SRCDIR_OVERRIDE = $(SRCDIR_OVERRIDE_Save) endif ifstr $(Install_tnic_Diag) == "YES" Debug-Output "$(InfFile) : (Install_tnic_Diag) == "YES"" install "Install-tnicdiag" ifstr(i) $(!STF_GUI_UNATTENDED) != "YES" ;ms RunProgram ExitCode "Windows Directory" "" tnicdiag.exe "-inf" endif ifstr(i) (*($(CurrentVersionValue),4)) == $(NT400VersionConstant) Debug-Output "$(InfFile) : (Install_Shortcuts) == $(Install_Shortcuts)" ifstr(i) $(Install_Shortcuts) == "YES" Debug-Output "$(InfFile) : (Install_Shortcuts) == "YES"" ;ms RunProgram ExitCode "Windows Directory" "" COMSMD.EXE "-setup" Debug-Output "$(InfFile) : Enabling Tray Icon" OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" + $(!REG_KEY_ALL_ACCESS) KeyNt ;ms set TrayIconList = {COMSMDEXE,$(NoTitle),$(!REG_VT_SZ),$(TrayIconExe)" -try"} ;ms SetRegValue $(KeyNt) $(TrayIconList) CloseRegKey $(KeyNt) endif endif endif endif goto end successful = + Debug-Output "$(InfFile) : Successful" goto end abandon = + Debug-Output "$(InfFile) : Abandon" ForListDo $(OEM_ABANDON_OPTIONS) Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), + $(ProductSoftwareName), $($) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR goto fatalregistry endif EndForListDo Ifstr(i) $(OEM_ABANDON_SOFTWARE) == TRUE Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), + $(ProductSoftwareName), FALSE ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR goto fatalregistry endif endif goto end warning = + Debug-Output "$(InfFile) : warning" Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif ifstr(i) $($R1) == "OK" goto $(to) else-ifstr(i) $($R1) == "CANCEL" goto $(from) else goto "end" endif nonfatalinfo = + Debug-Output "$(InfFile) : nonfatalinfo" Set CommonStatus = STATUS_USERCANCEL Set Severity = STATUS goto nonfatalmsg nonfatal = + Debug-Output "$(InfFile) : nonfatal" Set Severity = NONFATAL goto nonfatalmsg nonfatalmsg = + Debug-Output "$(InfFile) : nonfatalmsg" ifstr(i) $(Error) == "" Set Severity = NONFATAL Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL" ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set Error = $($R0) endif Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif ifstr(i) $($R1) == "OK" goto $(from) else goto "RemoveAdapter" endif fatalregistry = + Debug-Output "$(InfFile) : fatalregistry" Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set Error = $($R0) goto fatal fatal = + Debug-Output "$(InfFile) : fatal" ifstr(i) $(Error) == "" Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL" ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set Error = $($R0) endif Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif goto setfailed ShellCodeError = + ifint $($ShellCode) == $(!SHELL_CODE_NO_SUCH_INF) Debug-Output "$(InfFile) : ShellCodeError - SHELL_CODE_NO_SUCH_INF" else-ifint $($ShellCode) == $(!SHELL_CODE_NO_SUCH_SECTION) Debug-Output "$(InfFile) : ShellCodeError - SHELL_CODE_NO_SUCH_SECTION" else Debug-Output "$(InfFile) : ShellCodeError - SHELL_CODE_ERROR" endif set DlgType = "MessageBox" set STF_MB_TITLE = $(ShellCodeErrorTitle) set STF_MB_TEXT = $(ShellCodeErrorText) set STF_MB_TYPE = 1 set STF_MB_ICON = 3 set STF_MB_DEF = 1 ui start "Error Message" goto setfailed setfailed = + Debug-Output "$(InfFile) : Setfailed" set CommonStatus = STATUS_FAILED ifstr(i) $(OEM_ABANDON_ON) == TRUE set OEM_ABANDON_ON = FALSE goto abandon endif goto end end = + goto term term = + Return $(CommonStatus) [Install-Option] set STF_VITAL = "" set STF_OVERWRITE = "VERIFYSOURCEOLDER" Debug-Output $(InfName)"Adding files: Files-$(NDIS_VER), SrcDir=$(SrcDir)" ; AddSectionFilesToCopyList Files-$(NDIS_VER) $(SrcDir)WIN32\$(!STF_PLATFORM) $(!STF_WINDOWSSYSPATH)\drivers AddSectionFilesToCopyList Files-$(NDIS_VER) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList Exit ;;;;ms HQ18 12/21/98 [Install-Update] set STF_VITAL = "" set STF_OVERWRITE = "VERIFYSOURSEOLDER" ; AddSectionFilesToCopyList Files-tnicdiag $(SrcDir)win32 $(!STF_WINDOWSSYSPATH) ; AddSectionFilesToCopyList Files-HwDll $(SrcDir)WINNT $(!STF_WINDOWSSYSPATH) ;;?? AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers AddSectionFilesToCopyList Files-$(NDIS_VER) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH) set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList exit ;;;;ms HQ18 [Install-Uninstaller] set STF_VITAL = "" set STF_OVERWRITE = "VERIFYSOURCEOLDER" AddSectionFilesToCopyList Files-Uninstaller $(SrcDir) $(!STF_WINDOWSSYSPATH) set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList Exit [Install-tnicdiag] set STF_VITAL = "" set STF_OVERWRITE = "VERIFYSOURCEOLDER" ; AddSectionFilesToCopyList Files-tnicdiag $(SrcDir)win32 $(!STF_WINDOWSSYSPATH) ; AddSectionFilesToCopyList Files-HwDll $(SrcDir)WINNT $(!STF_WINDOWSSYSPATH) set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList Exit [Install-PACE] set STF_VITAL = "" set STF_OVERWRITE = "VERIFYSOURCEOLDER" ; AddSectionFilesToCopyList Files-PACE $(SrcDir)win32 $(!STF_WINDOWSSYSPATH) set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList Exit [Install-Tray] set STF_VITAL = "" set STF_OVERWRITE = "VERIFYSOURCEOLDER" ; AddSectionFilesToCopyList Files-Tray $(SrcDir)win32 $(!STF_WINDOWSSYSPATH) set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList Exit [Install-dRMON] set STF_VITAL = "" set STF_OVERWRITE = "VERIFYSOURCEOLDER" ; AddSectionFilesToCopyList Files-dRMON $(SrcDir)drmon $(!STF_WINDOWSSYSPATH) ; AddSectionFilesToCopyList Files-dRMONINF $(SrcDir)WINNT $(!STF_WINDOWSSYSPATH) set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList Exit [Install-INF] set STF_VITAL = "" AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH) set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList Exit [Install-Dll] set STF_VITAL = "" AddSectionFilesToCopyList Files-Dll $(SrcDir) $(!STF_WINDOWSSYSPATH) set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList exit [Source Media Descriptions] 1 = "Windows NT Setup Disk #1" 2 = "Mini PCI Type 1B 10/100 LAN card by 3Com (Ethernet)" [ProductType] STF_PRODUCT = Winnt [Files-Inf] 2,oemsetup.inf,SIZE=49000, RENAME=$(!UG_Filename) [Files-Dll] 2, Elpc555.DLL, SIZE=24000 [Files-tnicdiag] ;2,tnicdiag.exe, SIZE=338966 ;2,tnicdiag.hlp, SIZE=83868 ;2,tvaraddr.txt, SIZE=131 [Files-HwDll] ;2,hwaccess.dll,SIZE=51878 ;2,pcomdrv.sys, SIZE=11018 ;2,tc555cfg.dll, SIZE=151852 ;;2,drmonnt.inf, SIZE=15000 [Files-Tray] ;2,comsmd.exe, SIZE=25298 [Files-dRMON] ;2,undrmon.exe, SIZE=8957 [Files-dRMONINF] ;2,drmonnt.inf, SIZE=8957 [Files-PACE] ;2,pacecfg.cpl, SIZE=107457 ;2,pacecfg.hlp, SIZE=6617 [Files-Uninstaller] 2,UN3C555.EXE, SIZE=210466 ;;2,daconfig.exe, SIZE=20000 ;[Files-NDIS3] ;2,EL555nd3.SYS , SIZE=68233 [Files-NDIS4] 2,EL555nd4.SYS , SIZE=365780 [LanguagesSupported] ENG [OptionsTextENG] Elpc555 = "Mini PCI Type 1B 10/100 LAN card by 3Com (Ethernet)" [FileConstantsENG] ProCaption = "Windows NT NIC Setup" ProCancel = "Cancel" ProCancelMsg = "Windows NT Networking is not correctly installed. "+ "Are you sure you want to cancel copying files?" ProCancelCap = "Network Setup Message" ProText1 = "Copying:" ProText2 = "To:" DialogDllName = "elpc555.dll" ConnectionList = ^(ConnectionChoices, 1) ConnectionValues = ^(ConnectionChoices, 2) NoList = ^(NoChoices, 1) NoValues = ^(NoChoices, 2) ShellCodeErrorTitle = "Error: "$(Function$(Option)Title) ShellCodeErrorText = "Shell Code Error." CANNOT_FIND_ANY_CARD = "Network card is not present in the system" [DialogConstantsENG] Help = "&Help" Exit = "Cancel" OK = "OK" HelpContext = "" Continue = "Continue" Cancel = "Cancel" [FileConstantsENG-Elpc555] FunctionTitle = $(GenericAdapterName)" Setup"$(GenericInfVersion) ProductSoftwareTitle = $(GenericDriverName) ProductHardwareTitle = $(GenericAdapterName) PolarityList = ^(PolarityChoices, 1) PolarityValues = ^(PolarityChoices, 2) DuplexList = ^(DuplexChoices, 1) DuplexValues = ^(DuplexChoices, 2) [FileDependentDlgENG-Elpc555] DlgType = "RadioCombination" DlgTemplate = "Elpc555" Caption = $(FunctionTitle) HelpContext = $(!IDH_DB_OEMNADE2_INS) CBOptionsGreyed = {} NotifyFields = {NO, NO, NO, NO} Combo1Label = "Auto Polarity:" Combo2Label = "Duplex Mode:" Combo1List = $(PolarityList) Combo1Out = $(PolarityValue) Combo2List = $(DuplexList) Combo2Out = $(DuplexValue) ComboListItemsIn = {Combo1List,Combo2List} ComboListItemsOut= {Combo1Out, Combo2Out} EditTextIn = {"",""} EditTextLim = {"",""} [PolarityChoices] Polarity_1 = "Enabled",0 Polarity_2 = "Disabled",32 [DuplexChoices] Duplex_1 = "AutoDetect",0 Duplex_2 = "Full-duplex",1Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.