Re: Error installing DLL component in system32
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Sep 2006 14:55:22 -0400
I hate to tell you, but your specs are wrong.
If they knew anything about .NET, they would know that Fusion (the
assembly loader) does NOT look in System32 for dlls.
But hey, if that's what the spec says, who am I to argue?
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
<aljamala@xxxxxxxxx> wrote in message
news:1158345910.857054.33870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
After a discussion with the architecture team this is what they decided
upon because the system path environment variable was too full on the
server and we couldn't add "C:\sample\dll" to it.
It doesn't come down to being my decision really...that the way it is
unfortunately.
And they don't want them to be installed in the GAC, I gotta stick to
the specs.
Nicholas Paldino [.NET/C# MVP] wrote:
You shouldn't be installing COM components into system32.
Are these COM components .NET components that are registered to work
through interop? If so, install the assemblies in the GAC (they need to
be
strong named) and then register those with COM interop.
Since COM components have visibility across the whole machine, it
makes
sense that they go in the GAC. You also won't have location/lookup
issues
either.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
<aljamala@xxxxxxxxx> wrote in message
news:1158343995.546040.189740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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!
.
- Follow-Ups:
- Re: Error installing DLL component in system32
- From: aljamala
- Re: Error installing DLL component in system32
- References:
- Error installing DLL component in system32
- From: aljamala
- Re: Error installing DLL component in system32
- From: Nicholas Paldino [.NET/C# MVP]
- Re: Error installing DLL component in system32
- From: aljamala
- Error installing DLL component in system32
- Prev by Date: Re: VB to C#
- Next by Date: Re: What class is the object ??
- Previous by thread: Re: Error installing DLL component in system32
- Next by thread: Re: Error installing DLL component in system32
- Index(es):
Relevant Pages
|