PDA

View Full Version : INFO: Troubleshooting ActiveX Control Installation



Support
10-03-2002, 11:19 AM
<HTML><HEAD><TITLE>INFO: Troubleshooting ActiveX Control Installation</TITLE></HEAD><BODY><h3>INFO: Troubleshooting ActiveX Control Installation</h3><b>Document ID: IR02016</b><hr>The information in this article applies to:<ul><li>Setup Factory 6.0</li><li>ActiveX Controls</li></ul><hr><h3>SUMMARY</h3><p>This article outlines techniques that can be used to troubleshoot ActiveX control installation issues.</p><h3>DISCUSSION</h3><p>Many programs now depend on ActiveX (COM) controls to provide both visual and behind the scenes functionality. However, installing ActiveX controls can be troublesome for various reasons. If you do not know what ActiveX controls are or how to install them with Setup Factory 6.0, please read the Knowledge Base article "HOWTO: Register an ActiveX Control" (Document ID: IR02013.)</p><p>The problem with ActiveX control installation is that it is hard to tell if it worked properly or not until your application actually runs for the first time on your user's system. And then it is usually a pretty cryptic error that is thrown from your program or the Visual Basic runtime library. Often the error is something like, "Run Time Error 6, Automation Error. Object Invoked has disconnected from client." or "Class does not support automation or does not support expected interface" or something equally uninformative. </p><p>Here are some troubleshooting techniques that can be used in these kinds of situations:</p><ul><li><b>Make sure the user has Administrative privileges.</b> In order to install an ActiveX control, the user will need to have Administrative privileges on the system that they are installing to. Without such privileges, the user may not be allowed access to the System folder or the HKEY_CLASSES_ROOT Registry key, both of which are central to ActiveX control registration.</li><li><b>Make sure you are not missing dependency files.</b> Many ActiveX controls require other DLLs or ActiveX controls to be already installed on the system in order to register properly. To find out if you are missing any files, you can use Setup Factory's <i>Scan Dependencies</i> screen. You can access this screen from <b>Tools | Scan File Dependencies</b> from the menu. Another thing to do is to consult the documentation available for the ActiveX control for installation instructions. If you purchased the control from a third-party vendor, contact them and ask if they can help you out.</li><li><b>Check the installation log file.</b> If you are not sure which control failed to register or install, check the installation log file. You can turn on the log file feature for your setups from the Settings tab of the <i>General Design</i> screen.</li></ul><h3>MORE INFORMATION</h3><p>Here are some other resources that may help you with this problem:</p><ul><li>Indigo Rose Knowledge Base article "HOWTO: Register an ActiveX Control" (Document ID: IR02013)</li><li>Indigo Rose Knowledge Base article "HOWTO: Detect Administrator Privileges" (Document ID: IR02010)</li><li>The topic <b>Command Reference | Design Environment | Dialogs | General Design | General Design tabs | Settings tab</b> in the Setup Factory 6.0 help file.</li><li>Page 125 of the <i>Setup Factory 6.0 User's Guide</i></li></ul><p>KEYWORDS: ActiveX, registration, dependencies, Setup Factory</p><hr><FONT SIZE=1>Last reviewed: October 3, 2002<br>Copyright 2002 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br></FONT></BODY></HTML>