Re: Error installing DLL component in system32

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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!




.



Relevant Pages

  • Re: Best bang for my laptop buck ?
    ... mike wrote: ... "basic computing" while your list of specs ... and it says to use the key code from my MS Works install disc that I ...
    (comp.sys.laptops)
  • Re: XP Slowww
    ... though it has not got the right specs to use it so it is so slow! ... Could I install Ubuntu? ... If you have Windows XP installed and working - you can see what processr you ... have, how much memory you have, how much hard disk space you have (and have ...
    (microsoft.public.windowsxp.general)
  • Re: All In One G3
    ... Specs: 233Mhz processor, 4Gb hard drive, Superdrive floppy, 24x CD Rom ... In spite of this I managed to install OS X, ... Virtual Memory which will slow the Mac a lot. ... First thing I'd install would be USB PCI card so you can use ...
    (comp.sys.mac.system)
  • Re: How important is RH certification?
    ... Configure section you install an operating system from scratch ... Part two depends on the specs. ... I am certain every employer is interested in that ...
    (linux.redhat)
  • Re: XP Activation
    ... locked in to that system's specs? ... If it is an OEM copy that uses SLP technology it won't even install on ... If the XP came preinstalled (OEM) on the old desktop then you may not move ... wiping the HDD of the OS which is WinXP Home SP2). ...
    (microsoft.public.windowsxp.general)