[Version]
Signature= "$Windows NT$"
LayoutFile=layout.inf
DriverVer=4-25-2005, 2.81.1117.6

[DefaultInstall]
CopyFiles    = MSADC, WINDIR, ADO, OLEDB, RESDIR, DAO
DelFiles     = MSADC.Delete, ADO.Delete, OLEDB.Delete, SYSTEM.Delete
AddReg       =InstallODBCDrivers.RegAdd, SQLServer.RegAdd, Reg.DataAccess, MDAC.RegAdd, VIA.RegAdd
RegisterDlls = MSADC.RegSvr, ADO.RegSvr, OLEDB.RegSvr, RESDIR.RegSvr, DAO.RegSvr
DelReg       =RemoveOCMDAC.RegDel


;-[ destination directories ]-
[DestinationDirs]
MSADC = 16427,System\%MSADC%         ;DIRID_PROGRAM_FILES_COMMON
MSADC.Reg = 16427,System\%MSADC%     ;DIRID_PROGRAM_FILES_COMMON
MSADC.Delete = 16427,System\%MSADC%  ;DIRID_PROGRAM_FILES_COMMON
ADO = 16427,System\%ADO%             ;DIRID_PROGRAM_FILES_COMMON
ADO.Reg = 16427,System\%ADO%         ;DIRID_PROGRAM_FILES_COMMON
ADO.Delete = 16427,System\%ADO%      ;DIRID_PROGRAM_FILES_COMMON
OLEDB = 16427,System\%OLDDB%         ;DIRID_PROGRAM_FILES_COMMON
OLEDB.Reg = 16427,System\%OLDDB%     ;DIRID_PROGRAM_FILES_COMMON
OLEDB.Delete = 16427,System\%OLDDB%  ;DIRID_PROGRAM_FILES_COMMON
RESDIR = 16427,System\%OLDDB%        ;DIRID_PROGRAM_FILES_COMMON
SYSTEM = 11
WINDIR=25
SYSTEM.Reg = 11
SYSTEM.Delete = 11
DAO = 16427,%MsSHARED%\%DAO%         ;DIRID_PROGRAM_FILES_COMMON

[SourceDisksNames] 
1 = "Microsoft Data Access Components 2.8 SP1 Install",,,I386 

[SourceDisksFiles]          
newudl.reg =1
nonewudl.reg =1
mtxo7x2k.reg =1
mtxo7xnt.reg =1
mtxo80nt.reg =1
mtxo81nt.reg =1
mtxo802k.reg =1
mtxo812k.reg =1
sqloledb.rll =1
sqlsoldb.chm =1
sqlxmlx.dll =1
msado25.tlb =1
msado26.tlb =1
msado27.tlb =1
sqlxmlx.rll =1
msdatl3.dll =1
msdaorar.dll=1

[OLEDB]
; ippdav.dll,,,32
; ippwec.dll,,,32
; msdaipp.dll,,,32
msdadc.dll,,,32
msdaenum.dll,,,32
msdaer.dll,,,32
msdaora.dll,,,32
msdaosp.dll,,,32
msdaps.dll,,,32
msdasc.dll,,,32
msdasql.dll,,,32
msdasqlr.dll,,,32
msdatl2.dll,,,32
msdatt.dll,,,32
msdaurl.dll,,,32
msxactps.dll,,,32
oledb32.dll,,,32
oledb32r.dll,,,32
oledb32x.dll,,,32
oledbjvs.inc
oledbvbs.inc
sqloledb.dll,,,32
sqlsoldb.hlp
newudl.reg,,,32
nonewudl.reg,,,32
msdatl3.dll,,,32
msdaorar.dll,,,32
mtxoci7x_win2k.reg,mtxo7x2k.reg
mtxoci7x_winnt.reg,mtxo7xnt.reg
mtxoci80_win2k.reg,mtxo802k.reg
mtxoci80_winnt.reg,mtxo80nt.reg
mtxoci81_win2k.reg,mtxo812k.reg
mtxoci81_winnt.reg,mtxo81nt.reg
sqloledb.rll,,,32
sqlsoldb.chm,,,32
sqlxmlx.dll,,,32

[ADO]
adoapt15.reg
adofre15.reg
adojavas.inc
adovbs.inc
makapt15.bat
makfre15.bat
MDACReadme.htm, MDACRdMe.htm
msader15.dll,,,32
msado15.dll,,,32
msado20.tlb
msado21.tlb
msado25.tlb
msado26.tlb
msado27.tlb
msadomd.dll,,,32
msador15.dll,,,32
msadox.dll,,,32
msadrh15.dll,,,32
msjro.dll,,,32

[MSADC]
adcjavas.inc
adcvbs.inc
handler.reg
handsafe.reg
handunsf.reg
msadce.dll,,,32
msadcer.dll,,,32
msadcf.dll,,,32
msadcfr.dll,,,32
msadco.dll,,,32
msadcor.dll,,,32
msadcs.dll,,,32
msadds.dll,,,32
msaddsr.dll,,,32
msdaprsr.dll,,,32
msdaprst.dll,,,32
msdfmap.dll,,,32
msdaremr.dll,,,32
msdarem.dll,,,32

[SYSTEM]
odbcconf.rsp

[DAO]
dao360.dll

[WINDIR]
msdfmap.ini,,,16

[RESDIR]
sqlxmlx.rll,,,32

