Rafael
Posts: 1
Joined: Thu Mar 20, 2008 5:05 pm
Location: Duxford, Cambridge UK
Contact: Website

Failure of registration of COMDLG32.OCX

I have the following line in my .aip file:

<ROW Component="COMDLG32.OCX" ComponentId="{E10AD6E9-2BA4-4734-887A-B76E080FE538}" Directory_="Support_DIR" Attributes="0" KeyPath="COMDLG32.OCX"/>

I have placed all dlls required (but perhaps not all dependencies!) in a folder called Support within the application directory that I used to create the install package.

There may be other errors behind this one, but on the target machine the first runtime error on program load is: runtime error 339 - COMDLG32.OCX or one of its dependencies not correctly registered.

Have I done something weird in my ignorance?

Rafael
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Since this problem is caused by your application, I'm not sure what the solution would be. However, you can try these approaches:
- make sure that the files are installed in the locations in which your application will search for them
- add the dependencies of your files (if there are any) by right-clicking the file in the "Files and Folders" page and selecting the "Add Dependencies" menu
http://www.advancedinstaller.com/user-g ... ialog.html
- if some of your DLL and OCX files require registration, you can use the "Auto register file (DLL, OCX, etc.)" option in the "Edit File" dialog (double-click the file in the "Files and Folders" page to show it)
http://www.advancedinstaller.com/user-g ... ialog.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”