B
Ben Litchfield
I am creating an Excel Add-in in VS 2005, when I either check the "Register
for COM Interop" or use the "regasm /codebase" command the registry entry for
the InprocServer32 is "mscoree.dll" and the add-in does not load with the
message "cannot find add-in mscoree.dll, Delete from list?"
After a little searching I found that If I modify the
HCL\CLSID\<GUID>\InprocServer32 entry from "mscoree.dll" to
"c:\windows\system32\mscoree.dll" it works, but if I unregister/reregister it
goes back and I need to update the registry again.
I have a couple questions
1)Is there something wrong with my setup that having just "mscoree.dll"
doesn't work?
2)Does it typically work without the full path?
3)Is there a way when I register via the command line that I specify the
full path to mscoree.dll?
4)Would it be an issue if I just always set this registry entry to the full
path? I want to distribute this to a set of users and want to avoid this
issue during deployment.
for COM Interop" or use the "regasm /codebase" command the registry entry for
the InprocServer32 is "mscoree.dll" and the add-in does not load with the
message "cannot find add-in mscoree.dll, Delete from list?"
After a little searching I found that If I modify the
HCL\CLSID\<GUID>\InprocServer32 entry from "mscoree.dll" to
"c:\windows\system32\mscoree.dll" it works, but if I unregister/reregister it
goes back and I need to update the registry again.
I have a couple questions
1)Is there something wrong with my setup that having just "mscoree.dll"
doesn't work?
2)Does it typically work without the full path?
3)Is there a way when I register via the command line that I specify the
full path to mscoree.dll?
4)Would it be an issue if I just always set this registry entry to the full
path? I want to distribute this to a set of users and want to avoid this
issue during deployment.