[InstallODBCDrivers.RegAdd]
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","MDAC_InstODBCDrivers",0x00000000,"%11%\odbcconf @%11%\odbcconf.rsp"
; Don't install IPP for now.
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","MDAC_RegisterIPP1",0x00000000,"regsvr32 /s ""%16427%\System\%OLDDB%\ippdav.dll"""
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","MDAC_RegisterIPP2",0x00000000,"regsvr32 /s ""%16427%\System\%OLDDB%\ippwec.dll"""
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","MDAC_RegisterIPP3",0x00000000,"regsvr32 /s ""%16427%\System\%OLDDB%\msdaipp.dll"""

[SQLServer.RegAdd]
HKLM,"Software\ODBC\ODBCINST.INI\SQL Server","CPTimeout",0x00000000,"60"

[Reg.DataAccess]
HKLM,"SOFTWARE\Microsoft\DataAccess","LocVer",FLG_ADDREG_TYPE_SZ,1033

[MDAC.RegAdd]
HKLM,"SOFTWARE\Microsoft\DataAccess","FullInstallVer",0,"2.81.1128.0"
HKLM,"SOFTWARE\Microsoft\DataAccess","PatchLevel",0,"2.81.1128.0"
HKLM,"%VROOT3%","/MSADC",0x00020002,"%49000%\system\msadc,,5"

[VIA.RegAdd]
HKLM,%VIAKey%,"Vendor",2,
HKLM,%VIAKey%,"DefaultServerPort",2,"0:1433"
HKLM,%VIAKey%,"DefaultClientNIC",2,"0"
HKLM,%VIAKey%,"RecognizedVendors",2,"Giganet, ServerNet II"

[RemoveOCMDAC.RegDel]
HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents", "DAC_ADO_CORE"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents", "DAC_DRV_BRAZOS"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents", "DAC_DRV_SQLSRV"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents", "DAC_DRV_ORACLE"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents", "DAC_ADO_DOC"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents", "DAC_RDS_11"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents", "DAC_RDS_CORE"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents", "DAC_RDS_DOC"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents", "DAC_RDS_SAMPLE"

[MSADC.Delete]
adcjavas.inc

[ADO.Delete]
ADOMDreadme.txt
ADOreadme.txt
adoxreadme.txt
JroReadme.txt

[OLEDB.Delete]
dbrstprx.dll
msdaerr.dll
msdasc.cnt
msdasc.hlp
oledbpr.dll
msdasc.txt
MSDASQLReadme.txt
MSOrclOLEDBreadme.txt
sqloledb.txt

[SYSTEM.Delete]
cliconf.cnt
cliconfg.cpl
dbmsshrn.dll
msrpjt40.dll
odbctl32.dll
msorcloledbreadme.txt
msoracle32readme.txt
odbcinst.txt
odbcjet.txt
sqlsrdme.txt
vfpodbc.txt

[MSADC.RegSvr]
16427,System\%MSADC%,msadce.dll   ,1
16427,System\%MSADC%,msadcf.dll   ,1
16427,System\%MSADC%,msadco.dll   ,1
16427,System\%MSADC%,msdaprst.dll ,1
16427,System\%MSADC%,msdfmap.dll  ,1
16427,System\%MSADC%,msdarem.dll  ,1
16427,System\%MSADC%,msadds.dll   ,1

[ADO.RegSvr]
16427,System\%ADO%,msado15.dll,  1
16427,System\%ADO%,msador15.dll, 1
16427,System\%ADO%,msadrh15.dll, 1
16427,System\%ADO%,msjro.dll,    1
16427,System\%ADO%,msadox.dll,   1
16427,System\%ADO%,msadomd.dll,  1

[OLEDB.RegSvr]
; Don't install IPP for now.
; ippdav.dll,,,32
; ippwec.dll,,,32
; msdaipp.dll,,,32
16427,System\%OLDDB%,msdadc.dll,   1
16427,System\%OLDDB%,msdaenum.dll, 1
16427,System\%OLDDB%,msdaer.dll,   1
16427,System\%OLDDB%,msdaora.dll,  1
16427,System\%OLDDB%,msdaosp.dll,  1
16427,System\%OLDDB%,msdaps.dll,   1
16427,System\%OLDDB%,msdasc.dll,   1
16427,System\%OLDDB%,msdasql.dll,  1
16427,System\%OLDDB%,msdatt.dll,   1
16427,System\%OLDDB%,msdaurl.dll,  1
16427,System\%OLDDB%,oledb32.dll,  1
16427,System\%OLDDB%,oledb32r.dll, 1
16427,System\%OLDDB%,oledb32x.dll, 1
16427,System\%OLDDB%,sqloledb.dll, 1
16427,System\%OLDDB%,msxactps.dll, 1

[RESDIR.RegSvr]
16427,System\%OLDDB%,sqlxmlx.dll, 1

[DAO.RegSvr]
16427,%MsSHARED%\%DAO%,dao360.dll ,1


[Strings]
MsSHARED = "Microsoft Shared"
OLDDB = "Ole DB"
ADO = "ado"
MSADC = "msadc"
DAO = "DAO"
VROOT3="SYSTEM\CurrentControlSet\SERVICES\W3SVC\Parameters\Virtual Roots"
VIAKey="SOFTWARE\Microsoft\MSSQLServer\Client\SuperSocketNetLib\VIA"