Oemsetup.inf Driver File Contents (Warp.zip)

;;============================================================================
;;
;; OEMSETUP.INF
;;     Acer NeWeb Corporation ANCoLAN network card and driver SETUP INF file.
;;               Copyright 1999, Acer NeWeb Corporation.
;;
;;============================================================================

[Identification]
    OptionType = NetAdapter

;;----------------------------------------------------------------------------
;; PlatformsSupported
;; ------------------
;; This identifies the platforms supported by the adapter card.
;; Possible types are : ISA, EISA and PCMCIA
;;----------------------------------------------------------------------------

[PlatformsSupported]
   ISA
   EISA
   PCMCIA

;;----------------------------------------------------------------------------
;; 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]
    WarpLinkPCMCIA
    WarpLinkPCCARD
    WarpLinkISA

;;============================================================================
;; CONSTANTS FOR USING DIALOGS
;;============================================================================

[FileConstants]

;; File names, etc.
UtilityInf      = "UTILITY.INF"
ParamInf        = "NCPARAM.INF"
subroutineinf   = "SUBROUTN.INF"
SoftwareType    = "driver"
Exit_Code       = 0

;; EventLog Message File
NetEventDLL     = "%SystemRoot%\System32\netevent.dll"
IoLogMsgDLL     = "%SystemRoot%\System32\IoLogMsg.dll"

Manufacturer    = "Acer NeWeb Corporation"
ProductMajorVersion     = "1"
ProductMinorVersion     = "0"
ProductVersion          = $(ProductMajorVersion)"."$(ProductMinorVersion)

;; Software
ProductSoftwareName      = "WarpLink"
ProductSoftwareImagePath = "\SystemRoot\System32\drivers\WarpLink.sys"
NetRuleSoftwareType      = "WarpLinkSys ndisDriver WarpLinkDriver"

