@echo off
rem Batch to Install ODBC Driver DLLs into the OS/2 DLL dir.
rem
echo.
echo.
echo Usage: Insert your Warp 4.0 App. Sampler CD in your CDROM Drive 
echo        call IN_ODBC.CMD in a temp. dir (c:\tmp ?)
echo	       with YOUR CDROM Letter (D: ?)
echo.
echo	    or
echo.
echo	       call IN_ODBC.CMD from YOUR VABASIC\DLL dir (C:\VABASIC\DLL ?)
echo	       and ignore some File-not-Found messages 
echo.
pause
unpack %1\vabasic\odbc.ls@

rem Intersolv, Oracle 7 NLS CHARACTERSET CONVERSION 2.2.11.1.2
rem  Intersolv Name: COREO32.DLL
rem  IBM: 
move COREO32.DLL \OS2\DLL

rem Base ODBC Methods 02.10
rem  Intersolv Name: IVBAS08.DLL
rem  IBM: 
move IBBAS08.DLL \OS2\DLL

rem DB2/2 Driver 02.11.0000
rem  Intersolv Name: IVDB208.DLL
rem  IBM: 
move IBDB208.DLL \OS2\DLL
rem DB2/2 Driver Help
rem  Intersolv Name: IVDB208.HLP
rem  IBM: 
move IBDB208.HLP \OS2\DLL

rem Flat ODBC Methods 02.11.0000
rem  Intersolv Name IVFLT08.DLL
rem  IBM: 
move IBFLT08.DLL \OS2\DLL

rem ODBC License File (crypted)
rem  Intersolv Name: IVODBC.LIC, ODBC Pack for OS/2 
rem  IBM: QEIB.LIC, DataDirect ODBC Driver Pack
move QEIB.LIC \OS2\DLL

rem Oracle 7 Driver 02.11.0000
rem  Intersolv Name IVOR708.DLL
rem  IBM: 
move IBOR708.DLL \OS2\DLL
rem Oracle 7 Driver Help
rem  Intersolv Name IVOR708.HLP
rem  IBM: 
move IBOR708.HLP \OS2\DLL

rem SqlServer Driver 02.11.0000
rem  Intersolv Name IVSS08.DLL
rem  IBM: 
move IBSS08.DLL \OS2\DLL
rem SqlServer Driver Help
rem  Intersolv Name IVSS08.HLP
rem  IBM: 
move IBSS08.HLP \OS2\DLL

rem Sybase System 10 Driver 02.11.0000
rem  Intersolv Name IVSYB08.DLL
rem  IBM: 
move IBSYB08.DLL \OS2\DLL
rem Sybase System 10 Driver Help
rem  Intersolv Name IVSYB08.HLP
rem  IBM: 
move IBSYB08.HLP \OS2\DLL

rem Intersolv Sample Translation DLL
rem  SQLDataSourceToDriver<=>SQLDriverToDataSource
rem  OEM to ANSI translator
rem  Intersolv Name IVTRN08.DLL
rem  IBM:
move IVTRN08.DLL \OS2\DLL

rem Intersolv License/ODBC.INI Control DLL ?
rem  all Drivers call this DLL
rem  Intersolv Name IVUTL08.DLL
rem  IBM:
move IBUTL08.DLL \OS2\DLL

rem IBM SetLicInfo DLL ?
rem  Intersolv: none
rem  IBM:
move licos2.dll \OS2\DLL

rem Intersolv ODBC Driver Manager DLL 02.10.0000
rem  Intersolv Name ODBC.DLL
rem  IBM:
move ODBC.DLL \OS2\DLL

rem ODBC Library
rem  Intersolv Name ODBC.LIB
rem  IBM:
move ODBC.LIB \OS2\DLL

rem ODBC Administrator
rem  Intersolv Name ODBCADM.EXE
rem  IBM:
move ODBCADM.EXE \OS2\DLL

rem ODBC Installer DLL
rem  Intersolv Name ODBCINST.DLL
rem  IBM:
move ODBCINST.DLL \OS2\DLL
rem ODBC Installer Help
rem  Intersolv Name ODBCINST.HLP
rem  IBM:
move ODBCINST.HLP \OS2\DLL

