[Identification] OptionType = NetAdapter ;----------------------------------------------------------------------- ; PlatformsSupported ; ------------------ ; This identifies the platforms supported by the adapter card. ; Possible types are: ; ; ISA, EISA and PCMCIA ;----------------------------------------------------------------------- [PlatformsSupported] PCMCIA ISA PCI ;----------------------------------------------------------------------- ; OPTION LIST ; ----------- ; This section lists the Option key names. These keys are locale ; independent and used to represent the option in a locale independent ; manner. ; ;----------------------------------------------------------------------- [Options] RayLinkPCMCIA RayLinkPCMCIA RayLinkPCMCIA ;*********************************************************************** ; CONSTANTS FOR USING DIALOGS ;*********************************************************************** [FileConstants] ; ; File names, etc. ; UtilityInf = "UTILITY.INF" ParamInf = "NCPARAM.INF" subroutineinf = "SUBROUTN.INF" DialogDllName = "wlandlg.dll" SoftwareType = "driver" Exit_Code = 0 ; ; EventLog Message File ; NetEventDLL = "%SystemRoot%\System32\netevent.dll" IoLogMsgDLL = "%SystemRoot%\System32\IoLogMsg.dll" Manufacturer = "Raytheon" ProductMajorVersion = "0" ProductMinorVersion = "1" ProductVersion = $(ProductMajorVersion)"."$(ProductMinorVersion) ; ; Software ; ProductSoftwareName = "wlandis3" ProductSoftwareImagePath = "\SystemRoot\System32\drivers\wlandis3.sys" NetRuleSoftwareType = "wlandis3Sys ndisDriver wlandis3Driver" NetRuleSoftwareUse = $(SoftwareType) NetRuleSoftwareBindForm = """wlandis3Sys"" yes no container" NetRuleSoftwareClass = {"wlandis3Driver basic"} NetRuleSoftwareBindable = {"wlandis3Driver wlandis3Adapter non exclusive 100"} ; ; Hardware ; ProductHardwareName = "wlandis3" NetRuleHardwareType = "wlandis3 wlandis3Adapter" NetRuleHardwareBindForm = " yes yes container" NetRuleHardwareClass = {"wlandis3Adapter basic"} ; ; Registry Key ; ProductKeyName = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion" ParamKeyName = $(!NTN_ServiceBase)"\"$(ProductHardwareName)"\Parameters" [GeneralConstants] ; ; Program flow control variables. ; from = "" to = "" ; ; Return codes; Exit_Code is set to one of these ; 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 [date] ; Now is a list which contains { Sec from 1-1-1970, Year, Month, Day, Hour, ; Minute, Second } Now = {} ? $(!LIBHANDLE) GetSystemDate ;--------------------------------------------------------------------------- ; 1. Identify ; ; DESCRIPTION: To verify that this INF deals with the same type of options ; as we are choosing currently. ; ; INPUT: None ; ; OUTPUT: $($R0): STATUS: STATUS_SUCCESSFUL ; $($R1): Option Type (COMPUTER ...) ; $($R2): Diskette description ;--------------------------------------------------------------------------- [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 ;------------------------------------------------------------------------ ; 2. ReturnOptions: ; ; DESCRIPTION: To return the option list supported by this INF and the ; localised text list representing the options. ; ; ; INPUT: $($0): Language used. ( ENG | FRN | ... ) ; ; OUTPUT: $($R0): STATUS: STATUS_SUCCESSFUL | ; STATUS_NOLANGUAGE ; STATUS_FAILED ; STATUS_NOTSUPPORTED ; ; $($R1): Option List ; $($R2): Option Text List ;------------------------------------------------------------------------ returnoptions = + set OptionList = ^(Options, 1) set OptionTextList = ^(OptionsText$($0), 1) set Status = STATUS_SUCCESSFUL finish_ReturnOptions = + Return $(Status) $(OptionList) $(OptionTextList) ;------------------------------------------------------------------------ ; ; InstallOption: ; ; This section is shelled to by main installation processing ; or by NCPASHEL.INF during reconfig, removal, update, etc. ; ; ; FUNCTION: To copy files representing Options ; To configure the installed option ; To update the registry for the installed option ; ; INPUT: $($0): Language to use ; $($1): OptionID to install ; $($2): SourceDirectory ; $($3): AddCopy (YES | NO) ; $($4): DoCopy (YES | NO) ; $($5): DoConfig (YES | NO) ; ; OUTPUT: $($R0): STATUS: STATUS_SUCCESSFUL | ; STATUS_NOLANGUAGE | ; STATUS_USERCANCEL | ; STATUS_FAILED ; ;------------------------------------------------------------------------ [InstallOption] 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 GeneralConstants read-syms FileConstants read-syms DialogConstants$(!STF_LANGUAGE) ifstr(i) $(!NTN_Origination) == "NCPA" set Continue = $(OK) endif read-syms FileConstants$(!STF_LANGUAGE) detect date set-title $(FunctionTitle) set to = Begin set from = Begin ; ; Determine the Card Type ; set CardTypeValue = 2 ; ; Assume all is well. ; set CommonStatus = STATUS_SUCCESSFUL ; Set up the operation-mode-based variables and gaily welcome ; the user. If the "install mode" variable is improperly set, ; assume this is a new installation. ; Begin = + 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 CommonStatus = STATUS_REBOOT ; set ActivateDetection = TRUE set StartLabel = configureadapter Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase) Debug-Output "Cannot configure the WLAN driver software." Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error: cannot get an error string." goto ShellCodeError endif set Error = $($R0) set from = end set to = end goto nonfatalinfo endif else set StartLabel = installadapter set OEM_ABANDON_OPTIONS = {} set OEM_ABANDON_SOFTWARE = FALSE set OEM_ABANDON_ON = TRUE ; set ActivateDetection = TRUE endif Set DetectedCard = FALSE set PCMCIA = 1 Ifstr(i) $(ActivateDetection) != TRUE Goto skipdetection Endif ; Set TypeList = {{IRQ,CountryList,CountryValue},+ ; {PCMCIA, PCMCIAList, PCMCIA},+ ; {IOADDR, NetworkTypeChoices, NetworkTypeValue}} Debug-Output "OEMNADN2.INF: Calling Param_BuildTypeLists" Shell $(ParamInf) Param_BuildTypeLists $(Option) $(TypeList) Set Status = $($R0) ifstr(i) $(Status) != STATUS_SUCCESSFUL Goto fataldetect Endif Debug-Output "OEMNADN2.INF: Calling Param_SetDefaults" Shell $(ParamInf) Param_SetDefaults {} ; Shell $(ParamInf) HexListFromDecList $(IOBaseAddrDecList) ; Set IOBaseAddrHexList = $($R0) Shell $(UtilityInf) SortList $(CountryList) TRUE FALSE Set CountryList = $($R0) skipdetection =+ ; set the default values set CountryValue = *($(CountryList), 1) set NetworkTypeValue = *($(NetworkTypeList), 1) ; Channel = 1 set ConfigurationValue = *($(ConfigurationList), 1) ; AuthenType = 1 set AuthenTypeValue = *($(AuthenTypeList), 1) set InterruptValue = *($(InterruptList), 1) set CardMemValue = *($(CardMemList), 2) set AttribMemValue = *($(AttribMemList), 2) ; Password Name set Password_Name = "" set InfraESSID_Name = "ESSID1" set AdhocESSID_Name = "ADHOC_ESSID" Ifstr(i) $(!STF_NCDETECT) == YES Ifstr(i) $(!STF_NCOPTION) == $(Option) Set DetectedCard = TRUE Debug-Output "OEMNADN2.INF: Setting DetectedCard to TRUE" Endif Endif set from = $(fatal) set to = $(fatal) goto $(StartLabel) ;----------------------------------------------- ; Installation Section ;----------------------------------------------- installadapter = + ; ; First, check whether the same version of the software exists ; OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct Ifstr $(KeyProduct) != $(KeyNull) ; ; Same version already existed in the local machine ; Popup the dialog and ask the user whether he wants to continue ; CloseRegKey $(KeyProduct) ifstr(i) !(NTN_RegBase) == $(ProductKeyName) ; ; Cannot Install the same software again ; Shell $(UtilityInf), VerExistedDlg, $(ProductSoftware$(Option)Title),+ $(ProductVersion) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error: cannot get an error string." goto ShellCodeError endif goto end else ; ; Add a new adapter card? ; Shell $(UtilityInf), CardExistedDlg ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error: cannot get an error string." goto ShellCodeError endif ifstr(i) $($R1) != "OK" set CommonStatus = STATUS_USERCANCEL goto end endif set OldVersionExisted = $(TRUE) endif endif ; Determine bus type and bus number ifstr(i) $(!STF_NCDETINFO) == {} Shell $(UtilityInf),GetBusTypeDialog,$(ProductHardwareDescription) $(BusInterfaceType) $(BusNumber) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error." goto ShellCodeError endif set BusInterfaceType = $($R1) set BusNumber = $($R2) else set BusInterfaceType = *($(!STF_NCDETINFO),5) set BusNumber = *($(!STF_NCDETINFO),6) endif ; ; dll load addition ; 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 Set SrcDir = $($R1) install "Install-Dll" goto adapteroptions ;----------------------------------------------- ; Configuration Section ;----------------------------------------------- ; ; Get the current values of all the parameters ; configureadapter = + Debug-Output "configureadapter" 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 ; ; Get the other parameters; they're attached to the service parameters key ; 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) ; ; We don't need the services key, so close it. ; 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 = {} ; ; Get the old values ; EnumRegValue $(KeyParameters) ValueList ForListDo $(ValueList) set ValueItem = $($) set ValueName = *($(ValueItem),1) set ValueData = *($(ValueItem),4) ifstr(i) $(ValueName) == "NetworkType" set NetworkTypeValue = $(ValueData) else-ifstr(i) $(ValueName) == "CountryCode" set CountryValue = $(ValueData) else-ifstr(i) $(ValueName) == "NetworkEntry" set NetworkEntry = $(ValueData) else-ifstr(i) $(ValueName) == "ConfigurationOption" set ConfigurationValue = $(ValueData) else-ifstr(i) $(ValueName) == "InterruptNumber" set InterruptIndex = $(ValueData) else-ifstr(i) $(ValueName) == "MemoryMappedBaseAddress" set CardMemIndex = $(ValueData) else-ifstr(i) $(ValueName) == "PCCARDAttributeMemoryAddress" set AttribMemIndex = $(ValueData) else-ifstr(i) $(ValueName) == "AuthenticationType" set AuthenTypeValue = $(ValueData) else-ifstr(i) $(ValueName) == "AuthenticationPassword" set Password_Name = $(ValueData) else-ifstr(i) $(ValueName) == "ESSID_for_Infrastructure" set InfraESSID_Name = $(ValueData) else-ifstr(i) $(ValueName) == "ESSID_for_Adhoc" set AdhocESSID_Name = $(ValueData) endif EndForListDo ; Debug-Output $(InfName)"NetworkTypeIndex is "$(NetworkTypeIndex) ; set NetworkTypeValue = *($(NetworkTypeList), ~($(NetworkTypeValues),$(NetworkTypeIndex))) ifstr(i) $(NetworkTypeValue) == "" set NetworkTypeValue = *($(NetworkTypeList), 1) endif Debug-Output $(InfName)" NetworkType is "$(NetworkTypeValue) ; Debug-Output $(InfName)"CountryValueIndex is "$(CountryValueIndex) ; set CountryValue = *($(CountryList), ~($(CountryValues),$(CountryValueIndex))) ifstr(i) $(CountryValue) == "" set CountryValue = *($(CountryList), 1) endif Debug-Output $(InfName)"Country Code is "$(CountryValue) ; Debug-Output $(InfName)"ConfigurationIndex is "$(ConfigurationIndex) ; set ConfigurationValue = *($(ConfigurationList), ~($(ConfigurationValues),$(ConfigurationIndex))) ifstr(i) $(ConfigurationValue) == "" set ConfigurationValue = *($(ConfigurationList), 1) endif ; Debug-Output $(InfName)"AuthenTypeIndex is "$(AuthenTypeIndex) ; set AuthenTypeValue = *($(AuthenTypeList), ~($(AuthenTypeValues),$(AuthenTypeIndex))) ifstr(i) $(AuthenTypeValue) == "" set AuthenTypeValue = *($(AuthenTypeList), 1) endif Debug-Output $(InfName)" Authentication Type is "$(AuthenTypeValue) ; Debug-Output $(InfName)"InterruptIndex is "$(InterruptIndex) set InterruptValue = *($(InterruptList), ~($(InterruptValues),$(InterruptIndex))) ifstr(i) $(InterruptValue) == "" set InterruptValue = *($(InterruptList), 1) endif Debug-Output $(InfName)" Interrupt is "$(InterruptValue) ; Debug-Output $(InfName)"CardMemIndex is "$(CardMemIndex) set CardMemValue = *($(CardMemList), ~($(CardMemValues),$(CardMemIndex))) ifstr(i) $(CardMemValue) == "" set CardMemValue = *($(CardMemList), 2) endif Debug-Output $(InfName)" CardMem is "$(CardMemValue) ; Debug-Output $(InfName)"AttribMemIndex is "$(AttribMemIndex) set AttribMemValue = *($(AttribMemList), ~($(AttribMemValues),$(AttribMemIndex))) ifstr(i) $(AttribMemValue) == "" set AttribMemValue = *($(AttribMemList), 2) endif Debug-Output $(InfName)" AttribMem is "$(AttribMemValue) ; Save the settings as they were read from the Registry. ; Shell $(ParamInf) Param_SaveValues ; Set CurrParamSettings = $($R0) ; ; Put up the adapter configuration dialog if necessary. ; ; Note that $(CurrParamSettings) has the old known parameter values. ; adaptersetup =+ set from = adapteroptions adapteroptions = + StartWait read-syms FileDependentDlg$(!STF_LANGUAGE)-RayLinkPCMCIA LoadLibrary "x" $(DialogDllName) hLib EndWait ; Debug-Output $(InfName)" CardType is "$(CardTypeValue) ; Debug-Output $(InfName)" CountryCode is "$(CountryValue) ; Debug-Output $(InfName)" NetworkTypeValue is "$(NetworkTypeValue) ; Debug-Output $(InfName)" AuthenTypeValue is "$(AuthenTypeValue) ; Debug-Output $(InfName)" ConfigurationValue is "$(ConfigurationValue) ; Debug-Output $(InfName)" InterruptValue is "$(InterruptValue) ; Debug-Output $(InfName)" CardMemValue is "$(CardMemValue) ; Debug-Output $(InfName)" AttribMemValue is "$(AttribMemValue) ; Debug-Output $(InfName)" CountryList is "$(CountryList) ; Debug-Output $(InfName)" NetworkTypeList is "$(NetworkTypeList) ; Debug-Output $(InfName)" ConfigurationOptionList is "$(ConfigurationOptionList) ; Debug-Output $(InfName)" AuthenTypeList is "$(AuthenTypeList) ; Debug-Output $(InfName)" InterruptList is "$(InterruptList) ; Debug-Output $(InfName)" CardMemList is "$(CardMemList) ; Debug-Output $(InfName)" AttribMemList is "$(AttribMemList) ; Debug-Output $(InfName)" Combo1List is "$(Combo1List) ; Debug-Output $(InfName)" Combo2List is "$(Combo2List) ; Debug-Output $(InfName)" Combo3List is "$(Combo3List) ; Debug-Output $(InfName)" Combo4List is "$(Combo4List) ; Debug-Output $(InfName)" Combo5List is "$(Combo5List) ; Debug-Output $(InfName)" Combo6List is "$(Combo6List) ; Debug-Output $(InfName)" Combo7List is "$(Combo7List) ; Debug-Output $(InfName)" Combo1Out is "$(Combo1Out) ; Debug-Output $(InfName)" Combo2Out is "$(Combo2Out) ; Debug-Output $(InfName)" Combo3Out is "$(Combo3Out) ; Debug-Output $(InfName)" Combo4Out is "$(Combo4Out) ; Debug-Output $(InfName)" Combo5Out is "$(Combo5Out) ; Debug-Output $(InfName)" Combo6Out is "$(Combo6Out) ; Debug-Output $(InfName)" Combo7Out is "$(Combo7Out) ; Debug-Output $(InfName)" EditTextIn is "$(EditTextIn) ; Debug-Output $(InfName)" EditTextOut is "$(EditTextOut) set Password_Name = "" set InfraESSID_Name = "ESSID1" set AdhocESSID_Name = "ADHOC_ESSID" ui start "InputDlg" $(hLib) StartWait set DLGEVENT = CONTINUE ifstr(i) $(DLGEVENT) == "EXIT" set CommonStatus = STATUS_USERCANCEL ui pop 1 FreeLibrary $(hLib) EndWait goto End else-ifstr(i) $(DLGEVENT) != "CONTINUE" ui pop 1 FreeLibrary $(hLib) EndWait goto End endif set CountryValueIndex = $(Combo1Out) set NetworkTypeIndex = $(Combo2Out) set CardMemIndex = $(Combo3Out) set AttribMemIndex = $(Combo4Out) set ConfigurationIndex = $(Combo5Out) set AuthenTypeIndex = $(Combo6Out) set InterruptIndex = $(Combo7Out) set Password_Name = *($(EditTextOut),1) set InfraESSID_Name = *($(EditTextOut),2) set AdhocESSID_Name = *($(EditTextOut),3) Debug-Output $(InfName)" EditTextIn BEFORE UI is "$(EditTextIn) Debug-Output $(InfName)" EditTextOut BEFORE UI is "$(EditTextOut) Debug-Output $(InfName)" Password_Name BEFORE UI is "$(Password_Name) Debug-Output $(InfName)" InfraESSID_Name BEFORE UI is "$(InfraESSID_Name) Debug-Output $(InfName)" AdhocESSID_Name BEFORE UI is "$(AdhocESSID_Name) ui pop 1 FreeLibrary $(hLib) EndWait adapterverify =+ Ifstr(i) $(DetectedCard) != TRUE Goto skipoptions Endif Debug-Output "OEMNADN2.INF: Calling Param_VerifyCard" Shell $(ParamInf) Param_VerifyCard $(!STF_NCDETCARD) Ifstr(i) $($R0) == STATUS_SUCCESSFUL Debug-Output "OEMNADN2.INF: Param_VerifyCard succeeded" Goto skipoptions Endif Set from = adapteroptions Set to = skipoptions Shell $(UtilityInf),RegistryErrorString,VERIFY_WARNING ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error: cannot get an error string." goto ShellCodeError endif set Error = $($R0) Goto Warning ; ; If installing, go create the necessary keys; ; if configuring, they're already open. ; skipoptions =+ ifint $(OldVersionExisted) == $(TRUE) ifstr(i) $(!NTN_InstallMode) == configure goto writeparameters endif endif StartWait ; ; Add Software Component ; ifint $(OldVersionExisted) == $(FALSE) ifstr(i) $(!NTN_InstallMode) == "install" Ifstr(i) $(DoCopy) == "YES" Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES 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 Set SrcDir = $($R1) 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 Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), + $(ProductSoftwareName), + $(ProductSoftwareName), + $(ProductSoftware$(Option)Title), $(STF_CONTEXTINFNAME), + $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+ $(NetEventDLL) Set OEM_ABANDON_SOFTWARE = TRUE ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error" goto ShellCodeError endif ; ; At this point: ; $R1 contains the product version key handle; ; $R2 contains the NetRules subkey handle; ; $R3 contains the new Services key handle; and ; $R4 contains the Parameters key ; $R5 contains the Linkage Key ; set RegistryErrorIndex = $($R0) set KeyProduct = $($R1) Set SoftNetRulesKey = $($R2) CloseRegKey $($R3) CloseRegKey $($R4) CloseRegKey $($R5) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR EndWait Debug-Output "Registry error: add software components" CloseRegKey $(KeyProduct) CloseRegKey $(SoftNetRulesKey) goto fatalregistry endif 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),$(ProductSoftware$(Option)Title)},+ {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftware$(Option)Description)},+ {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+ {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}} Shell $(UtilityInf), AddValueList, $(KeyProduct), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error." goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR EndWait Debug-Output "Registry error: add value list." CloseRegKey $(KeyProduct) CloseRegKey $(SoftNetRulesKey) 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, $(SoftNetRulesKey), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error." goto ShellCodeError endif set RegistryErrorIndex = $($R0) CloseRegKey $(KeyProduct) CloseRegKey $(SoftNetRulesKey) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR EndWait Debug-Output "Resgitry error: add value list." goto fatalregistry endif endif ; ; Create the HARDWARE\Netcard region and its corresponding service ; 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) Debug-Output "Cannot add hardware component" goto ShellCodeError endif ; ; At this point: ; $R1 Registry key variable for HARDWARE\Netcard\(n) ; $R2 Registry key variable for HARDWARE\Netcard\(n)\\NetRules ; $R3 Registry key handle for <service>\Parameters key ; $R4 Adapter number assigned to adapter ; $R5 Service name generated by combining svc name with adapter number ; set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR EndWait Debug-Output "Registry error: add hardware component" CloseRegKey $($R1) CloseRegKey $($R2) CloseRegKey $($R3) goto fatalregistry endif set KeyParameters = $($R3) set KeyAdapterRules = $($R2) set AdapterNumber = $($R4) set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+ {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+ {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+ {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+ {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+ {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}} Shell $(UtilityInf), AddValueList, $($R1), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error" goto ShellCodeError endif CloseRegKey $($R1) 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)}} Shell $(UtilityInf), AddValueList, $(KeyAdapterRules), $(NewValueList) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error." goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR EndWait Debug-Output "Resgitry error: add value list." CloseRegKey $(KeyParameters) CloseRegKey $(KeyAdapterRules) goto fatalregistry endif CloseRegKey $(KeyAdapterRules) goto writeparameters ; ; REQUIRED: $(KeyParameters) contains service Parameters key handle ; writeparameters = + set CountryValue = *($(CountryValues), ~($(CountryList),$(CountryValueIndex))) set NetworkTypeValue = *($(NetworkTypeValues), ~($(NetworkTypeList),$(NetworkTypeIndex))) set ConfigurationValue = *($(ConfigurationValues), ~($(ConfigurationList),$(ConfigurationIndex))) set AuthenTypeValue = *($(AuthenTypeValues), ~($(AuthenTypeList),$(AuthenTypeIndex))) set InterruptValue = *($(InterruptValues), ~($(InterruptList),$(InterruptIndex))) set CardMemValue = *($(CardMemValues), ~($(CardMemList),$(CardMemIndex))) set AttribMemValue = *($(AttribMemValues), ~($(AttribMemList),$(AttribMemIndex))) Debug-Output $(InfName)" CountryCode W is "$(CountryValue) Debug-Output $(InfName)" NetworkTypeValue W is "$(NetworkTypeValue) Debug-Output $(InfName)" AuthenTypeValue W is "$(AuthenTypeValue) Debug-Output $(InfName)" ConfigurationValue W is "$(ConfigurationValue) Debug-Output $(InfName)" InterruptValue W is "$(InterruptValue) Debug-Output $(InfName)" CardMemValue W is "$(CardMemValue) Debug-Output $(InfName)" AttribMemValue W is "$(AttribMemValue) Debug-Output $(InfName)" CountryValueIndex W is "$(CountryValueIndex) Debug-Output $(InfName)" NetworkTypeIndex W is "$(NetworkTypeIndex) Debug-Output $(InfName)" CardMemIndex W is "$(CardMemIndex) Debug-Output $(InfName)" AttribMemIndex W is "$(AttribMemIndex) Debug-Output $(InfName)" ConfigurationIndex W is "$(ConfigurationIndex) Debug-Output $(InfName)" AuthenTypeIndex W is "$(AuthenTypeIndex) Debug-Output $(InfName)" InterruptIndex W is "$(InterruptIndex) Debug-Output $(InfName)" Password_Name W is "$(Password_Name) Debug-Output $(InfName)" InfraESSID_Name W is "$(InfraESSID_Name) Debug-Output $(InfName)" AdhocESSID_Name W is "$(AdhocESSID_Name) set NewValueList = {{CountryCode, $(NoTitle),$(!REG_VT_SZ),$(CountryValueIndex)},+ {CardType,$(NoTitle),$(!REG_VT_DWORD),$(CardTypeValue)},+ {BusType,$(NoTitle),$(!REG_VT_DWORD),1},+ {Pcmcia,$(NoTitle),$(!REG_VT_DWORD),1},+ {BusNumber,$(NoTitle),$(!REG_VT_DWORD),0},+ {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+ {NetworkType,$(NoTitle),$(!REG_VT_SZ),$(NetworkTypeIndex)},+ {ConfigurationOption,$(NoTitle),$(!REG_VT_SZ),$(ConfigurationIndex)},+ {AuthenticationType,$(NoTitle),$(!REG_VT_SZ),$(AuthenTypeIndex)},+ {AuthenticationPassword,$(NoTitle),$(!REG_VT_SZ),$(Password_Name)},+ {ESSID_for_Infrastructure,$(NoTitle),$(!REG_VT_SZ),$(InfraESSID_Name)},+ {ESSID_for_Adhoc,$(NoTitle),$(!REG_VT_SZ),$(AdhocESSID_Name)},+ {InterruptNumber,$(NoTitle),$(!REG_VT_DWORD),$(InterruptIndex)},+ {MemoryMappedBaseAddress,$(NoTitle),$(!REG_VT_DWORD),$(CardMemValue)},+ {MemoryMappedSize,$(NoTitle),$(!REG_VT_DWORD),49152},+ {PCCARDAttributeMemoryAddress,$(NoTitle),$(!REG_VT_DWORD),$(AttribMemValue)},+ {PCCARDAttributeMemorySize,$(NoTitle),$(!REG_VT_DWORD),4096}} Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList) set NewValueList = {{Pcmcia,$(NoTitle),$(!REG_VT_DWORD),1}} Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList) ; -------------------------------------------------------------------------------- ; Write the parameters to the PCMCIA database section ; Delete the Raytheon subtree and re-write the whole thing. ; -------------------------------------------------------------------------------- set PCMCIADatabaseKeyName = $(!NTN_ServiceBase)"\Pcmcia\DataBase" OpenRegKey $(!REG_H_LOCAL) "" $(PCMCIADatabaseKeyName) $(MAXIMUM_ALLOWED) PCMCIADatabaseKey ifstr $(PCMCIADatabaseKey) == $(NULL) else OpenRegKey $(!REG_H_LOCAL) "" $(PCMCIADatabaseKeyName)"\RAYTHEON" $(MAXIMUM_ALLOWED) PCMCIADatabaseRaytheonKey ifstr $(PCMCIADatabaseRaytheonKey) != $(NULL) CloseRegKey $(PCMCIADatabaseRaytheonKey) DeleteRegTree $(PCMCIADatabaseKey) "RAYTHEON" endif CreateRegKey $(PCMCIADatabaseKey) {"RAYTHEON", 0, 0} "" $(MAXIMUM_ALLOWED) "" PCMCIADatabaseRaytheonKey CreateRegKey $(PCMCIADatabaseRaytheonKey) {"RayLink PC Card WLAN Adapter", 0, 0} + "" $(MAXIMUM_ALLOWED) 0 PCMCIADatabaseRaytheonRayLinkKey1 SetRegValue $(PCMCIADatabaseRaytheonRayLinkKey1) {Driver, 0, $(!REG_VT_SZ),"wlandis3"} CloseRegKey $(PCMCIADatabaseRaytheonRayLinkKey1) CloseRegKey $(PCMCIADatabaseRaytheonRayLinkKey) CloseRegKey $(PCMCIADatabaseRaytheonKey) CloseRegKey $(PCMCIADatabaseKey) endif ifstr(i) $(!STF_GUI_UNATTENDED) == "YES" Shell $(UtilityInf),AddDefaultNetCardParameters,$(KeyParameters) endif CloseRegKey $(KeyParameters) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error." goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR Debug-Output "Registry error: Add value list" goto fatalregistry endif EndWait goto successful ;----------------------------------------------- ; Binding section ;----------------------------------------------- bindingadapter =+ set Error = "Binding: Sorry, not yet implemented." goto fatal ;----------------------------------------------- ; Removeadapter section ;----------------------------------------------- removeadapter = + Debug-Output "removeadapter" Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase) Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), + $(ProductSoftwareName) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error" 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) Debug-Output "ShellCode error" goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR goto fatalregistry endif endif goto end UpgradeSoftware = + Debug-Output " Upgrade software " OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct Ifstr $(KeyProduct) != $(KeyNull) install "Install-Update" ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS goto fatal endif SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)} SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)} CloseRegKey $(KeyProduct) else goto fatalregistry endif goto end successful = + goto end abandon = + ForListDo $(OEM_ABANDON_OPTIONS) Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), + $(ProductSoftwareName), $($) ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error" 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) Debug-Output "ShellCode error" goto ShellCodeError endif set RegistryErrorIndex = $($R0) Ifstr(i) $(RegistryErrorIndex) != NO_ERROR goto fatalregistry endif endif goto end 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 = + Set CommonStatus = STATUS_USERCANCEL Set Severity = STATUS goto nonfatalmsg nonfatal = + Set Severity = NONFATAL goto nonfatalmsg 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 "end" endif fatalregistry = + Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex) ifint $($ShellCode) != $(!SHELL_CODE_OK) goto ShellCodeError endif set Error = $($R0) goto fatal fataldetect = + Shell $(UtilityInf),RegistryErrorString,CANNOT_DETECT ifint $($ShellCode) != $(!SHELL_CODE_OK) Debug-Output "ShellCode error: cannot get an error string." goto ShellCodeError endif set Error = $($R0) Goto fatal 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 = + 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 = + 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 = "" ifstr(i) $(AddCopy) == "YES" AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers endif ifstr(i) $(DoCopy) == "YES" set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList endif ifstr(i) $(DoConfig) == "YES" endif Exit [Install-Update] set STF_VITAL = "" set STF_OVERWRITE = "VERIFYSOURCEOLDER" AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers exit [Install-Dll] set STF_VITAL = "" AddSectionFilesToCopyList Files-Dll-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH) set !STF_NCPA_FLUSH_COPYLIST = TRUE CopyFilesInCopyList exit [Source Media Descriptions] 1 = "Windows NT Setup Disk #1" , TAGFILE = disk1 2 = "Windows NT Setup CD-ROM Disk" , TAGFILE = disk2 3 = "SK Driver Disk" 99 = "LMHOST disk", TAGFILE = lmhosts [Signature] FileType = MICROSOFT_FILE [ProductType] STF_PRODUCT = Winnt STF_PLATFORM = I386 [Files-Inf] 3, oemsetup.inf, SIZE=1000, RENAME=$(!UG_Filename) [Files-RayLinkPCMCIA] 3, wlandis3.SYS , SIZE=88888 [Files-Dll-RayLinkPCMCIA] 3, wlandlg.dll, SIZE=999 [LanguagesSupported] ENG [OptionsTextENG] RayLinkPCMCIA = "WLAN PCMCIA Adapter Driver Version 1.0" [FileConstantsENG] ProCaption = "Windows NT 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:" FunctionTitle = $(ProductHardware$(Option)Title)" Card Setup" ProductSoftwareRayLinkPCMCIADescription = "WLAN PCMCIA Adapter Driver Version 1.0" ProductHardwareRayLinkPCMCIADescription = "WLAN PCMCIA Adapter Driver Version 1.0" ProductSoftwareRayLinkPCMCIATitle = "WLAN PCMCIA Adapter Driver Version 1.0" ProductHardwareRayLinkPCMCIATitle = "WLAN PCMCIA Adapter Driver Version 1.0" ; ; dll files ; CountryList = ^(CountryChoices, 1) CountryValues = ^(CountryChoices, 2) NetworkTypeList = ^(NetworkTypeChoices, 1) NetworkTypeValues = ^(NetworkTypeChoices, 2) ;Raytheon Advanced Parameters ConfigurationList = ^(ConfigurationChoices,1) ConfigurationValues = ^(ConfigurationChoices,2) AuthenTypeList = ^(AuthenTypeChoices,1) AuthenTypeValues = ^(AuthenTypeChoices,2) InterruptList = ^(InterruptChoices,1) InterruptValues = ^(InterruptChoices,2) CardMemList = ^(CardMemChoices,1) CardMemValues = ^(CardMemChoices,2) AttribMemList = ^(AttribMemChoices,1) AttribMemValues = ^(AttribMemChoices,2) [DialogConstantsENG] Help = "&Help" Exit = "Cancel" OK = "OK" HelpContext = "" Continue = "Continue" Cancel = "Cancel" [FileDependentDlgENG-RayLinkPCMCIA] DlgText = "Please select values for the follwing fields:" DlgType = "RadioCombination" DlgTemplate = "RAYDLG" Caption = $(FunctionTitle) Combo1Label = "&Country Code" Combo2Label = "&Network Type" Combo3Label = "Card &Mem" Combo4Label = "Att&ribute Mem" Combo5Label = "Confi&guration" Combo6Label = "&Authentication Type" Combo7Label = "Interr&upt" Combo1List = $(CountryList) Combo1Out = $(CountryValue) Combo2List = $(NetworkTypeList) Combo2Out = $(NetworkTypeValue) Combo3List = $(CardMemList) Combo3Out = $(CardMemValue) Combo4List = $(AttribMemList) Combo4Out = $(AttribMemValue) Combo5List = $(ConfigurationList) Combo5Out = $(ConfigurationValue) Combo6List = $(AuthenTypeList) Combo6Out = $(AuthenTypeValue) Combo7List = $(InterruptList) Combo7Out = $(InterruptValue) ComboListItemsIn = {Combo1List, Combo2List,Combo3List,Combo4List, + Combo5List, Combo6List,Combo7List} ComboListItemsOut = {Combo1Out, Combo2Out,Combo3Out,Combo4Out, + Combo5Out, Combo6Out,Combo7Out} Edit1Label = "Authentication Pass&word" Edit2Label = "Infrastructure ESS&ID" Edit3Label = "Adhoc ESS&ID" EditTextIn = {$(Password_Name),$(InfraESSID_Name),$(AdhocESSID_Name)} EditTextLim = {15,31,31} EditTextOut = {} ;EditTextIn = {$(Password_Name)} ;EditTextLim = 16 ;EditTextOut = {} CBOptionsGreyed = {} NotifyFields = {NO, NO, NO, NO, NO, NO, NO, NO} HelpContext = $(!IDH_DB_OEMNADE2_INS) EditFocus = "ALL" [CountryChoices] Country_1 = "USA",0 Country_2 = "EUROPE",1 Country_3 = "JAPAN",2 Country_4 = "KOREA",3 [NetworkTypeChoices] NetworkEntr_3 = "ADHOC_AFTER_INFRASTRUCTURE",2 NetworkEntr_1 = "INFRASTRUCTURE",0 NetworkEntr_2 = "ADHOC",1 [ConfigurationChoices] Config_1 = "A",0 Config_2 = "B",1 [AuthenTypeChoices] AuthenType_1 = "OPEN",0 AuthenType_2 = "PASSWORD",1 [CardMemChoices] Mem_1 = "0D0000",851968 Mem_2 = "0D1000",856064 Mem_3 = "0D2000",860160 [AttribMemChoices] AMem_1 = "0CC000",835584 AMem_2 = "0CD000",839680 AMem_3 = "0CE000",843776 [InterruptChoices] IRQ_9 = "9",9 IRQ_3 = "3",3 IRQ_4 = "4",4 IRQ_5 = "5",5 IRQ_7 = "7",7 IRQ_9 = "8",8 IRQ_10 = "10",10 IRQ_11 = "11",11 IRQ_12 = "12",12 IRQ_13 = "13",13 IRQ_14 = "14",14 IRQ_15 = "15",15Download 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.