I often wonder why some things can be made so difficult for users. People consistently tell me that has long as Oracle is involved, installation is going to be a pain. But some things never change.
Anyway, I figured that most Windows 7 64bit machine users would face this error when they attempt to install the Oracle Database XE 11g.
“The installer is unable to instantiate the file C:\Users\ … … \KEY_XE.reg. This file does not appear to exist.” Fear not my fellow homo sapiens. Just follow these steps and rejoice.
1. With the error message box still open, click the Windows start button and type “regedit” in the search box. Press enter. The registry editor will open.
2. On the left column, expand the folders as follows: HKEY_CLASSES_ROOT -> Installer -> Products -> 266B7A….. -> SourceList-> Media
3. Look for ‘1’ under Name on the right column. Under ‘Data’ on the same row, the value should be ‘DISK 1’ or something similar. Right click on that row and click on ‘Modify’.
4. A window named ‘Edit String’ will open and type in the address indicated in the error window you had from the Oracle installer, ending just before ‘KEY_XE.reg’. It should end with a row of numbers/letters then ‘}\”.
5. Click OK and close the Registry Editor.
6. Return to the Oracle Installer and click OK on the error message box.
7. It will take a while, but eventually, the installer will indicate that installation is complete.
8. To check if everything’s good, click on the windows start button -> All programs -> Oracle Database 11g Express Edition -> Get started.
9. A web browser will appear and the Oracle Database Get Started page will load.
Good luck!
p/s: If like me, you closed the error message box before editing the Registry Editor, you can uninstall Oracle through the Windows Control Panel -> uninstall programs and start the installation all over. It worked for me.
Awesome, it worked!
glad to know =) thanks for your comment.
Worked for me as well, and I followed it step by step. However, it seems the registry editor needs a little time to publish its changes. When I clicked OK the first time, the message came right back. Then I waited a little, clicked OK again, and everything worked exactly as you describe. I am now using 11g XE w/out problems!
Thanks for sharing what you experienced =D
Same here. Mind you, this was the easiest installation workaround I ever had to deal with with Oracle.
still doesn’t work, i get the same error a second time and when i try to getstarted it says it can’t find http://…..
Hi Nick, did you run it as the Administrator?
Replace %HTTP…% by 8080
Replace %HTTP…% by 8080?
How to relace %HTTP…% by 8080, Veknelyon ?
I have the same issie as Nick. I ran it as admin, modified the key, and I get the same error
I had this problem, do you have %HTTPPORT% in your URL. If so, you need to replace this with 8080.
I then created an alternative URL shortcut and copied it into the server folder and then redirected the Get Started shortcut on my desktop to point to the new shortcut.
This worked a treat for me. Couldn’t get it to work any other way.
Step 2 is missing “Products” in the path.
Thanks for pointing it out!
There is no 266b7a…. under Installer.
under installer… there is only Assemblies, Components,Features, patches, Products, Upgrade Codes, and Win32Assemblies
I have Windows 7 Home Premium. 64 bit OS. I cannot get this to work
ps: I DID find that 266b7a….. Under PRODUCTS which is under installer. But Same thing happened as happened to NICK.
Tried MULTIPLE times.. and i DID run the setup, and regedit as administrator.
Hi all,
I’m sorry to hear you guys r facing this problem.
For a start, maybe you could check if your oracle service (windows button -> type services and search, click services) started successfully. The other thing to check is the firewall rules.
Let me know how it goes and I’ll try my best to help!
This worked.. i did get 2 messages. i put in the filename KEY_XE.reg as well. Also i tried to run it in compatibility mode for windows xp sp3.
Hi Malcom
would you please paste the “value data” that is entered in regedit during edit string for value name : 1 for me. i am not sure yet on how to enter KEY_XE.reg along with key.
please ignore my above request. i had it working now.
oh i changed a firewall rule too. Im not sure if all of these combined made it work but i dont mind..
I just enter URL=http://127.0.0.1:8080/apex/f?p=4950 after seeing OracleServiceXE and OracleXETNSlistener both started, it now works
It is still not working for me. I tried all above mentioned step as well as disabled firewall and unpluged network. Tried everything several time but still It is not working for me, when tried sqlplus it givems me error”Error 6 initializing SQL*Plus
SP2-0667: Message file sp1.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory”
Please help!
Very Useful, thanks very much
I’ll surely try this out. I have a course assignment that requires oracle 10 and I use Win 7 x64. I’ll revert when I’m done. Thanks in advance
Hi luminite, i tried typing the full path . still doesn’t work … should we type the values in brackets only ??
I’m sorry Shaen, can you elaborate on your question?
4. A window named ‘Edit String’ will open and type in the address indicated in the error window you had from the Oracle installer, ending just before ‘KEY_XE.reg’. It should end with a row of numbers/letters then ‘}\”.
The “address” mentioned above is “C:\xxxxx\xxxxx{xxxx1234}” or just “{xxxxx1234}”
The “C:\xxxx\….1234”
Yeah … i tried that… but still not working
also ı cannot run , it is not working
Super
Many thanks for sharing this.!
Thnx a lot,it worked for me :))))
I love you really!! after hours of trying different things you finally gave me the solution thx!!!!!
Thanks, this worked perfectly for me.
I would add that it’s easier to navigate to the the path indicated, then click in the directory name field (top left) and copy the address, rather than type it. I overwrote the contents of the regedit field (wasn’t sure if I should pre/app-end).
would one of you please paste down for me how the “value data” looks like
for “value name:1” in the rededit during edit string.
please, ignore my request. it is working for me now after adding “}\” at the end.
Thanks for your help man !!!! It really helped me a lot !!!
Greetings from Guatemala !!!
Hello i am kavin, its my first time to commenting anywhere, when i
read this article i thought i could also create comment due to this brilliant paragraph.
I have an issue were I can access and see the data, but I can’t update, change or add data in the database…any ideas?
Super!! Problem fixed, Thanks
Fantabolous! Worked magically.
Thanks Pal. Works Great.
This worked on my Win8 64x computer. Thank you!!!
Windows 8. Worked on mine too. Great walk-thru. Thanks so much.
Worked on windows 8. Easy walk-thru.
Many thanks, hugs and kisses, I love you ….it works on 64 win7!
Greetings from Russia!!!
😦 i tried all of the above and still no results…any other solutions
This works! Thanks 🙂
works like magic..very good explanation
I try copy http://127.0.0.1:8080/apex/f?p=4950 to URL, it is work, then changes the “Get_Started” path same as above URL.
Thank You.
Worked well the first time round, Thanks for the intel
Excelente funciona de maravilla en un Lenovo ideapad U310 con Windows 8 x64.
muchas gracias!
De nada =)
I’ve just installed it like you said, everything worked perfectly, and i just wanted to say thanks 🙂
Welcome =)
I’ve been surfing online more than 3 hours as
of late, yet I never discovered any interesting article like yours.
It’s lovely value enough for me. In my view, if all website
owners and bloggers made good content as you did,
the web will probably be a lot more useful than ever before.
every thinh works perfectly –Thanks lot for sharing
Howdy would you mind letting me know which web host you’re utilizing?
I’ve loaded your blog in 3 different web browsers and I must say this blog loads a lot faster then most.
Can you suggest a good web hosting provider at a honest price?
Cheers, I appreciate it!
Hey there,
I’m actually using wordpress. Is that what you’re looking for?
[…] Today I wanted to download Oracle XE to install it on my Windows 7 64-bits desktop. But when I got to the download-page, I discovered that there is no XE-installer for 64-bit. Entries on the Oracle Community suggested that the 32-bit installer will give errors when trying to install on x64. However, there seems to be a workaround, take a look at this blog. […]
Hi luminite,
Thanks a lot for this 🙂
If it is not too much to ask, I wanted to understand how did you come to explore this solution ? I mean, just not able to understand link between the error message and modifying a supposedly random reg key to fix it..
Hey Ketan,
Haha my answer is simple: Google is my friend :p
Well, I actually combed the internet quite a bit to find a solution. I tried several, but finally only this method worked for me. So I just posted it in case others need it as well!
oh ok.. 🙂
superb luminite… it worked as is you mentioned with x84 Windows 8 OS.
Smart work buddy…
Works like a charm, thnx man.
Also had to replace the %HTTPPORT% variable with 8080.
I always used to read article in news papers but now as
I am a user of internet thus from now I am using net for articles or reviews, thanks to web.
WHERE TO TYPE THE ADDRESS IN EDIT STRING…IN VALUE NAME OR VALUE DATA??
SORRY…IT WORKED
Lifesaver! THANKS!!
It worked, to a point. I had to copy the file OracleMTSRecoveryService.reg and rename it to: KEY_XE.reg. I pasted the file into the folder described in the error message. Once I did that, along with the regedit fix, the install went really well. (The time it takes to complete the install after the fix is a bit un-nerving, but keep you eye on the hard drive access LED. If it’s flashing or on solid, the install is still going!)
Thanks so much for the fix!
Very useful. Thanks so much for your sharing!
Very Very useful . Thanks a lot !
Thanks.. worked perfectly for me
Thanks, It worked for me.
Hi Luminite, almost 1.5 years later and still no X64 version? Poor Oracle… For learning purposes / training I will soon download the database and APEX. From reading the previous comments I’m pretty confident that your solution will do the trick. So thanks in advance… 🙂
thanks a lot 🙂
for all people whose listner don’t start. please create a environment variable ORACLE_HOME=’C:\oraclexe\app\oracle\product\11.2.0\server’. my listener started after setting up this environment variable in Win 7 64 bit. Just right click on my_computer> select properties> advance system setting> environment variable.
This is not right solution. Check my solution in below comment
Worked for me. Thank you so much! I have had several 3AM sessions this week trying different solutions, from Linux to XPMode.
finally success in installing oracle 11g xe on win 7 64 bit. No need to setting up ORACLE_HOME as I mentioned above as this is not needed at all (don’t even solved the error I was getting). The really issue I had was that I had installed oracle11g under my laptop login. I was always in the impression that since I am the single user of laptop hence I am the administrator. This is wrong. I later on read on internet that windows 7 do have a separate user ‘Administrator’ which is diabled by default untill unless you enable it. I enabled the Administrator user and then logged off. At login now I saw two userid. One is my own and another ‘Administrator’ user. Administrator user don’t have any password and I just clicked it and I was in. I went back to my own login, uninstalled oracle11g completly, logged out, relogin to Administrator useris and installed oracle11g and Wow! it worked like charm without any extra setup.
thanks everyone and have a good luck
Thank you from Romania!!!! I was about to reinstail windows but i found this! It worked
Worked like a charm! Thanks mate
Thanks
Thanks.. worked perfectly for me !!
You’re a genius 🙂
Thanks Buddy for this post, this made things simpler to me. Knowledge Sharing always make things move forward without giving loosing time on existing solutions and problems.
Keep up the good work.
Thanks very much. It worked
I got this error message while installing oracle xe 11g2 on windows 8 64 bit machine. I just clicked on OK. It completed the installation successfully. I was able to open the getting started page and I can work on application express.
So i was not really required to make the changes in regedit. Is this ok ?
if it works, it works! I had issue getting to the get started page which was why i made the change in regedit :p
its a very useful trick, thanks for the info. oracle in general sux a lot!
Should I download the windows 32-bit edition anyways and then follow these steps? I have downloaded the two files on this http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index-092322.html for windows 64-bit , but it has failed to work. any help would be greatly appreciated
Hi. Followed everything and when i tried to click GET STARTED, error is produced that says : it cant find the url. Make sure that you typed the name correctly, and then try again. Need help. Thanks 😀
Hi,
Try following my suggestion in this comment:
http://luminite.org/2012/09/06/installing-oracle-database-xe-11g-on-windows-7-64-bit-machine/#comment-101
Cheers
the fourth step
4. A window named ‘Edit String’ will open and type in the address indicated in the error window you had from the Oracle installer, ending just before ‘KEY_XE.reg’. It should end with a row of numbers/letters then ‘}\”.
does it mean, replace the “DISK1;1” value with path ?? or add path after “DISK1;1” value??
worked for me..
Thanks…
Works! Cheers!
Awesome!!! It worked like Magic
Genie… Ty !!
You really make it seem so easy with your presentation but I find this topic to
be really something that I think I would never
understand. It seems too complicated and very broad for me.
I’m looking forward for your next post, I will try to get the hang of it!
Thanks a lot for the tip! It worked very fine!
Worked exactly as described. Thank you very much!!
when i type in the address, should i also include the curly braces? { }
Definitely believe that which you stated. Your favorite reason
seemed to be on the internet the easiest thing to be aware of.
I say to you, I certainly get annoyed while people think about
worries that they plainly do not know about.
You managed to hit the nail upon the top and also defined out the whole thing without having side-effects , people could take a signal.
Will likely be back to get more. Thanks
looks like your domain has expired
Haha yes, you are absolutely right. But I don’t intend to renew it :p
Very useful post, thank you very much!
[…] I used this blog post to install it in my machine: https://luminite.wordpress.com/2012/09/06/installing-oracle-database-xe-11g-on-windows-7-64-bit-machi… […]
[…] I used this blog post to install it in my machine: https://luminite.wordpress.com/2012/09/06/installing-oracle-database-xe-11g-on-windows-7-64-bit-machi… […]