FAQ - Вопросы - ответы - советы - Базы данных
Вопрос:
Как установить BDE32 на чистой машине (ручками, без IS)?
Ответ:
Нижеследующий рецепт работает для вариантов D2/BDE351, D3/BDE40, D3/BDE451, D2/BDE40, D2/BDE451. Список файлов BDE для версии 3.51 (в отличие от 4.X) также не вычислял; считаем, что необходимы все файлы.
1. Переписать все файлы:
// ========== BDE40 =================== CHARSET.BLL OTHER.BLL USA.BLL IDAPI32.CFG BLW32.DLL IDAPI32.DLL IDBAT32.DLL IDPDX32.DLL IDR20009.DLL IDSQL32.DLL BDEADMIN.EXE // ========== END OF BDE40 ===================
2. Прописать в регистри след. значения:
// ==========BDE351 =================== REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\BLW32] "LOCALE_LIB1"="C:\\PROGRAM FILES\\BORLAND\\COMMON FILES\\BDE\\USA.BLL" "BLAPIPATH"="C:\\PROGRAM FILES\\BORLAND\\COMMON FILES\\BDE" "LOCALE_LIB2"="C:\\PROGRAM FILES\\BORLAND\\COMMON FILES\\BDE\\EUROPE.BLL" "LOCALE_LIB3"="C:\\PROGRAM FILES\\BORLAND\\COMMON FILES\\BDE\\OTHER.BLL" "LOCALE_LIB4"="C:\\PROGRAM FILES\\BORLAND\\COMMON FILES\\BDE\\CHARSET.BLL" "LOCALE_LIB5"="C:\\PROGRAM FILES\\BORLAND\\COMMON FILES\\BDE\\CEEUROPE.BLL" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE] "DLLPATH"="C:\\PROGRAM FILES\\BORLAND\\COMMON FILES\\BDE" "CONFIGFILE01"="C:\\PROGRAM FILES\\BORLAND\\COMMON FILES\\BDE\\IDAPI32.CFG" "RESOURCE"="PATH=BDE_LANGDRV" "SAVECONFIG"="WIN31" "USECOUNT"="1" // ========== END OF BDE351 =================== // ========== BDE40 =================== REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE] "DLLPATH"="C:\\APARTNER\\BDE451\\SQLLINKS.40;C:\\APARTNER\\BDE451" "RESOURCE"="0009" "CONFIGFILE01"="C:\\APARTNER\\BDE451\\IDAPI32.CFG" "USECOUNT"="1" "SAVECONFIG"="WIN32" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\DBASE] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\DBASE\INIT] "VERSION"="4.0" "TYPE"="FILE" "LANGDRIVER"="DB866RU0" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\DBASE\TABLE CREATE] "LEVEL"="5" "MDX BLOCK SIZE"="1024" "MEMO FILE BLOCK SIZE"="1024" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\MSACCESS] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\MSACCESS\DB OPEN] "DATABASE NAME"="DRIVE:/PATH/DATABASE.MDB" "USER NAME"="" "OPEN MODE"="READ/WRITE" "LANGDRIVER"="" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\MSACCESS\INIT] "VERSION"="1.0" "TYPE"="SERVER" "DLL32"="IDDAO32.DLL" "DRIVER FLAGS"="" "TRACE MODE"="0" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\ORACLE] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\ORACLE\DB OPEN] "SERVER NAME"="ORA_SERVER" "USER NAME"="MYNAME" "NET PROTOCOL"="TNS" "OPEN MODE"="READ/WRITE" "SCHEMA CACHE SIZE"="8" "LANGDRIVER"="" "SQLQRYMODE"="" "SQLPASSTHRU MODE"="SHARED AUTOCOMMIT" "SCHEMA CACHE TIME"="-1" "MAX ROWS"="-1" "BATCH COUNT"="200" "ENABLE SCHEMA CACHE"="FALSE" "SCHEMA CACHE DIR"="" "ENABLE BCD"="FALSE" "ENABLE INTEGERS"="FALSE" "LIST SYNONYMS"="NONE" "ROWSET SIZE"="20" "BLOBS TO CACHE"="64" "BLOB SIZE"="32" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\ORACLE\INIT] "VERSION"="4.0" "TYPE"="SERVER" "DLL"="SQLD_ORA.DLL" "DLL32"="SQLORA32.DLL" "VENDOR INIT"="ORANT71.DLL" "DRIVER FLAGS"="" "TRACE MODE"="0" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\PARADOX] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\PARADOX\INIT] "VERSION"="4.0" "TYPE"="FILE" "LANGDRIVER"="ANCYRR" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\DRIVERS\PARADOX\TABLE CREATE] "LEVEL"="4" "BLOCK SIZE"="2048" "FILL FACTOR"="95" "STRICTINTEGRTY"="TRUE" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\REPOSITORIES] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\REPOSITORIES\BORLAND DATA DICTIONARY] "DATABASE NAME"="DEFAULTDD" "TABLE NAME"="BDESDD" "LANGUAGE DRIVER"="" "DESCRIPTION"="BORLAND DATABASE ENGINE SAMPLE DATA DICTIONARY" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\SYSTEM] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\SYSTEM\FORMATS] [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\SYSTEM\FORMATS\DATE] "SEPARATOR"="." "MODE"="1" "FOURDIGITYEAR"="FALSE" "YEARBIASED"="TRUE" "LEADINGZEROM"="FALSE" "LEADINGZEROD"="FALSE" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\SYSTEM\FORMATS\NUMBER] "DECIMALSEPARATOR"="." "THOUSANDSEPARATOR"=" " "DECIMALDIGITS"="2" "LEADINGZERON"="TRUE" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\SYSTEM\FORMATS\TIME] "TWELVEHOUR"="FALSE" "AMSTRING"="AM" "PMSTRING"="PM" "SECONDS"="TRUE" "MILSECONDS"="FALSE" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\DATABASE ENGINE\SETTINGS\SYSTEM\INIT] "VERSION"="4.0" "LOCAL SHARE"="FALSE" "MINBUFSIZE"="128" "MAXBUFSIZE"="2048" "LANGDRIVER"="ANCYRR" "MAXFILEHANDLES"="48" "SYSFLAGS"="0" "LOW MEMORY USAGE LIMIT"="32" "AUTO ODBC"="FALSE" "DEFAULT DRIVER"="PARADOX" "MEMSIZE"="16" "SHAREDMEMSIZE"="2048" "SHAREDMEMLOCATION"="" "DATA REPOSITORY"="BORLAND DATA DICTIONARY" "SQLQRYMODE"="" [HKEY_LOCAL_MACHINE\SOFTWARE\BORLAND\BLW32] "BLAPIPATH"="C:\\APARTNER\\BDE451" "LOCALE_LIB1"="C:\\APARTNER\\BDE451\\USA.BLL" "LOCALE_LIB2"="C:\\APARTNER\\BDE451\\EUROPE.BLL" "LOCALE_LIB3"="C:\\APARTNER\\BDE451\\OTHER.BLL" "LOCALE_LIB4"="C:\\APARTNER\\BDE451\\CHARSET.BLL" "LOCALE_LIB5"="C:\\APARTNER\\BDE451\\CEEUROPE.BLL" "LOCALE_LIB6"="C:\\APARTNER\\BDE451\\FAREAST.BLL" "LOCALE_LIB7"="C:\\APARTNER\\BDE451\\JAPAN.BLL" // ========== END OF BDE40 ===================