Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 15th, 2006, 01:15 PM
Authorized User
 
Join Date: Jul 2006
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
Default Error installing COM component in system32

Hi,

I am working on an installer application to install 2 COM components in the system32 directory. I had this implemented previously to install to a different directory (i.e. C:\sample\dll) and it worked fine. The setup app seems to crash though when I changed the path to C:\windows\system32. This is the error I receive...

System.Runtime.InteropServices.COMException (0x80110401) Errors occurred accessing one or more objects

I am guessing its a configuration problem?

Any help would be appreciated.

Thanks!
 
Old September 15th, 2006, 01:20 PM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Possibly need greater privileges to install into the system folder.

--

Joe (Microsoft MVP - XML)
 
Old September 15th, 2006, 01:53 PM
Authorized User
 
Join Date: Jul 2006
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
Default

That's what I thought as well...but I gave myself full control in the security tab to test it out and I still get the same message.
 
Old September 20th, 2006, 12:51 PM
Authorized User
 
Join Date: Aug 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you already try to just copy these components to the system32 directory without any errors? Iam not an experienced programmer but what I have noticed is that some installation of certain software extract some files to a temporary folder first and than copy them to the destination (system32) folder. I don't know why it is done like that. Maybe due to what you are experiencing?

[You must not re-invent the wheel but keep modifying the same wheel will not change the way of thinking.]

Regards,
.NETamateur
Electrical Engineer





Similar Threads
Thread Thread Starter Forum Replies Last Post
error in installing rakeshkumar Apache Tomcat 2 October 10th, 2007 01:12 PM
Installing component IIS sunil_narayana Classic ASP Basics 1 June 9th, 2007 09:01 AM
Start win.. service in folder other than System32 zaheersharief General .NET 2 April 18th, 2005 12:50 AM
Error installing .NET 2.0 Ned SQL Server 2000 9 October 5th, 2004 05:31 PM
error installing com+ component on win 2003 schockp C# 0 October 9th, 2003 07:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.