oemsetup.inf Driver File Contents (sp12778.exe)

[Identification]
    OptionType = NetService
[Options]
    DMISNMP
[FileConstants]
UtilityInf      = "UTILITY.INF"
subroutineinf   = "SUBROUTN.INF"
SoftwareType    = "service"
Exit_Code       = 0
NIEXE         = "%SystemRoot%\System32\ni_nic.exe"
SNMPTRAPEXE     = "%SystemRoot%\System32\snmptrap.exe"
Manufacturer    = "Intel"
ProductMajorVersion     = "2"
ProductMinorVersion     = "00"
ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
ProductOpSupport     = 132 
ProductSoftwareName       = "ni_nic"
ProductDisplayName        = "Intel Client Instrumentation for DMI and SNMP"
DmiInstrName    = "DMI Instrumentation"
NiServiceName             = "ni_nic"
ProductSoftwareTitle      = $(ProductSoftwareName)
ProductSoftwareImagePath  = $(NIEXE)
SystemService   = $(!NTN_ServiceBase)
ServiceKeyName  = $(!NTN_ServiceBase)
TCPIPKeyName    = $(!NTN_ServiceBase)"\TCPIP"
ProductKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
DmiInstrVersionKey = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(DmiInstrName)"\2.0\NetworkAdapters"
DmiInstrKey     =   $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(DmiInstrName)"\2.0\"
MsSnmpKeyName	=   $(!NTN_ServiceBase)"\SNMP"
WinSlKeyName	=   $(!NTN_ServiceBase)"\win32sl"
NiKeyName	=   $(!NTN_ServiceBase)"\ni_nic"

[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
[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)
        goto returnoptions
    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)
[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
    Debug-Output "OEMNSVSN.INF: STF_CWDIR is: "$(!STF_CWDIR)
    Debug-Output "OEMNSVSN.INF: STF_LANGUAGE is: "$(!STF_LANGUAGE)
    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
    set CommonStatus = STATUS_SUCCESSFUL

    EndWait
Begin = +
    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
    else
        set StartLabel = installadapter
    endif
    set from = $(fatal)
    set to = $(fatal)
    goto $(StartLabel)
installadapter = +

    StartWait

;*******************************
;Before Loading setup.dll check for win32sl
;*******************************
    OpenRegKey $(!REG_H_LOCAL) "" $(WinSlKeyName) $(MAXIMUM_ALLOWED) WinslKey
    Ifstr $(WinslKey) == $(KeyNull)
          goto WinslError
    endif
    CloseRegKey $(WinslKey)

;******************************
;Load setup dll
;******************************

     set FLibraryErrCtl = 1
     LoadLibrary ""  $(SrcDir)"\setup.dll" MY_HANDLE
     EndWait

;******************************
;Before doing anything check if there is an Old version of Instrumentation
;******************************
     set FLibraryErrCtl = 1
     LibraryProcedure Result, $(MY_HANDLE), CheckOldFile "ni_nic.dll" 
     ifstr $(Result) == "TRUE"
        FreeLibrary $(MY_HANDLE)        
        goto NiError
     
     endif
   
;******************************
; Check if MS-SNMP is installed.
;******************************

    OpenRegKey $(!REG_H_LOCAL) "" $(MsSnmpKeyName) $(MAXIMUM_ALLOWED) SnmpKey
    Ifstr $(SnmpKey) == $(KeyNull)
          goto SnmpError
    endif
    CloseRegKey $(SnmpKey)




;******************************
;check for ni_nic
;******************************
;    OpenRegKey $(!REG_H_LOCAL) "" $(NiKeyName) $(MAXIMUM_ALLOWED) NiKey
;    Ifstr $(NiKey) != $(KeyNull)
;          CloseRegKey $(NiKey)
;          goto NiError
;    endif
    


;Proceed with the rest

   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)
    OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
 
;        Shell $(UtilityInf), VerExistedDlg, $(ProductSoftwareTitle),+
;            $(ProductVersion)
;        ifint $($ShellCode) != $(!SHELL_CODE_OK)
;            Debug-Output "ShellCode error: cannot get an error string."
;            goto ShellCodeError
;        endif
   Ifstr $(KeyProduct) != $(KeyNull)
        CloseRegKey $(KeyProduct)
        goto OverInstError    
   endif