rem Oracle 7 client DLL
rem  Intersolv Name ORA7O32.DLL
rem  IBM:
move ORA7O32.DLL \OS2\DLL

rem Bind files for DB2/2 databases
rem  Intersolv Name QECSV1.BND
rem  IBM:
move QECSV1.BND \OS2\DLL
rem  Intersolv Name QECSWHV1.BND
rem  IBM:
move QECSWHV1.BND \OS2\DLL
rem  Intersolv Name QERRV1.BND
rem  IBM:
move QERRV1.BND \OS2\DLL
rem  Intersolv Name QERRWHV1.BND
rem  IBM:
move QERRWHV1.BND \OS2\DLL
rem  Intersolv Name QEURV1.BND
rem  IBM:
move QEURV1.BND \OS2\DLL
rem  Intersolv Name QEURWHV1.BND
rem  IBM:
move QEURWHV1.BND \OS2\DLL

rem IBM SOM Run-time Library
rem  careful, donīt overrite newer versions ! 
if not exist C:\OS2\DLL\IOM.DLL move IOM.DLL \OS2\DLL
if exist IOM.DLL del IOM.DLL

rem IBM Visual Age C++ V.3 Run-time Library
rem  careful, donīt overrite newer versions ! 
if not exist C:\OS2\DLL\IPPOM30.DLL move IPPOM30.DLL \OS2\DLL
if exist IPPOM30.DLL del IPPOM30.DLL

mkdir C:\OS2\ODBC
mkdir C:\OS2\ODBC\DEMO
mkdir C:\OS2\ODBC\TRANSLAT

unzip.exe odbc_ini.zip -d C:\OS2
unzip.exe demodrv.zip -d C:\OS2\DLL
unzip.exe odbc_doc.zip -d C:\OS2\ODBC
unzip.exe odbcdemo.zip -d C:\OS2\ODBC\DEMO
unzip.exe odbctran.zip -d C:\OS2\ODBC\TRANSLAT

rem
rem ---------------------------------------------------------------------------
rem -------Drivers/Programs NOT on Visual OS/2 Warp 4.0 App. Sampler CD--------
rem ---------------------------------------------------------------------------

rem Oracle 6 client DLL
rem  Intersolv Name ORA632.DLL
rem  IBM: none

rem Oracle 6 client DLL
rem  Intersolv Name OSNT32.DLL
rem  IBM: none

rem DBase Driver 02.11.0000
rem  Intersolv Name: IVDBF08.DLL
rem  Intersolv Name: IVDBF08.HLP
rem  IBM: none

rem Gupta SQLBase Driver 02.11.0000
rem  Intersolv Name: IVGUP08.DLL
rem  Intersolv Name: IVGUP08.HLP
rem  IBM: none

rem Informix Driver 02.11.0000
rem  Intersolv Name: IVINF508.DLL
rem  Intersolv Name: IVINF508.HLP
rem  IBM: none

rem Ingres 6.4/04 Driver 02.11.0000
rem  Intersolv Name: IVING408.DLL
rem  Intersolv Name: IVING408.HLP
rem  IBM: none

rem MicroDecisionware Driver 02.11.0000
rem  Intersolv Name: IVMDI08.DLL
rem  Intersolv Name: IVMDI08.HLP
rem  IBM: none

rem Oracle (6) Driver 02.11.0000
rem  Intersolv Name: IVORA08.DLL
rem  Intersolv Name: IVORA08.HLP
rem  IBM: none

rem Intersolv Oracle 6 Language Id Table
rem  Intersolv Name LITB32.DLL
rem  IBM: none

rem Text Driver 02.11.0000
rem  Intersolv Name: IVTXT08.DLL
rem  Intersolv Name: IVTXT08.HLP
rem  IBM: none

rem Intersolv Product Info Program
rem  Intersolv Name: IVINFO.EXE
rem  call IVUTL08.DLL, looks for *.lic
rem  IBM: none