Redistributing the Webster Pro Control

 

When redistributing the release Webster Pro Control as part of your product, you also need to include the redistributable support files in your setup kit. The redistributable files for the 32-bit controls are in a folder named redist32 in your Webster installation directory and the 16-bit redistributable files are in redist16.

 

From your setup program, you should install the redistributable files in the Windows system directory on the end-user's machine. Obtain the name of the Windows system directory by calling the GetSystemDirectory Windows API.

 

If any of the redistributable files are already present on the user's machine, compare their version resources against the copies you are installing. Only re-install a file if your copy has a higher version number than the copy that is already installed.

 

The Webster Pro distribution packages install all of the files noted below into your Windows system directory (unless newer versions are already present) except for the control itself, which is installed to the directory you select during setup.

Files to install with the 32-bit S-Type control.

 

These files are required for the 32-bit Webster Pro Control S-Type:

 

 

Files marked with '*' require registration. Most setup program generators support self-registration of DLLs, or you can register the control directly using the LoadLibrary Windows API to load the DLL or OCX, then use GetProcAddress to obtain the address of the "DllRegisterServer" function, and then call that function.

 

You can also use REGSVR32.EXE to perform the necessary registration tasks. Just pass the complete path and filename of the DLL or OCX as an argument to REGSVR32.

Files to install with the 32-bit D-Type control.

 

These files are required for the 32-bit Webster Control D-Type:

 

 

Files marked with '*' require registration. Most setup program generators support self-registration of DLLs, or you can register the control directly using the LoadLibrary Windows API to load the DLL or OCX, then use GetProcAddress to obtain the address of the "DllRegisterServer" function, and then call that function.

 

You can also use REGSVR32.EXE to perform the necessary registration tasks. Just pass the complete path and filename of the DLL or OCX as an argument to REGSVR32.

Files to install with the 16-bit control.

 

These files are required for the 16-bit Webster Pro Control:

 

 

Files marked with '*' require registration. Most setup program generators support self-registration of DLLs, or you can register the control directly using the LoadLibrary Windows API to load the DLL or OCX, then use GetProcAddress to obtain the address of the "DllRegisterServer" function, and then call that function.

 

You can also use REGSVR.EXE to perform the necessary registration tasks. Just pass the complete path and filename of the DLL or OCX as an argument to REGSVR.

 

** OLE2.REG should be registered using the command line "REGEDIT/S %SYS%\OLE2.REG", substituting the Windows system directory for %SYS%.