PDA

View Full Version : Registration problem of OCX



NewsArchive
08-07-2007, 03:50 AM
I am having a problem with an installation script (SB6 Dev) that
installs a number of files and then registers two OCX programs. On
some computers it works correctly but on others, it copies the files
correctly but does not register them into the registry.

The script is fairly straight forward and uses the "Install Files"
with the OCX files also marked on the advanced tab for "Register" and
"Shared". If I add a "Run Command Line" at the end just before the
dialog that shows the install is complete and use "reqsvr32
c:\windows\system32\WSpell.ocx", it is OK.

The script runs fine on a laptop running Vista Business and on a
desktop that is running XP Professional. The two that failed are both
XP Professional. All of the machines are being run with a user that
has "Administrator" authority.

Can anyone make any suggestions on where to look?

Also, an earlier install using what I believe to be the same type of
commands worked on all four machines using an earlier version of one
of the OCX files.

Thanks in Advance.

Barton Whisler
Prosoft Inc.
Tampa, Florida

NewsArchive
08-07-2007, 03:50 AM
Barton,

Unfortunately, I don't have a suggestion. Registering a OCX is not magic -
SetupBuilder uses a standard Windows method to handle this. The installer
loads the library and calls the DllRegisterServer API.

Friedrich

NewsArchive
08-07-2007, 03:50 AM
Friedrich,

This might be a good lesson for how to use your debugger. Although I could
envision testing the return value of the registration to check for success in the
scripts.

--
Russell B. Eggen
www.radfusion.com
Skype IRC: http://tinyurl.com/2mqr2j