Subscribe to Feed

06May

How to resolve “Unable to open Sub key” Error when installing an MSI package?

Posted by admin as Microsoft, Windows

 

There are several occasions when you might get a “Unable to open sub key” or “Error 1402.Could not open key:” or “Error 1402.Could not open key: UNKNOWN\Components\XXXXXXXXXXXXXXXXXXXXXXXX” etc. Most of these errors are because you have already installed this product and un-installation or upgrade of the product did not complete properly. Hence there are some registry keys left with bad ACL’s in the registry.

The work around I mention here is for OS’s Windows XP Sp2 and above. Meaning, you are seeing this problem either in Windows XP or Windows Vista or Windows 7.

Open “RegEdit” and browse to the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components

  1. Right Click on Components select permissions
  2. Click Advanced
  3. Select the “Owner” Tab
  4. Select  Administrators  (Group) as owner and Click Apply.
  5. Then Select Checkbox that says “Replace owner  on sub containers and objects” and Click apply.
  6. Browse back to the Permissions tab, select the Check box that says “Replace all child objects with inheritable permissions from this object” and Click apply

You should see couple of Warnings similar to below image, but those are fine. Its just complaining about some restricted windows components.

clip_image002

 

Hope this helps some one

60 Responses to How to resolve “Unable to open Sub key” Error when installing an MSI package?

Josh Romero

February 6th, 2010 at 9:21 pm

Thanks! Helped alot and was very simple to follow!

lai

February 7th, 2010 at 2:49 pm

thanks for the tutorial! it was exactly what i needed!

Albert Wydeen

March 28th, 2010 at 10:53 pm

Thanks a million, you are a life saver. I tried several times to get my SDK to install but ran into registery problems. Your solution worked like a charm

David Tee

April 7th, 2010 at 6:39 am

Thanks so much for those instructions. I kept having trouble installing microsoft office 2010 Beta. I looked all over the internet for my kind of trouble. Come here and it worked like a charm. :)

mbm

April 11th, 2010 at 4:42 pm

You saved me.

Ralph Rainwater

April 16th, 2010 at 7:28 am

I add my thanks to you for your very simple, very effective instructions.

Microbit

April 18th, 2010 at 1:46 pm

Finally, a solution that worked! Bless you.

ashley

April 20th, 2010 at 3:51 am

omg mate i cannot believe it. I was pulling my hair out solving this problem then came accross your solution and it worked a trick. You wouldnt believe how thankful I am to you for this. Your a legend and a life saver!! I had problems with the registry when trying to install cs4 photoshop. even the clean cs4 did not work amongst other crap tutorials. Your however was easy to follow and very reassuring (how you said not to worry about the some of the warnings that pop up). I tried to install again and no error code came up! BRILLIANT!

Thank you, thank you, thank you!!!

ashley

April 20th, 2010 at 3:52 am

oh i know this post is for the MSI package but as mentioned above I had problems with the install of photoshop and this work a trick for me….. :)

James Gruzanski

April 28th, 2010 at 2:52 pm

Thank you!!! Thank You!!!! Thank You!!!

Deepak Sharma

June 15th, 2010 at 2:25 am

U r a dude..u are a life saver..racking my brains to install DPM 2010 AND that bugger was stuck on this message ..folowwed ur advice and it is now running as smooth as silk.

Cheers M8

Dartje

June 22nd, 2010 at 4:19 am

Thanks a million! This helped me narrow down the search! Thanks again!

mondy

July 18th, 2010 at 6:30 am

Thank you very much ! I couldnt use live apps for months and ur solution finally helped me! Thanks a LOOOOT!

Joshua

July 20th, 2010 at 6:14 pm

Great help thank you very much

Chris Mexas

August 9th, 2010 at 4:08 pm

YES!!! this is the solution! I am so lucky to have found this.

Fadil

September 6th, 2010 at 4:58 pm

Thank YOU so very much…Worked great!!!

wcp

September 23rd, 2010 at 12:25 am

THANK YOU THANK YOU THANK YOU !! !! !!

You know, I was already given the suggestion to reinstall windows. Neither Apple Support (I had the problem with installing iTunes) nor Windows forum could help.
I was already thinking of paying 80 Euros for Windows support…

Thanks thanks thanks!

Lorenzo

October 2nd, 2010 at 1:26 pm

