How to register .dll and .ocx files - Advanced Installer Community
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

How to register .dll and .ocx files

Hi Advanced Installer,

We have created one ADI setup using VB6 and c# application. After installing this setup, this application gives error like "Component 'Crystl32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid." and many more. I think this file(crystl32.ocx etc) is not self registered file hence gives error while registering using regsvr32.exe.
How to register system files(e.g crystl32.ocx, msstdfmt.dll etc) in ADI?

One more question is that if my application is 32-bit install on 64 bit system, then which system files this application use, System32 or SysWOW64?

Please solve this issue ASAP.

Regards,
Swati
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: How to register .dll and .ocx files

Hello,

Advanced Installer has the option to register DLL/OCX files. For doing this, you should double click on a file you need to register and go to Registration tab. Then, you should select "Auto register file (DLL, OCX, etc.)" option and the registration method supported by your file
One more question is that if my application is 32-bit install on 64 bit system, then which system files this application use, System32 or SysWOW64
In the case of a 32-bit package installed on a 64-bit machine, the SystemFolder will be resolved to "C:\Windows\SysWOW64\"

Please take a look on our article describing the folder locations on 64-bit platforms : Advanced Installer Package Types

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

Re: How to register .dll and .ocx files

Hello Sorin

crystl32.ocx and other system files does not support self registration.
What type of registration it supports? So that i can set option in ADI.

Regards
Swati
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: How to register .dll and .ocx files

Hello Swati,

As far as I can see these 2 files could be registered with regsvr. You have to pay attention to the dependencies of these files.

Please take a look here :
archive.sap.com - cannot register crystl32.ocx in Windows 7
superuser.com - Getting “Msstdfmt.dll missing” when starting Visual Basic 6 application

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”