PDA

View Full Version : Error 1905 fail to unregister dll



kyungmo
06-29-2005, 04:50 PM
I have made a dll file as self register. During uninstallation, I have got error 1905 fail to unregister the dll. What should I do? Is there any way I could manually unregister the dll? Should I write a custom code for unregiter dll?

Please, let me know.

MartinMarkevics
06-29-2005, 06:14 PM
One way to fix the problem is to use COM extraction rather than self-registering the file.

Shilparc
09-12-2005, 02:31 AM
I tried "Extract COM Data" , but it does not extract any data.
And self -register gives me error "Fail to unregister"

MartinMarkevics
09-12-2005, 12:02 PM
Is your file marked as the key file of the component?

Shilparc
09-14-2005, 02:32 AM
Yes It is marked as key component

Shilparc
09-14-2005, 02:33 AM
yes it is marked as key file

SGorman
09-14-2005, 09:56 AM
I have the same problem. I have a DLL that will register just fine from the command line, but will not register when I use Extract COM at build so I had to mark it self-register, and now I get 1905 when it tries to unregister. yes, it is marked as the Key file.

drbits
10-19-2005, 11:45 AM
I have the same problem. I have a DLL that will register just fine from the command line, but will not register when I use Extract COM at build so I had to mark it self-register, and now I get 1905 when it tries to unregister. yes, it is marked as the Key file.

You can create a custom action that is only called at uninstall (REMOVE="ALL") that unregisters the DLL.

This doesn't fix the Extract COM problem, but it provides support for the command line registration.

harid38
07-21-2011, 05:17 AM
when you see that dialog, check if the file exists or not.

it could be possible that the file which you are unregistering was deleted before you unregister it.