The installer is unable to instantiate the file KEY_XE.reg
I got this error when installing Oracle Database Express Edition 11g 32 bit on my Windows 7 64-bit machine.
--------------------------- Error --------------------------- The installer is unable to instantiate the file C:\Users\<your user name>\AppData\Local\Temp\{60712028-B7B0-4EC3-9C28-663111EC954A}\KEY_XE.reg. The file does not appear to exist. --------------------------- OK ---------------------------
I was using Oracle Database Express Edition 11g Release 2 for Windows x32 because at the time there was no 64 bit version for Windows 7.
The answer I found was in a response to an Oracle forum post: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b and I have integrated that process into the instructions below.
- Unzip the downloaded installer
OracleXE112_Win32.zip
somewhere.unzip /C/Users/<your user name>/Downloads/OracleXE112_Win32.zip -d /C/Users/<your user name>/Temp/OracleXe chmod -R 777 /C/Users/<your user name>/Temp/OracleXe
- Run the exe:
C:\Users\<your user name>\Temp\OracleXe\DISK1\setup.exe
. - Click NEXT > click I accept.. > STOP!
- If you continued, you would see the error this post is about. Did you ignore these instructions and continue anyway? That's OK.
- Accept the error (click OK).
- Let the install finish.
- Un-install Oracle Express.
- Delete
C:\oraclexe
- Start again.
- You should now be on the screen:
Choose Destination location
. DO NOT PRESS NEXT YET.- Open Windows Explorer to
C:\Users\<your user name>\AppData\Local\Temp
and look for a folder that the install just created. It will have a name like this:{60712028-B7B0-4EC3-9C28-663111EC954A}
and will be the same as what was reported in the error dialog. - Inside that folder, find the file
OracleMTSRecoveryService.reg
and make a copy of it. Rename the copy toKEY_XE.reg
. - Now go back to the installer and press NEXT.
- Open Windows Explorer to
- Specify Database Passowords: someSecurePassword.
- Verify that the Current Installation settings are OK:
Destination Folder: C:\oraclexe\ Oracle Home: C:\oraclexe\app\oracle\product\11.2.0\server\ Oracle Base:C:\oraclexe\ Port for 'Oracle Database Listener': 1521 Port for 'Oracle Services for Microsoft Transaction Server': 2030 Port for 'Oracle HTTP Listener': 8080
- Install finished.
This worked for me on my previous install on a Windows 7 box.
This week I had to set myself up on a new Windows 7 64-bit install. I went through the steps I outlined above and the install seemed to work but I encountered another problem: Connected to an idle instance; trouble creating DB. The fix for this issue was to un-install the 32-bit Oracle Express and install Oracle Database Express Edition 11g Release 2 for Windows x64
- the 64-bit installer. I did not get the same error (The installer is unable to instantiate the file) when installing the 64-bit version.