Steps that application perform to change the Oracle Home

1. Update values of the following registy keys in SOFTWARE\ORACLE:
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\ORACLE_HOME
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\ORACLE_HOME_NAME
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\ORACLE_GROUP_NAME
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\NLS_LANG
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\OLEDB
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\OO4O
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\VOBHOME2
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\API - path to %oracle_home%\dbs directory
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\ALL_HOMES\DEFAULT_HOME - Name
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\OO4O\OO4O_HOME - path to %oracle_home%\OO4O\mesg directory
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\OracleMTSRecoveryService\Setup\CurrentVersion\Home - path to %oracle_home% direcory OR path to registry key (HKLM\SOFTWARE\[Wow6432Node\]ORACLE\KEY_*)
  • HKLM\SOFTWARE\[Wow6432Node\]ORACLE\OracleMTSRecoveryService\Setup\CurrentVersion\Version

2. Update library registrations in registry
TypeLib:
  • {0BB9AFD1-51A1-11D2-BB7D-00C04FA30080} - OraOLEDB 1.0 Type Library - file OraOLEDBXX.dll
ClsId:
  • {3F63C36E-51A3-11D2-BB7D-00C04FA30080} - OraOLEDB.Oracle, has path to OraOLEDB11.DLL
  • {3FC8E6E4-53FF-11D2-BB7D-00C04FA30080} - OraOLEDB.ErrorLookup, has path to OraOLEDB11.DLL

3. Register libraries using regsvr32

4. Update environment variables
  • PATH - contains path to %oracle_home%\bin
  • ORACLE_HOME - full path to oracle home's directory

Last edited Jul 13, 2012 at 11:03 PM by alekseiv, version 5

Comments

No comments yet.