;****************************
;Stop MS-SNMP Service
;Add DMI2SNMP Extension to MS_SNMP
;Make MS-SNMP Dependend on Win32sl
;****************************

    LibraryProcedure Result, $(MY_HANDLE), ControlMyService "SNMP"  "STOP"



    ifstr(i) $(OldVersionExisted) == $(FALSE)
        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
        set OEM_ABANDON_ON = TRUE

        StartWait        
        Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
            $(ProductSoftwareName), $(NiServiceName),+
            $(ProductDisplayName), +
            $(STF_CONTEXTINFNAME), $(ProductSoftwareImagePath), "serviceauto", "",+
            {"win32sl"}, "", $(NIEXE)
        Set SoftwareProductKey = $($R1)
        Set SoftwareNetRuleKey = $($R2)
        Set SoftwareServiceKey = $($R3)
        Set SoftwareParameterKey = $($R4)
        Set SoftLinkageKey      = $($R5)
        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 software components"
           CloseRegKey $(SoftwareProductKey)
           CloseRegKey $(SoftwareNetRuleKey)
           CloseRegKey $(SoftwareServiceKey)
           CloseRegKey $(SoftwareParameterKey)
           CloseRegKey $(SoftLinkageKey)
           CloseRegKey $(KeyParameters)
;goto fatalregistry
           goto NiError
        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),$(ProductSoftwareTitle)},+
                           {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
                           {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
                           {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)}, +
                           {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
        Shell $(UtilityInf), AddValueList, $(SoftwareProductKey), $(NewValueList)
        ifint $($ShellCode) != $(!SHELL_CODE_OK)
            Debug-Output "ShellCode error."
            goto ShellCodeError
        endif
        set RegistryErrorIndex = $($R0)
        Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
            
            Debug-Output "Resgitry error: add value list."
            CloseRegKey $(SoftwareProductKey)
            CloseRegKey $(SoftwareNetRuleKey)
            CloseRegKey $(SoftwareServiceKey)
            CloseRegKey $(SoftLinkageKey)
            CloseRegKey $(SoftwareParameterKey)
            goto fatalregistry
        endif
        set NewValueList = {{InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
        Shell  $(UtilityInf), AddValueList, $(SoftwareNetRuleKey), $(NewValueList)
        ifint $($ShellCode) != $(!SHELL_CODE_OK)
            Debug-Output "ShellCode error."
            goto ShellCodeError
        endif
        set RegistryErrorIndex = $($R0)
        Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
            
            Debug-Output "Resgitry error: add value list."
            CloseRegKey $(SoftwareProductKey)
            CloseRegKey $(SoftwareNetRuleKey)
            CloseRegKey $(SoftwareServiceKey)
            CloseRegKey $(SoftwareParameterKey)
            CloseRegKey $(SoftLinkageKey)
            goto fatalregistry
        endif

;Removed1 Paul
 
        CloseRegKey $(SoftwareProductKey)
        CloseRegKey $(SoftwareNetRuleKey)
        CloseRegKey $(SoftwareServiceKey)
        CloseRegKey $(SoftwareParameterKey)
        CloseRegKey $(SoftLinkageKey)
        
;Create dependencies in MS-SNMP DependOnService 
;Add Extension Agent  to MS-SNMP 
	StartWait
	LibraryProcedure Result, $(MY_HANDLE), MakeSnmpDependOnSP 
        LibraryProcedure Result, $(MY_HANDLE), AddExtensionAgentToSnmp 
	set  FLibraryErrCtl  = 0     

;Create Dmi Instrumentation tree
;InstrumentationPath and MIFPath values should be absolute.
;Using STF_NTPATH for this.
;If you use %SystemRoot%, ni_nic.mif will not be loaded with ni_nic.exe version 1.5x or less
        OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Intel" $(MAXIMUM_ALLOWED) IntelKey
        CreateRegKey $(IntelKey) {"DMI Instrumentation",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" DmiKeyTypes

        CreateRegKey $(DmiKeyTypes) {"2.0",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" VersionKeyTypes
        CreateRegKey $(VersionKeyTypes) {"NetworkAdapters",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" AdapterKeyTypes
        CreateRegKey $(AdapterKeyTypes) {"0",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" EndKeyTypes
        Shell $(UtilityInf) AddValueList, $(AdapterKeyTypes), +
            {{"InstrumentationPath", $(NoTitle), $(!REG_VT_SZ), $(!STF_NTPATH)"\ni_nic.dll"}, +
	     {"EventPollFrequency", $(NoTitle), $(!REG_VT_DWORD), "8"} }
        Shell $(UtilityInf) AddValueList, $(EndKeyTypes), +
            {{"MIFId", $(NoTitle), $(!REG_VT_DWORD), "0x1"}, +
             {"MIFPath", $(NoTitle), $(!REG_VT_SZ), $(!STF_NTPATH)"\ni_nic.mif"}}
        CloseRegKey $(DmiKeyTypes)
        CloseRegKey $(VersionKeyTypes)  
	CloseRegKey $(AdapterKeyTypes)
	CloseRegKey $(EndKeyTypes)
 	
;Create dmi2snmp tree

        OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Intel" $(MAXIMUM_ALLOWED) IntelKey
        CreateRegKey $(IntelKey) {"DMI2SNMP",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypes
        CreateRegKey $(KeyTypes) {"Pathname",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyTypesSubkey
	Shell $(UtilityInf) AddValueList, $(KeyTypes), +
            {{"Pathname", $(NoTitle), $(!REG_VT_EXPAND_SZ), "%SystemRoot%\System32\dmi2snmp.dll"}}
        Shell $(UtilityInf) AddValueList, $(KeyTypesSubkey), +
            {{"Mapper", $(NoTitle), $(!REG_VT_SZ), "%SystemRoot%\System32\dmi2snmp.dll"}}
        CloseRegKey $(KeyTypesSubkey)
        CloseRegKey $(KeyTypes)

    endif

;****************************************
;Start SNMP and ni_nic Service
;****************************************
       LibraryProcedure Result, $(MY_HANDLE), ControlMyService "SNMP"  "START"
       LibraryProcedure Result, $(MY_HANDLE), ControlMyService "ni_nic"  "START"
       FreeLibrary $(MY_HANDLE)
       set FLibraryErrCtl = 0

       EndWait



;    set FLibraryErrCtl = 1
;    LibraryProcedure Result, $(!TCPCFG_HANDLE), CPlSnmp, $(!STF_HWND), $(!STF_GUI_UNATTENDED), $(!STF_UNATTENDED), $(!STF_UNATTENDED_SECTION)
;    ifint $(Result) == 0
;        set CommonStatus = STATUS_REBOOT
;    else-ifint $(Result) == 1
;        set CommonStatus = STATUS_REBOOT
;    else
;        set RegistryErrorIndex = $(Result)
;        goto fatalregistry
;    endif
;    Shell $(UtilityInf) SetMasterComponent Microsoft Tcpip $(STF_CONTEXTINFNAME) SNMP
    Goto successful
Configureadapter = +
 	goto ConfigError

bindingadapter =+
    set Error = "Binding: Sorry, not yet implemented."
    goto fatal

removeadapter = +

;*********************************
;Stop Ni Service
;*********************************
    StartWait
    set FLibraryErrCtl = 1

    LoadLibrary "" $(!STF_WINDOWSSYSPATH)"\isnmp.dll" RM_HANDLE   

;If win32sl is not present don't unregister the mif
    OpenRegKey $(!REG_H_LOCAL) "" $(WinSlKeyName) $(MAXIMUM_ALLOWED) WinslKey
  
    Ifstr $(WinslKey) != $(KeyNull)
        LibraryProcedure Result, $(RM_HANDLE), UnregisterMifComponent 
    endif
    LibraryProcedure Result, $(RM_HANDLE), ControlMyService "ni_nic"  "STOP"
    LibraryProcedure Result, $(RM_HANDLE), RemoveSnmpDependency 
    LibraryProcedure Result, $(RM_HANDLE), RemoveExtensionAgentToSnmp
    
    CloseRegKey $(WinslKey)
  
    FreeLibrary $(RM_HANDLE)
    set FLibraryErrCtl = 0
    
  

	AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\ni_nic.dll"
	AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\ni_nic.exe"
	AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\ni_nic.mif"
	AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\dmi2snmp.dll"
	AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\ni_nic.dat"
;AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\isnmp.dll"
	

    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

;Remove Dmi2snmp tree
    OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Intel" $(MAXIMUM_ALLOWED) DmiSnmpKey
    DeleteRegTree $(DmiSnmpKey) "DMI2SNMP"
    CloseRegKey $(DmiSnmpKey)

;Remove Dmi Instrumentation tree
    OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Intel" $(MAXIMUM_ALLOWED) DmiKey
    DeleteRegTree $(DmiKey) "DMI Instrumentation"
    CloseRegKey $(DmiKey)
    EndWait
    goto end


UpgradeSoftware = +

    goto end
successful = +
    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
nonfatal = +
    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), "NONFATAL", $(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
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


SnmpError = +
	Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(SnmpErrorMsg)
	ifstr(i) $($R0) != STATUS_SUCCESSFUL
    		goto ShellCodeError
	endif
	ifstr(i) $($R1) == "OK"
 	   goto end
	endif
           goto end

WinslError = +
	Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(WinslErrorMsg)
        	      
	ifstr(i) $($R0) != STATUS_SUCCESSFUL
    		goto ShellCodeError
	endif
	ifstr(i) $($R1) == "OK"
 	   goto end
	endif
           goto end
ConfigError =+
	Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "NONFATAL", $(ConfigErrorMsg)
	ifstr(i) $($R0) != STATUS_SUCCESSFUL
    		goto ShellCodeError
	endif
	ifstr(i) $($R1) == "OK"
 	   goto end
	endif
           goto end

NiError = +
	Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(NiErrorMsg)
        	      
	ifstr(i) $($R0) != STATUS_SUCCESSFUL
    		goto ShellCodeError
	endif
	ifstr(i) $($R1) == "OK"
           set CommonStatus = STATUS_USERCANCEL
 	   goto end
	endif
           goto end

NiReboot = +
	Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(NiRebootMsg)
        	      
	ifstr(i) $($R0) != STATUS_SUCCESSFUL
    		goto ShellCodeError
	endif
	ifstr(i) $($R1) == "OK"
           set CommonStatus = STATUS_USERCANCEL
 	   goto end
	endif
           goto end

OverInstError = +
	Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(OverInstMsg)
        	      
	ifstr(i) $($R0) != STATUS_SUCCESSFUL
    		goto ShellCodeError
	endif
	ifstr(i) $($R1) == "OK"
           set CommonStatus = STATUS_USERCANCEL
 	   goto end
	endif
           goto end

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
    Ifint $(RegistryErrorIndex) == TCPIP_NONEXIST_ERROR
        set CommonStatus = STATUS_USERCANCEL
    endif
    ifstr(i) $(OEM_ABANDON_ON) == TRUE
        set OEM_ABANDON_ON = FALSE
        goto removeadapter
    endif
    goto end
end = +
    
    goto term
term = +
    Return $(CommonStatus)
[GetFilesSize]
    set FileSizeList = ^(Files-SNMP,3)
    set TotalSize = 0
    ForListDo $(FileSizeList)
        Split-String $($) "=" SplitString
        set Size = *($(SplitString),3)
        set-add TotalSize = $(TotalSize) $(Size)
    EndForListDo
    set-div SizeInK = $(TotalSize) 1024
    return $(SizeInK)
[Install-Option]
    set STF_VITAL = ""
    ifstr(i) $(AddCopy) == "YES"
        AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)
    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)
   exit


[Source Media Descriptions]
    1 = "Intel Client Instrumentation for DMI and SNMP Service Disk "
[Signature]
    FileType = MICROSOFT_FILE
[GetSignature]
    read-syms Signature
    return $(FileType)
[ProductType]
STF_PRODUCT  = Winnt
STF_PLATFORM = I386
[Files-Inf]
2,	oemsetup.inf,	 SIZE=1000,	RENAME=$(!UG_Filename)
[Files-DMISNMP]
1, ni_nic.exe, SIZE=999
1, ni_nic.dll, SIZE=999
1, ni_nic.mif , SIZE=999
1, dmi2snmp.dll, SIZE=999
1, ni_nic.dat, SIZE=999
1, setup.dll,	 SIZE=1000,	RENAME="isnmp.dll"

[LanguagesSupported]
    ENG
[OptionsTextENG]
    SNMP     = "Intel Client Instrumentation for DMI and SNMP"
[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"
SnmpErrorMsg = "MS-SNMP Service should be installed before proceeding!"$(LF)"See dmiwin.txt for more details"
WinslErrorMsg = "Intel DMI 2.0 Service Provider Not Installed! Install Intel Service Provider before continuing"$(LF)"See dmiwin.txt for more details"
NiErrorMsg    = "Previous Installation of Intel DMI 2.0 Instrumentation detected! "$(LF)"Uninstall the  DMI Instrumentation before proceeding"$(LF)""+
                "Current package contains the latest Instrumentation"$(LF)"See dmiwin.txt for more details"
ConfigErrorMsg = "Cannot configure software component"
NiRebootMsg  = "Old Instrumentation was not completely removed "$(LF)"Reboot to remove components of Old Instrumentation"$(LF)"Then proceed with the installation"
OverInstMsg  = "Intel Client Instrumentation for DMI and SNMP version "$(ProductVersion)" exists!"$(LF)"Uninstall the existing instrumentation before reinstall"
ProText1     = "Copying:"
ProText2     = "To:"
FunctionTitle   = "DMI-SNMP Setup"
ProductSoftwareDescription      = "Intel Client Instrumentation service that enables Intel Network Interface Cards to be administered remotely with  SNMP and DMI management applications."
ProductSoftwareDisplayName      = "Intel Client Instrumentation for DMI and SNMP"
ProductSoftwareTitle    = "Intel Client Instrumentation for DMI and SNMP"
ShellCodeErrorTitle     = "Error: "$(FunctionTitle)
ShellCodeErrorText      = "Shell Code Error."
[DialogConstantsENG]
Help        = "&Help"
Exit        = "Cancel"
OK          = "OK"
HelpContext = ""
Continue    = "Continue"
Cancel      = "Cancel"
[FileDependentDlgENG]
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: web1, load: 0.85