Thank you so much, i was trying to run Sony Vegas Pro 9.0 and it wouldnt work so thanks a lot. :)

Robert Mastropaolo

October 2nd, 2010 at 7:17 pm

THANK YOU SO MUCH ! That worked perfectly. I have been struggling to try to delete those friggin’ registry sub-keys, but there were so many under the Components tree that I never could have done them all. I knew it was something in the permissions settings, but could never quite get it right. After I followed your instructions, my Microsoft programs are now all installing correctly ! You are a LIFESAVER !

Thanks.

Bob Mastropaolo - RFM PC Repairs

Ger

October 5th, 2010 at 6:11 am

Hi, this did not work for me on windows 7, i rebooted and tried again but no sucess to date….any additional ideas?

Carl Peddie

October 23rd, 2010 at 2:01 am

Long time viewer / first time poster. Really enjoy reading the blog, keep up the excellent work. Will most definitely start posting more in the future.

lhugo

October 27th, 2010 at 7:16 pm

Thanks a Lot

Solved my problem with Live Messenger 2011 Installer.
Solved the problem 0×80070643.
This error wa happening in installation.

MAryam

November 8th, 2010 at 9:36 pm

Hey I tried x64 and x87 neither are compadable with my system wtf?

Roman

December 8th, 2010 at 7:38 am

Thank you, it works!

Debi

January 5th, 2011 at 9:33 am

Thank you it worked great!

Bala

June 17th, 2011 at 2:41 pm

Thank you SO much for this. changing the ‘Ownership’ was the key pointer in my case. Much appreciated.

baba

July 16th, 2011 at 12:51 pm

thanks man.

Steven

July 18th, 2011 at 9:11 pm

Whoaa! Saved My Life! Thank you so very Much! (: (: Great Tutorial! :D:D:D:D:D:D 5*Starts

Arun

October 2nd, 2011 at 11:49 am

Thank You, Thank You…… So much. It worked for my VMware

Odhiambo

October 13th, 2011 at 1:31 pm

You’ve saved me, man! This Ovi Suite had given me grief for days!! Now running. Thanks

Rudy

October 14th, 2011 at 10:48 pm

Thanks a lot Man !!!! Really appreciate this.

Bryan

October 19th, 2011 at 8:39 pm

never comment on forums but I had to on this one. whoeva u r, u r a lifesaver

R4to0

October 26th, 2011 at 8:38 am

Thank you man! This saved my life :D Much appreciated!

Dave767

December 8th, 2011 at 11:02 am

Your a life saver bro!!! thanks a million!!!!!!!!!!!!!

Keith

December 21st, 2011 at 11:58 am

W00T

Ramia

February 1st, 2012 at 6:10 am

Thanks alot! :)

happy

February 21st, 2012 at 10:58 am

You da man, thank you!

Marvin

April 4th, 2012 at 8:02 am

Incredible. This has been a problem for several weeks. Found your site and WHAM, just like that! Fixed. I’m impressed.

Steve Cathersal

April 11th, 2012 at 6:51 am

Just another thanks. you saved me.

Yoyo

April 23rd, 2012 at 11:27 am

Thank you SO much.

Shashank Gaikwad

April 25th, 2012 at 5:49 am

Thank you for such a helpful information. Appreciate it!!

Anonymous

May 30th, 2012 at 6:16 am

Awesome!
Thanks a lot

Ben

June 5th, 2012 at 1:13 am

Thanks!
10 virtual foot kisses from me… my master! ;-)

Ian

June 13th, 2012 at 11:52 am

Thanks Buddy! - Exactly what I needed!

Richard

July 16th, 2012 at 12:36 pm

Nice post-very useful & clearly explained-this fixed my install problem first time.
(You wouldn’t happen to know how I fix Network diagnostic policy services
to run again on Win7? I have several issues with my Win7 PC…:-( )
Many thanks

savage

August 7th, 2012 at 2:26 pm

Tnx worked like charm ;)

SH

September 20th, 2012 at 12:17 pm

Was trying to uninstall SharePoint Server 2010 when I got that error! This solution worked perfectly!

G

October 29th, 2012 at 3:42 am

Thank you sooooooo much. This is the only thing that worked for me after searching everywhere!

YY

January 30th, 2013 at 12:48 am

thanks man! got this error uninstalling TFS 2010 and this solution worked nicely.

Thanks

February 8th, 2013 at 2:25 pm

