MSCOMCTL.OCX Not Correctly registered ... - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

david.poundall
Posts: 2
Joined: Tue Jul 15, 2008 9:45 am

MSCOMCTL.OCX Not Correctly registered ...

"Component MSCOMCTL.OCX or one of its dependencies not correctly registered a file is missing or invalid."

This was the message I had when I created an installer from my development machine (XP-SP2) and tried to install on a new Dell laptop 2 years younger but to the same patch level as the dev machine (or so I had hoped) .

Having moved to Advanced Installer from InnoScript I was rather hoping that this sort of problem would never raise its head ever again.

Hmmm.

I have just checked out the .aip file and I can see that several .ocx's and .dll's that that my main application wouild need to run have not been included.

I naively thought that advanced installer would be able to parse the .exe to get any file dependencies and having got them, do the required install and registering in the background. Is this the case ?? Or does the process have to be more manual that that.

Thanks in advance

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

Re: MSCOMCTL.OCX Not Correctly registered ...

Hi David,
I naively thought that advanced installer would be able to parse the .exe to get any file dependencies and having got them, do the required install and registering in the background. Is this the case ??
I'm afraid that Advanced Installer does not do this automatically. In the Files and Folders page of your project you need to add all the files of your application. If one of these files has dependencies, you can add them by following these steps:
- go to the "Files and Folders" page
- right-click the file
- select the "Add Dependencies" context menu
- use the Add Dependencies dialog to select the files you want to add to your project

Also, the files in your project are not registered automatically. This is because Advanced Installer cannot determine the registration method used by the files or if the files need to be registered. However, you can register a file like this:
- go to the "Files and Folders" page
- select the file you want to register
- double-click it or use the "Properties" context menu
- use the "Auto register file (DLL, OCX, etc.)" option in the Edit File dialog

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
david.poundall
Posts: 2
Joined: Tue Jul 15, 2008 9:45 am

Re: MSCOMCTL.OCX Not Correctly registered ...

Many thanks for the clarrification Cosmin. With the inno installer code I previously used there was a list of "though shalt not install - or else blue screen of death" files. Do you publish your own list of files along these lines or do you stay out o
if the fray?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: MSCOMCTL.OCX Not Correctly registered ...

Hi,

I'm not sure I understand what you mean. Can you please give me more details about this?
Please note that An Advanced Installer user can use any files he wants in his project. Also, the package may cause system problems only if it modifies or removes system resources (important files or registry entries).

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

Return to “Common Problems”