login about faq

I am looking for advice on how to uninstall ActiveX bundle on Windows 8.1. Version to uninstall is 5.3.3. There is no Chilkat listed in Programs & Features etc.

asked Sep 26 '15 at 08:36

Dirk%20Gently's gravatar image

Dirk Gently
1


Dirk, there is no actual "install" with the Chilkat ActiveX. The Chilkat ActiveX is provided w/ the DLL in a .zip that is downloaded. It is "installed" by registering the DLL with regsvr32. The Chilkat ActiveX is a standard ActiveX DLL, that registers via regsvr32 like any other ActiveX. "Uninstalling" is simply to unregister. (regsvr32 -u <path-to-dll>)

ActiveX registration is just a glorified, over-complicated, problem-riddled, pain-in-the-ass way to map a name to the path of the DLL. ActiveX registration creates Windows registry entries to essentially store the name and path. A program instantiates an ActiveX via a CreateObject statement (or some language construct that boils down to a CreateObject), where the string passed to CreateObject (such as "Acme.Widget")is looked up in the registry to find the path of the DLL to load.

One way to remove the ActiveX is to delete the DLL file. One could then run a registry cleaning program, which I'm sure would cleanup ActiveX registration entries that point to non-existent files.

You could manually remove the registry entries via regedit. Look in HKEY_CLASSES_ROOT/Chilkat* You can remove those entries. Each ActiveX has a CLSID. Look in HKEY_CLASSES_ROOT/CLSID/{...} for the given CLSID. You can remove those entries. The "regsvr32 -u" command removes these registry entries. If you have the DLL, you can remove it that way.

Remember: Chilkat did not come with an "install program". It is a developer tool that is meant for software developers. The developer "installs" and "uninstalls" by registering/unregistering the ActiveX. An application developer may include a Chilkat ActiveX in his application install, and in that case the particular application installer/uninstaller would (as part of it's install/uninstall) register and unregister any ActiveX's it includes. (Of course, if other unrelated programs are using the same ActiveX, this might be problematic if the Chilkat ActiveX suddenly disappeared.)

Now.. having said all that... Chilkat is considering to provide the ActiveX in a .msi. The main reason is to eliminate the countless pitfalls encountered by developers in trying to manually register/unregister the DLLs. See http://www.cknotes.com/chilkat-activex-msi-installers/

link

answered Sep 26 '15 at 09:02

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Thanks for the prompt answer. All makes sense. I suggest that an MSI would be a great way to go. To achieve my aim of un-installing I adapted the unregister_*.bat approach, then deleted the files.

(Sep 28 '15 at 03:20) Dirk Gently
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×96
×17
×7

Asked: Sep 26 '15 at 08:36

Seen: 694 times

Last updated: Sep 28 '15 at 03:20

powered by OSQA