بعد البحث طويلا في مواقع عدة ومحاولات عديدة
لم تنفع إلا هذه الطريقة
شكرا لهذا الموقع المفيد

ابو الحسين

harish

May 18th, 2013 at 11:45 pm

maaaannn dude you are the best this has been a serious problem for me and you solved wih just a few simple steps and for anyone whom it doesnt fix run your regdit as administrator

Scott

June 6th, 2013 at 6:30 pm

your advice kicks, works like a charm. just one error, but it had nothing to do with the setup. Thank you sooo much

find out more

November 23rd, 2013 at 3:56 am

Hello! This is my first visit to your blog! We are a team
of volunteers and starting a new project in a community in the same niche.
Your blogg provided us valuable information to work on. You have done a extraordinary job!

make breasts look bigger without surgery

December 6th, 2013 at 10:42 pm

Hello there! Would you mind if I share your blog with my twitter group?
There’s a lot of folks that I think would really appreciate your content.
Please let me know. Thanks

http://forums.Wt-f.com/index.php?members/blancaz51.6416/

December 26th, 2013 at 5:42 pm

I have been browsing online more than 2 hours today, yet I never found any interesting
article like yours. It’s pretty worth enough for me.
Personally, if all webmasters and bloggers made
good content as you did, the net will be much more useful than ever
before.|
I couldn’t resist commenting. Exceptionally well written!|
I will right away seize your rss as I can not iin finding your email subsxription linkk or newwsletter service.
Do you’ve any? Kindly permit me realize so that I may subscribe.
Thanks.|
It’s the best time to makee some plans for the
future and it’s time to be happy. I’ve read this post and iif I could I wish to
suggest yoou some interesting things or tips.
Maybe you can write next articles referring
to this article. I wiish to read even more things about it!|
It is appropriate time to make a few plans for the future
and it’s time to be happy. I have learn this publish and if I
may just I want to suggest you some attention-grabbing issues or
tips. Perhaps you could write next articles relating to
this article. I want to read more issues about it!|
I have been surfing on-line more than 3 hours today, yet I by no means found any interesting article like yours.
It’s beautiful value enoug for me. In my view, if all
website owners andd bloggers made good content
as you did, the web shall be much more helpful than
ever before.|
Ahaa, its gokd dialogue about this piece of
writing at this place at this webpage, I hzve read all that, so at
this time me also commenting here.|
I am sure this article has touched all the internet visitors,
iits really really fastidious post on building up new webpage.|
Wow, this article iis nice, my younger sister is anwlyzing these things, thus I am going to let know
her.|
Saved as a favorite, I really liike your blog!|
Way cool! Some extremely valid points! I appreciate you penning
this post plus the rest of the website is extremely good.|
Hi, I do think thiis is a great website. I stumbledupon it ;) I mmay come
back yet again since I saved as a favorite it.
Money and freedom is the best way to change, may you be rich and continue to help others.|
Woah! I’m really loving the template/theme of this website.
It’s simple, yett effective. A lot of times it’s difficult to get that
“perfect balance” between user friendliness and appearance.
I must say you’ve done a excellent job with this. Additionally, the blog loads
extremely quick for me on Opera. Outstanbding Blog!|
These are genuinely great idas in concerning blogging. You have
touched some nice points here. Any way keep up wrinting.|
I llike what youu guys are usally up too. This type of clever work and exposure!
Keep up the amazing works guys I’ve included you guys to blogroll.|
Hello! Someone in my Myspace group shared this site with us so
I came to look it over. I’m definitely loving the information.

I’m bookmarking and will be tweeting this to my followers!
Fantastic blog and superb design.|
I like what you guys are usually up too. Such clever work and exposure!
Keep up the terrific works guys I’ve added you guys tto my blogroll.|
Hello would you mind sharing which bllog platform you’re working with?
I’m planning to start my own blog in the near future but I’m having a
tough time choosing between BlogEngine/Wordpress/B2evolution
and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something unique.
P.S Sorry for being off-topic but I had to ask!|
Hi would you mind letting me now which webhost you’re working with?

I’ve lladed our blog in 3 completely different browsers
aand I must ssay this blog loads a lot quicker then most.
Can yyou recommend a good hosting provider at
a fair price? Thanks a lot, I appreciate it!|
I like it when people come together and share views.
Great site, keep it up!|
Thank you for the good writeup. It in fact was a amusement account it.
Look advanced to more added agreeable from you!

