dll registration with regsvr32.exe and multiple users

M

Michel Sommer

Hi there

I've a MS WORD Addin dll. I register it with regsvr32.exe on Windows XP
clients.

I recently installed it and it ran just fine. However, when another user
loggs on the same PC and tries to start the program it fails indicating the
object is not registered.

So I've to register the dll for each single user.
But thats not possible for future because from time to time new users are
also loggin in...


Does anybody know a solution?

thanx.

Greez

Michel
 
T

Torgeir Bakken (MVP)

Michel said:
I've a MS WORD Addin dll. I register it with regsvr32.exe on Windows XP
clients.

I recently installed it and it ran just fine. However, when another user
loggs on the same PC and tries to start the program it fails indicating the
object is not registered.

So I've to register the dll for each single user.
But thats not possible for future because from time to time new users are
also loggin in...

Hi

In this registry key, add a new value (e.g. call it AddinDllFix)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

and fill it with this data:

regsvr32.exe /s "path to dll file"


Now the DLL will automatically be registered each time a user logs in
(note that the user needs to be a local admin for this to succeed).
 
M

Michel Sommer

Now the DLL will automatically be registered each time a user logs in
(note that the user needs to be a local admin for this to succeed).


Thanks for your help...

I hoped there's an other way than this workaround, but anyway...a solution
is found..

Greez

Michel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top