PDA

View Full Version : OCX Components Registration Problem



vanvuurend
08-18-2004, 06:24 AM
Hi All,
I just recently started using IS Xpress and build a simple install program.

I have included some custom .ocx components.

When I run the installer all works fine but when I want to use the OCX files I get ocx not registered proparly.

If I then use REGSVR32 manually it registers the ocx fine and I can use it.

Why does installshield not do this automatically ?

Please help

Mike Marino
08-19-2004, 03:32 PM
By default we set COM files to have a Registration Type setting of "Extract at Build". Which is the perferred method since it allows Windows Installer to repair broken COM information. However, in some cases the Extract option may not work. In these cases, set the Registration Type setting to "Self Register" to fix the problem.

You can find the Registration Type property when you right click on a file, select Properties, and go to the COM & .Net tab.

The Self Register option does the same thing as regsvr32.exe does when it registers a file.