;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; isnmp.inf: Setup Information for Mapper based SNMP Install.
; Componenets Installed:
;      1) DMI Instrumentation layer.
;      2) DMI2SNMP Mapper.
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[version]
signature="$CHICAGO$"

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  Install sections, these are the options
;  for building the installation file lists
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[DefaultInstall]
; we are leave this blank so that a right mouse click
; install does do anything
; we are chosing to do this because we want our install to
; give the user a choice of where to install to
; For drivers or other installations where the files must go
; to a predetermined location (like windows\system) this section
; can be used

[ProductInstall]
CopyFiles=Product.copy.files
AddReg=Product.Add.Reg



[Option2Section]
CopyFiles=Product.copy.files2

[Option3Section]
CopyFiles=Product.copy.files3

[Option4Section]
CopyFiles=Product.copy.files4



;;;;;;;;;;
; Uninstall

[DefaultUninstall]
; be sure to remove everything
DelFiles=Product.del.files,
DelFiles=Product.del.files2,Product.del.files3,Product.del.files4
DelReg=Product.Del.Reg
UpdateInis=del.links, del.links.old

[MyProgramUninstall]
; be sure to remove everything
DelFiles=Product.del.files
DelFiles=Product.copy.files2,Product.copy.files3,Product.copy.files4
DelReg=Product.Del.Reg
UpdateInis=del.links, del.links.old



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  Service sections, used for installing the Intel Instrumentation
;  service.
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[ProductInstall.Services]
AddService=Ni,,Instr-install-section
;DelService=Ni

[Product.Del.Services]
DelService=Ni

[Instr-install-section]
DisplayName = Intel Client Instrumentation for DMI and SNMP
ServiceType = 0x10
StartType = 0x2
ErrorControl = 0x1
ServiceBinary = %11%\ni.exe
Dependencies = win32sl
StartName = ni

 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  Registry sections, used for creating Intel specific 
;  registry entries.
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Product.Add.Reg]
;
; Product Registry entries here
; DMI registry entries and SNMP Mapper registry entries.
;;

HKLM,SOFTWARE\Intel\DMI Instrumentation\2.0\NetworkAdapters,"InstrumentationPath",0,"%11%\ni.dll"
HKLM,SOFTWARE\Intel\DMI Instrumentation\2.0\NetworkAdapters\0,"MIFId",0x10001,"0x1"
HKLM,SOFTWARE\Intel\DMI Instrumentation\2.0\NetworkAdapters\0,"MIFPath",0,"%11%\ni.mif"
HKLM,SOFTWARE\Intel\DMI2SNMP,"Pathname",0x00020000,"%11%\dmi2snmp.dll"
HKLM,SOFTWARE\Intel\DMI2SNMP\Pathname,"Mapper",0,"%11%\dmi2snmp.dll"

HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InfSnmp,"DisplayName",0,"Intel Client Instrumentation for DMI and SNMP"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InfSnmp,"UninstallString",0,"%11%\snmpinst.exe Uninstall"


;;;;;;;;;
;
; registry delete works by pruning the tree,
; so if you have interdependent values, put thems in subkeys and
; not in values of the main key since when you prune all the values are lost
;


;
;Registry entries here
;
[Product.Del.Reg]
;HKLM,SOFTWARE\Intel\SnmpExt\UserInfo,"CompanyName",,
;HKLM,SOFTWARE\Intel\SnmpExt\UserInfo,"DestinationPath",,
;HKLM,SOFTWARE\Intel\SnmpExt\UserInfo,"EmailAddress",,
;HKLM,SOFTWARE\Intel\SnmpExt\UserInfo,"ProductId",,
;HKLM,SOFTWARE\Intel\SnmpExt\UserInfo,"UserName",,
;HKLM,SOFTWARE\Intel\SnmpExt\UserInfo,,,

