I have an activeX control, that ask the user if he want’s to install it every single time the page loads (Even if it is already installed)…
Can anyone point me in the right direction? What I have tried so far:
- Setting new Guids for the class & interface.
- Changing interfaces names & method names.
- Changing version number
- Uninstalling and re-installing the activeX
First see this MSDN post it sounds like what you are experiencing.
Also, I would use Process Monitor (Sysinternals) as the user installs the ActiveX control to check that it is making the correct registry entries. Search through the registry for the any GUID’s associated with your “old” controls and latest. You may want to backup your registry before actually deleting any registry keys.
You could also try a registry cleaning or search tool.
If these don’t help perhaps you could provide some more details about your ActiveX control.
Did the user re-install any software lately?
How about checking :
Have you had the user unregister the dll? You can run this from the cmd line where the dll file is located on the hard drive:
From the command prompt, type
“regsvr32 /u filename.dll”where “filename” is the name of the file that you want to unregister.