And to add what Nicholas said, if they knew anything about windows they
wouldn't even think about System32.
COM DLL's directory don't even need to be in the path environment. Native
COM components just like .NET assemblies registered as COM components, are
registered in the registry. .NET registered COM components don't need to
reside the GAC either, just register them using the regasm.exe /codebase
option and their location will be stored in the registry such that any COM
client is able to load them.
Willy.
<al******@gmail .comwrote in message
news:11******** *************@p 79g2000cwp.goog legroups.com...
| 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]
| -
mv*@spam.guard. caspershouse.co m
| >
| <al******@gmail .comwrote in message
| news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
| 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\syst em32. 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!
|
|