next up previous contents
Next: Using ActiveX dlls without Up: Using ActiveX Objects Previous: Registering ActiveX objects on   Contents

Registering ActiveX objects on end users' systems II - let the setup programs do it

This is the recommended way to register ActiveX objects on end users' systems. The setup program can install the ActiveX objects by doing version comparison, and checks if it needs to restart the computer. The ActiveX objects can be unregistered and removed by the uninstall program.

If you don't want to build setup programs using SWFKit, you need to follow the instructions of your installer making tool to install ActiveX objects. In SWFKit, you can install ActiveX objects like this

  1. Checks the "Enable the setup program to register ActiveX objects" in "Main Menu"-"View"-"Options". As shown in figure 1
    Figure 1.10: Checks the "Enable the setup program to register ActiveX objects" option
    Image t6
  2. Adds the Activex Objects into the attachment list. Remember to add it under the "Windows"-"System" folder. That is to say, the ActiveX object won't be packed into the output executable files, but be packed into the "setup.exe". The setup.exe will install the ActiveX objects into the specified folder, for example, if you've added the ActiveX objects into the folder "Windows"-"System"-"ActiveX", the installer will create a "ActiveX" sub folder in the system folder and copy the ActiveX objects into it then register them. As shown in figure 2
    Figure 1.11: Adds an ActiveX object into attachment list
    Image t7


next up previous contents
Next: Using ActiveX dlls without Up: Using ActiveX Objects Previous: Registering ActiveX objects on   Contents
Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.