NetRuleSoftwareUse       = $(SoftwareType)
NetRuleSoftwareBindForm  = """WarpLinkSys"" yes no container"

NetRuleSoftwareClass     = {"WarpLinkDriver basic"}
NetRuleSoftwareBindable  = {"WarpLinkDriver WarpLinkAdapter non exclusive 100"}

;; Hardware
ProductHardwareName      = "WarpLink"
NetRuleHardwareType      = "WarpLink WarpLinkAdapter"
NetRuleHardwareBindForm  = " yes yes container"
NetRuleHardwareClass     = {"WarpLinkAdapter 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         = ""
KeyProduct      = ""
KeyParameters   = ""
MAXIMUM_ALLOWED = 33554432
RegistryErrorIndex = NO_ERROR

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 !G:DebugOutputControl = 1
    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
    ifstr(i) $(Option) == "WarpLinkISA"
        set CardTypeValue = 1
    else-ifstr(i) $(Option) == "WarpLinkOEM"
        set CardTypeValue = 1
    else
        set CardTypeValue = 2
    endif

;; Assume all is well.
    set CommonStatus = STATUS_SUCCESSFUL

    EndWait

;; 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 WarpLink 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 = 0
    Ifstr(i) $(ActivateDetection) != TRUE
        Goto skipdetection
    Endif
    Set TypeList = {{IRQ,IRQList,IRQValue},+
                    {PCMCIA, PCMCIAList, PCMCIA},+
                    {IOADDR, IOBaseAddrDecList, IOBaseAddrValue}}
    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 $(IRQList) TRUE FALSE
    Set IRQList = $($R0)

skipdetection = +

    ;; Set the default value
    ;; Set IRQs(7, 5, 10) for PCMCIA, PCCARD and ISA, respectively
    ifstr(i) $(Option) == "WarpLinkPCMCIA"
        set IRQValue = *($(IRQList), 4)
    else-ifstr(i) $(Option) == "WarpLinkPCCARD"
        set IRQValue = *($(IRQList), 3)
    else
        set IRQValue = *($(IRQList), 5)
    endif

    ;; IOBase Address = 0x270
    set IOBaseAddrValue = *($(IOBaseAddrList), 5)

    ;; HopSequence, by Jiunn
    set HopSequenceValue = *($(HopSequenceList), 7)

    ;; StationType =  SLAVE
    set StationTypeValue = *($(StationTypeList), 1)

    ;; Country =  1
    set CountryValue = *($(CountryList), 1)

    ;; Netkey = default
    set NetkeyValue = "default"

    ;; StationName, by Jiunn
    ;;Jiunn, set StationNameValue = "Radio Name"
    set ComputerNameKeyName = "SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName"
    OpenRegKey $(!REG_H_LOCAL) "" $(ComputerNameKeyName) $(MAXIMUM_ALLOWED) ComputerNameBaseKey
    GetregValue $(ComputerNameBaseKey) ComputerName StationNameTempList
    CloseRegKey $(ComputerNameBaseKey)
    set StationNameValue = *($(StationNameTempList),4)

    ;; WarpLinkOperateSystem, by Jiunn
    set WarpLinkOperateSystemValue = "Windows NT"

    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 = +
    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) == "IoBaseAddress"
            set IOBaseAddrIndex = $(ValueData)
        else-ifstr(i) $(ValueName) == "InterruptNumber"
            set IRQValueIndex = $(ValueData)
        else-ifstr(i) $(ValueName) == "StationType"
            set StationTypeValue = $(ValueData)
        else-ifstr(i) $(ValueName) == "Country"
            set CountryValue = $(ValueData)
        else-ifstr(i) $(ValueName) == "StationName"
            set StationNameValue = $(ValueData)
        else-ifstr(i) $(ValueName) == "Netkey"
            set NetkeyValue = $(ValueData)
        else-ifstr(i) $(ValueName) == "HopPattern"
            set HopSequenceIndex = $(ValueData)
        endif
    EndForListDo

    ;; IRQ
    set IRQValue = *($(IRQList), ~($(IRQValues),$(IRQValueIndex)))
    ifstr(i) $(IRQValue) == ""
        set IRQValue = *($(IRQList), 2)
    endif

    Debug-Output $(InfName)" IRQ_Level is "$(IRQValue)

    ;; IO Base Address
    set IOBaseAddrValue = *($(IOBaseAddrList), ~($(IOBaseAddrValues),$(IOBaseAddrIndex)))
    ifstr(i) $(IOBaseAddrValue) == ""
        set IOBaseAddrValue = *($(IOBaseAddrList), 1)
    endif
    Debug-Output $(InfName)" I/o base is "$(IOBaseAddrValue)

;; WarpLink specific parameters

    ;; Station Type
    ;set StationTypeValue = *($(StationTypeList), ~($(StationTypes),$(StationTypeIndex)))
    ifstr(i) $(StationTypeValue) == ""
        set StationTypeValue = *($(StationTypeList), 1)
    endif

    Debug-Output $(InfName)" Station type is "$(StationTypeValue)

    ;; Country
    ;set CountryValue = *($(CountryList), ~($(CountryValues),$(CountryIndex)))
    ifstr(i) $(CountryValue) == ""
        set CountryValue = *($(CountryList), 1)
    endif

    Debug-Output $(InfName)" Country is "$(CountryValue)

    ;; NetKey
    ifstr(i) $(NetkeyValue) == ""
        set NetkeyValue = "default"
    endif

    Debug-Output $(InfName)" Netkey is "$(NetkeyValue)

    ;; Hop Sequence, by Jiunn
    set HopSequenceValue = *($(HopSequenceList), ~($(HopSequenceValues),$(HopSequenceIndex)))
    ifstr(i) $(HopSequenceValue) == ""
        set HopSequenceValue = *($(HopSequenceList), 7)
    endif

    Debug-Output $(InfName)" HopSequence is "$(HopSequenceValue)

    ;Debug-Output $(InfName)" InactivitySec is "$(StationNameValue)

;; 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 = +
    LoadLibrary "Disk 1" $(DialogDllName-$(Option)) hLib

    set PresentValues = "{"$(StationTypeValue)","$(CountryValue)","+
                        $(IOBaseAddrValue)","$(IRQValue)","+
                        $(HopSequenceValue)","$(StationNameValue)","+
                        $(NetkeyValue)"}"

    LibraryProcedure result $(hLib) SetupDlg $(StationTypeList) $(CountryList) $(IOBaseAddrList) $(IRQList) $(HopSequenceList) $(PresentValues)

    FreeLibrary $(hLib)

    Ifstr(i) $(result) == "Setup dialog was cancelled"
      goto end
    Endif

    set StationNameValue = *($(result), 1)
    set StationTypeValue = *($(result), 2)
    set CountryValue = *($(result), 3)
    set NetkeyValue = *($(result), 4)
    set IOBaseAddrIndex = *($(result), 5)
    set IRQValueIndex = *($(result), 6)
    set HopSequenceIndex = *($(result), 7)

    ui pop 1
;   goto nextstep

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 IRQValue = *($(IRQValues), ~($(IRQList),$(IRQValueIndex)))
    set IOBaseAddrValue = *($(IOBaseAddrValues), ~($(IOBaseAddrList),$(IOBaseAddrIndex)))
    set HopSequenceValue = *($(HopSequenceValues), ~($(HopSequenceList),$(HopSequenceIndex)))

;; WarpLink specific Parameters
;    set StationTypeValue = *($(StationTypes), ~($(StationTypeList),$(StationTypeIndex)))
;    set CountryValue = *($(CountryValues), ~($(CountryList),$(CountryIndex)))

    set NewValueList = {{InterruptNumber,  $(NoTitle),$(!REG_VT_DWORD),$(IRQValue)},+
                        {AdapterType,$(NoTitle),$(!REG_VT_DWORD),$(CardTypeValue)},+
                        {BusType,$(NoTitle),$(!REG_VT_DWORD),1},+
                        {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumber)},+
                        {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+
                        {IoBaseAddress,  $(NoTitle),$(!REG_VT_DWORD),$(IOBaseAddrValue)},+
                        {StationType,$(NoTitle),$(!REG_VT_SZ),$(StationTypeValue)},+
                        {Country,$(NoTitle),$(!REG_VT_SZ),$(CountryValue)},+
                        {StationName,$(NoTitle),$(!REG_VT_SZ),$(StationNameValue)},+
                        {StationNameTemp,$(NoTitle),$(!REG_VT_SZ),$(StationNameTemp)},+
                        {Netkey,$(NoTitle),$(!REG_VT_SZ),$(NetkeyValue)},+
                        {HopPattern,$(NoTitle),$(!REG_VT_DWORD),$(HopSequenceValue)},+
                        {WarpLinkOperateSystem,$(NoTitle),$(!REG_VT_SZ),$(WarpLinkOperateSystemValue)}}

    Shell  $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)

    ifstr(i) $(Option) == "WarpLinkPCMCIA"
        set NewValueList = {{Pcmcia,$(NoTitle),$(!REG_VT_DWORD),1}}
        Shell  $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
    else-ifstr(i) $(Option) == "WarpLinkPCCARD"
             set NewValueList = {{Pcmcia,$(NoTitle),$(!REG_VT_DWORD),1}}
             Shell  $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
    else
             DeleteRegValue $(KeyParameters) "Pcmcia"
             goto skipPCMCIA
    endif


;;----------------------------------------------------------------------------
;; Write the parameters to the PCMCIA database section
;; Delete the Acer NeWeb Corporation 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)"\Acer NeWeb Corporation" $(MAXIMUM_ALLOWED) PCMCIADatabaseAcerKey
    ifstr $(PCMCIADatabaseAcerKey) != $(NULL)
        CloseRegKey $(PCMCIADatabaseAcerKey)
        DeleteRegTree $(PCMCIADatabaseKey) "Acer NeWeb Corporation"
    endif
    CreateRegKey $(PCMCIADatabaseKey) {"Acer NeWeb Corporation", 0, 0} "" $(MAXIMUM_ALLOWED) "" PCMCIADatabaseAcerKey
    ifstr(i) $(Option) != "WarpLinkPCCARD"
       CreateRegKey $(PCMCIADatabaseAcerKey) {"WarpLink", 0, 0} +
                    "" $(MAXIMUM_ALLOWED) 0 PCMCIADatabaseWarpLinkKey
       SetRegValue $(PCMCIADatabaseWarpLinkKey) {Driver, 0, $(!REG_VT_SZ),"WarpLink"}
       SetRegValue $(PCMCIADatabaseWarpLinkKey) {DeviceType, 0, $(!REG_VT_SZ),"NET"}
       CloseRegKey $(PCMCIADatabaseWarpLinkKey)
    else
       CreateRegKey $(PCMCIADatabaseAcerKey) {"WarpLink", 0, 0} +
                    "" $(MAXIMUM_ALLOWED) 0 PCMCIADatabaseWarpLinkKey1
       SetRegValue $(PCMCIADatabaseWarpLinkKey1) {Driver, 0, $(!REG_VT_SZ),"WarpLink"}
       SetRegValue $(PCMCIADatabaseWarpLinkKey) {DeviceType, 0, $(!REG_VT_SZ),"NET"}
       CloseRegKey $(PCMCIADatabaseWarpLinkKey1)
    endif

    CloseRegKey $(PCMCIADatabaseAcerKey)
    CloseRegKey $(PCMCIADatabaseKey)
    endif

skipPCMCIA =+
    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 = +
    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 = +
    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  = "WarpLink NDIS Installation Disk #1"  , TAGFILE = ntinstall.dll
    2  = "Windows NT Setup CD-ROM Disk"  , TAGFILE = disk2

[Signature]
    FileType = MICROSOFT_FILE

[ProductType]
STF_PRODUCT  = Winnt
STF_PLATFORM = I386

[Files-Inf]
1, oemsetup.inf,         SIZE=1000,     RENAME=$(!UG_Filename)

[Files-WarpLinkPCMCIA]
1, WarpLink.sys , SIZE=88888

[Files-WarpLinkPCCARD]
1, WarpLink.sys , SIZE=88888

[Files-WarpLinkISA]
1, WarpLink.sys , SIZE=88888

[Files-Dll-WarpLinkPCMCIA]
1, ntinstall.dll,  SIZE=999

[Files-Dll-WarpLinkPCCARD]
1, ntinstall.dll,  SIZE=999

[Files-Dll-WarpLinkISA]
1, ntinstall.dll,  SIZE=999

[LanguagesSupported]
    ENG

[OptionsTextENG]
    WarpLinkPCMCIA  = "WarpLink PCMCIA Adapter"
    WarpLinkPCCARD  = "WarpLink PC Card Adapter"
    WarpLinkISA     = "WarpLink ISA Adapter"

[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"

ProductSoftwareWarpLinkPCMCIADescription = "WarpLink PCMCIA Adapter Driver"
ProductSoftwareWarpLinkPCCARDDescription = "WarpLink PC Card Adapter Driver"
ProductSoftwareWarpLinkISADescription    = "WarpLink ISA Adapter Driver"

ProductHardwareWarpLinkPCMCIADescription = "WarpLink PCMCIA Adapter"
ProductHardwareWarpLinkPCCARDDescription = "WarpLink PC Card Adapter"
ProductHardwareWarpLinkISADescription    = "WarpLink ISA Adapter"

ProductSoftwareWarpLinkPCMCIATitle = "WarpLink PCMCIA Adapter Driver"
ProductSoftwareWarpLinkPCCARDTitle = "WarpLink PC Card Adapter Driver"
ProductSoftwareWarpLinkISATitle    = "WarpLink ISA Adapter Driver"

ProductHardwareWarpLinkPCMCIATitle = "WarpLink PCMCIA Adapter"
ProductHardwareWarpLinkPCCARDTitle = "WarpLink PC Card Adapter"
ProductHardwareWarpLinkISATitle    = "WarpLink ISA Adapter"

;; DLL files
DialogDllName-WarpLinkISA    = "ntinstall.dll"
DialogDllName-WarpLinkOEM    = "ntinstall.dll"
DialogDllName-WarpLinkPCMCIA = "ntinstall.dll"
DialogDllName-WarpLinkPCCARD = "ntinstall.dll"

IRQList   = ^(IRQChoices, 1)
IRQValues = ^(IRQChoices, 2)

IOBaseAddrList   = ^(IOBaseAddrChoices, 1)
IOBaseAddrValues = ^(IOBaseAddrChoices, 2)


;; WarpLink specific Parameters
StationTypeList = ^(StationTypeChoices,1)
StationTypes    = ^(StationTypeChoices,2)

CountryList   = ^(CountryChoices,1)
CountryValues = ^(CountryChoices,2)

HopSequenceList   = ^(HopSequenceChoices, 1)
HopSequenceValues = ^(HopSequenceChoices, 2)

[DialogConstantsENG]
Help        = "&Help"
Exit        = "Cancel"
OK          = "OK"
HelpContext = ""
Continue    = "Continue"
Cancel      = "Cancel"

[IRQChoices]
IRQ_1 = "3",3
IRQ_2 = "4",4
IRQ_3 = "5",5
IRQ_4 = "7",7
IRQ_5 = "10",10
IRQ_6 = "11",11
IRQ_7 = "12",12
IRQ_8 = "15",15

[IOBaseAddrChoices]
IOBase_1  = "0x100",256
IOBase_2  = "0x120",288
IOBase_3  = "0x140",320
IOBase_4  = "0x160",352
IOBase_5  = "0x180",384
IOBase_6  = "0x1A0",416
IOBase_7  = "0x1C0",448
IOBase_8  = "0x1E0",480
IOBase_9  = "0x200",512
IOBase_10 = "0x220",544
IOBase_11 = "0x240",576
IOBase_12 = "0x260",608
IOBase_13 = "0x280",640
IOBase_14 = "0x2A0",672
IOBase_15 = "0x2C0",704
IOBase_16 = "0x2E0",736
IOBase_17 = "0x300",768
IOBase_18 = "0x320",800
IOBase_19 = "0x340",832
IOBase_20 = "0x360",864
IOBase_21 = "0x380",896
IOBase_22 = "0x3A0",928
IOBase_23 = "0x3C0",960
IOBase_24 = "0x3E0",992

;; WarpLink specific Parameters

[StationTypeChoices]
StationType_0 = "Slave",0
StationType_1 = "Primary Master",1
StationType_2 = "Secondary Master",2
StationType_3 = "Distributed Co-ordinator",3

[CountryChoices]
Country_1 = "UnitedStates",1
Country_2 = "Europe",2
Country_3 = "Spain",3
Country_4 = "Japan",4
Country_5 = "France",5

[HopSequenceChoices]
Hop_0  = "0",0
Hop_1  = "1",1
Hop_2  = "2",2
Hop_3  = "3",3
Hop_4  = "4",4
Hop_5  = "5",5
Hop_6  = "6",6
Hop_7  = "7",7
Hop_8  = "8",8
Hop_9  = "9",9
Hop_10 = "10",10
Hop_11 = "11",11
Hop_12 = "12",12
Hop_13 = "13",13
Hop_14 = "14",14
Hop_15 = "15",15
Hop_16 = "16",16
Hop_17 = "17",17
Hop_18 = "18",18
Hop_19 = "19",19
Hop_20 = "20",20
Hop_21 = "21",21
Hop_22 = "22",22
Hop_23 = "23",23
Hop_24 = "24",24
Hop_25 = "25",25
Hop_26 = "26",26
Hop_27 = "27",27
Hop_28 = "28",28
Hop_29 = "29",29
Hop_30 = "30",30
Hop_31 = "31",31
Hop_32 = "32",32
Hop_33 = "33",33
Hop_34 = "34",34
Hop_35 = "35",35
Hop_36 = "36",36
Hop_37 = "37",37
Hop_38 = "38",38
Hop_39 = "39",39
Hop_40 = "40",40
Hop_41 = "41",41
Hop_42 = "42",42
Hop_43 = "43",43
Hop_44 = "44",44
Hop_45 = "45",45
Hop_46 = "46",46
Hop_47 = "47",47
Hop_48 = "48",48
Hop_49 = "49",49
Hop_50 = "50",50
Hop_51 = "51",51
Hop_52 = "52",52
Hop_53 = "53",53
Hop_54 = "54",54
Hop_55 = "55",55
Hop_56 = "56",56
Hop_57 = "57",57
Hop_58 = "58",58
Hop_59 = "59",59
Hop_60 = "60",60
Hop_61 = "61",61
Hop_62 = "62",62
Hop_63 = "63",63
Hop_64 = "64",64
Hop_65 = "65",65
Hop_66 = "66",66
Hop_67 = "67",67
Hop_68 = "68",68
Hop_69 = "69",69
Hop_70 = "70",70
Hop_71 = "71",71
Hop_72 = "72",72
Hop_73 = "73",73
Hop_74 = "74",74
Hop_75 = "75",75
Hop_76 = "76",76
Hop_77 = "77",77
Download Driver Pack

How To Update Drivers Manually

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.

server: web3, load: 2.64