By thee way, how coul we communicate?|
Hello just wanted to give you a quick heads up. The text
in your article seem to be running off the screen in Safari.
I’m not sure if this is a formatting issue or something to do with browser compatibility but I thought I’d
post to let you know. The stygle and design look great though!

Hope you get the problem soved soon. Cheers|
This is a topic which is near to my heart…

Take care! Where are your contact details though?|
It’s very effortless to find out any topic on web as compared to textbooks, as
I found this paragraph at this web page.|
Does your site have a contact page? I’m having a tough time locating
it but, I’d like to shoot you an e-mail. I’ve got some creative ideas for
your blog you might be interested in hearing.Either
way, great site and I look forward to seeing it grow ove time.|
Hola! I’ve been reading your blog for some time now and finally got the courage to go ahead and give you a shout out from Houston Texas!
Just wanted to mention keep up the great job!|
Greetings from Colorado! I’m bored to death aat work so I decided
to browse your website on my iphone duhring lunch break.
I enjoy the knowledge you present herte and can’t wait to take a look
when I get home. I’m surprised at how quick your blog loaded
on my cel phone .. I’m not even using WIFI,
just 3G .. Anyways, awesome site!|
Its like you learn my mind! You seem to grasp a lot approximately this, such as
you wrote the e-book in it or something. I think that you can do with
some p.c. to power the message home a bit, however instead of that,
that is great blog. An excellent read. I’ll certainpy bbe back.|
I visited multiple websites exceplt the audio quality for audio songs
present at this site is really excellent.|
Hello, i read your blog from time to time and i own a similar one and i was just curious iif you get a lot of spam remarks?

If so how ddo you prevent it, any plugin or anything
you can advise? I gett so much lately it’s driving me mad so any support is very much appreciated.|
Greetings! Very useful advice within this post! It is the little changes that produce the most
important changes. Thanks a lot for sharing!|
I really love your blog.. Very nice colors & theme. Did you make this amazing
site yourself? Please reply back as I’m planning too
create my very own website and would love to find out where
you got this from or exactly what the theme is called.
Thanks!|
Hi there! This article could not be wrjtten any better!

Reading throuugh this article reminds me of
my previous roommate! He continually kept preaching about this.
I’ll send this information to him. Fairly certain he will have a good read.
Many thanks for sharing!|
Incredible! This blog looks exactly like my old one!

It’s on a totally different subjmect but it has pretty much the same page layout aand design.
Superb choice of colors!|
There iis certainly a great deal to find out about this subject.
I like all of the points yyou made.|
You’ve made some decent points there. I checked on the web to learn more
about the issue and found most individuals will go along with your views on
this website.|
What’s up, I read your blog daily. Your writing style
is awesome, keep doing what you’re doing!|
I simply could not leave your site before suggesting that I actually
enjoyed the usual information an individual provide to your guests?
Is gonna be again steadily to investigate cross-check new posts|
I needed to thank you for this excellent read!!
I definitely enjoyed every bit of it. I have
got you book-marked to check out new things you post_

______ ___ _____ ___

February 6th, 2014 at 7:02 am

You suggested it exceptionally well.

online dating

February 11th, 2014 at 10:21 am

Pretty element of content. I simply stumbled upon your website and in accession
capital to claim that I acquire actually loved account your blog posts.

Any way I will be subscribing for your feeds or even I achievement you get
right of entry to persistently quickly.

http://www.cafepress.com

April 15th, 2014 at 12:23 pm

It is the latest craze in the youuth world for t-shirts. Select shirtss that place the emblem in areas that you want to accentuate.

It can just supports Dry Clean or Hand wash ONLY, and must Remove EL panel,
battery pck aand the whole power cord carefully before wasing
as well ass do not submerge ANY part of the flash panel.

car auctions

August 13th, 2014 at 9:43 am

Make sure that the chargingbattery is in a well ventilated position.
Fewer things to think about, schedule, make time for, and work
to support. One issue is that using auto detailing equipment with high flow rates leads to wastage
of water.

Quotes

October 9th, 2014 at 2:39 pm

I blog frequently and I genuinely appreciate your information. Your article has truly peaked my interest.
I’m going to book mark your site and keep checking for new details about once per week.

I subscribed to your RSS feed as well.

Comment Form

 

 

Recent Comments