Overview | Documentation | C# | VB.NET | VB6 | C/C++ | Download
Registration-Free Activation is a handy mechanism that makes XCOPY and ClickOnce deployment possible, even when ActiveX controls are used. By adding a simple application manifest, your application can run without actually registering the ActiveX controls explicitly.
Unfortunately, Registration-Free Activation works on Windows XP and up only - UNTIL NOW!
On Windows 98, Windows ME, Windows 2000 (and even XP without service packs), you are on your own. In a perfect(?) world, we would all be using at least Windows XP SP2, but we aren't. As you know, ActiveX controls require registration in the Windows Registry in order for your applications to be able to use them. This introduces a slight "wrinkle" into XCOPY deployment, or even ClickOnce deployment. So, this leaves us with the following choices when trying to deploy our applications on older operating systems.
XCOPY Deployment
In order to use ActiveX controls, they have to be registered using REGSVR32.exe or a setup application has to be developed. While neither is overly difficult, it's just one more thing to do.
ClickOnce Deployment
ActiveX controls can't be automatically registered with ClickOnce. You have to add a bootstrap that runs an MSI installer. Again, just more administrative, tedious work. Or, again, register controls manually using REGSVR32.exe.
Windows 98, NT, ME, 2000, XP Alternative
We have developed a simple mechanism that lets you package all ActiveX controls with your application and deploy them using XCOPY or ClickOnce. Without ANY manual intervention, your ActiveX controls will be "magically" available to your application.
Actually, there is no magic. Some of you may have noticed that we do not use one of the many commercial installers for our own products. Since 1999/2000, we have been using our own, in-house setup application tool, which was a great benefit to us early on when we had to support 64-bit products (which the commercial installers didn't yet handle). We have become somewhat of "installer experts" and have been able to distill our knowledge into a simple ActiveX control distribution mechanism named OCX Installer.
With our new OCX Installer, your ActiveX controls will be copied to the Windows\System(32) directory, of course with version checking, an accurate share count is maintained (in case multiple applications use the same ActiveX control) and the control is registered. You can register as many controls as you need. You can even distribute additional files (again with version checking, share count if desired and optional registration).
The OCX Installer is very fast, too. Even though it checks whether all the files are in place every time your application runs, actual copying and registration only takes place if it is truly necessary. Otherwise, it adds no noticeable overhead whatsoever.
It won't replace a full-blown Setup application, but for those cases where ClickOnce or XCOPY deployment would be enough, the OCX Installer will bridge the gap for ActiveX controls.