HKLM,SOFTWARE\Intel\DMI Instrumentation\2.0\NetworkAdapters\0,,,
HKLM,SOFTWARE\Intel\DMI Instrumentation\2.0\NetworkAdapters\0,,,
HKLM,SOFTWARE\Intel\DMI Instrumentation\2.0\NetworkAdapters\0,,,
HKLM,SOFTWARE\Intel\DMI Instrumentation\2.0\NetworkAdapters,"InstrumentationPath",,
HKLM,SOFTWARE\Intel\DMI Instrumentation\2.0\NetworkAdapters,,,
HKLM,SOFTWARE\Intel\DMI Instrumentation\2.0,,,
HKLM,SOFTWARE\Intel\DMI Instrumentation,,,
HKLM,SOFTWARE\Intel\DMI2SNMP\Pathname,"Mapper",,
HKLM,SOFTWARE\Intel\DMI2SNMP\Pathname,,,
HKLM,SOFTWARE\Intel\DMI2SNMP,"Pathname",,
HKLM,SOFTWARE\Intel\DMI2SNMP,,,
HKLM,SOFTWARE\Intel\SnmpExt,,,



;
; for add/remove programs applet
;

HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InfSnmp,"DisplayName",,
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InfSnmp,"UninstallString",,
HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\InfSnmp,,,





;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Disk lay out information, used by the CopyFiles lists
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; This is the source disk identifiers the number at the
; beginning maps to the SourceDisksFiles first parameter

[SourceDisksNames]
1="The Product Source Disk Name, 1.0","",1
2="The Product Optional Component Disk, 1.0","",1

;;;;;;;;;;;;;;;;;;
;
; SourceDisksFiles -
; this must have ALL file names in any copyfiles section
; so that the default copyfile error callback dialog (browse,skip)
; can use the SourceDisksNames strings above to help find the file
; -- this infomation can also be put in a layout.inf
;
; filename_on_source = diskid,subdir,size,checksum,spare,spare
; 

[SourceDisksFiles]
;dmtfoids.dll = 1,,,,,
;license.txt = 1,,,,,
;mibgen.exe = 1,,,,,
dmi2snmp.dll = 1,,,,,
ni.dll = 1,,,,,
ni.exe = 1,,,,,
ni.mif = 1,,,,,



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Targetdirectories predefined for [DestinationDirs] section
;   parameter number one  
;     00 = null, use only the second parameter for a path
;     11 = windows system directory
;     ...
;

[DestinationDirs]
;
; a default if a particular copyfiles section
;
; DefaultDestDir=LDID[,subdir]  ; not used in this sample

DefaultDestDir=11         ; System directory
Product.del.files=11      ; 01 is the source directory
Product.del.files2=11 
Product.del.files3=11 
Product.del.files4=11 

;
; Run time defined strings, these are set with 
; SetupSetDirectoryId once this inf is openned
;

Product.copy.files=65600   ; 65600 is a random choice for a dirid
Product.copy.files2=65600  ; note this must be set by a calling
Product.copy.files3=65600  ; application and must be > 65536
Product.copy.files4=65600

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; These are the CopyFiles lists, here is where the files
; for each component are defined
; Note the last param (parm 4) is the CopyFlag for that
; File, for example 8 means copy on  restart--see the doc for more
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Product.copy.files]
;dmtfoids.dll
;license.txt
;mibgen.exe,,,
dmi2snmp.dll
isnmp.inf
snmpinst.exe
ni.dll
ni.mif
ni.exe



[Product.del.files]
;note: the ",,,1" is a flag that will force a reboot and rename if the file is
;      in use when we try to delete it during uninstall
;dmtfoids.dll,,,1
;license.txt
;mibgen.exe,,,1
dmi2snmp.dll,,,1
isnmp.inf
ni.dll,,,1
ni.mif
ni.exe,,,1



[Product.copy.files2]
snmpinst.exe,,,1

[Product.del.files2]
opt2.txt

[Product.copy.files3]
;opt3.txt
[Product.del.files3]
;opt3.txt

[Product.copy.files4]
;opt4.txt
[Product.del.files4]
;opt4.txt



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Strings replace variable in percents above
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Strings]
PRODUCT_DESC    = "INFSNMP Extension"
PRODUCT_MIBGEN  = "Mibgen"
DT_MESSAGES     = "INFSNMP Extension"
DT_DESKTOP      = "Desktop"
DESC_OLD   = "Old Product"    ; removes old links
README_DESC       = "Read Me"




