Cannot extract registration info for COM DLL - 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!

Ashoks
Posts: 15
Joined: Thu Jan 07, 2010 4:25 pm

Cannot extract registration info for COM DLL

Hi,

I am evaluating Advanced Installer 7.3.1 (Trial) and trying to create an installer project (professional) for our application. Things were pretty smooth until I got to the point of trying to 'extract registration info from native library' while trying to setup auto registration for the several COM DLLs we have. I get "The selected file could not be registered" error when I OK from the Edit File dialog. I have set Synchronization to 'Disabled'. I am able to register the same DLLs using regsvr32 on the same computer. Is this a known issue and if so, is there a way to get around?

Thanks,
-Ashok
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Cannot extract registration info for COM DLL

Hello Ashok,

Does the DLL have other dependencies? It might also be something that only regsvr32 knows how to register.
Also, if you are running Vista or Windows7, please make sure you have the necessary permissions.

If these are not the cases, then please send us the DLL to support at advancedinstaller dot com so we can investigate it.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Ashoks
Posts: 15
Joined: Thu Jan 07, 2010 4:25 pm

Re: Cannot extract registration info for COM DLL

Yes, the DLL has several dependencies - other Dlls in various other folders that are all in the System %path%. That makes it dificult for me to send you the Dll. I am running on Windows XP Professional SP3.
I would like to know if you have recommendation on alternate approach to setting up AI project with COM registration information (registry keys such as CLSID, ProgId, ThreadingModel, InProcServer32). We have several COM Dlls that the installer will have to register on the target computer.

Thanks for your help,
-Ashok
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Cannot extract registration info for COM DLL

Hi Ashok,

You can try using regsvr32 as a custom action to try to register those COM DLLs. You can use the Launch File or Open URL custom action to launch regsvr32 with the proper parameters to register your DLLs.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Ashoks
Posts: 15
Joined: Thu Jan 07, 2010 4:25 pm

Re: Cannot extract registration info for COM DLL

Hi Gabriel,

I did not want to take that approach as it is not generally recommended. However, the good news is that I was able to get all of my COM registration done by entering necessary information/selections: 1)ProgId in the File Associations section 2)COM ClassId and TypeLibrary in the COM section 3)ThreadingModel in the Registry section etc..
This was a slightly manual process but it worked. Now that I am able to move forward, I want to know if some new installer capabilities we are looking for is well supported in AI. A summary of my requirements are below:

1. We want to implement an online installation process; user will be start the installation by running a light-weight setup.exe on his computer
2. As the first step in the installation, user would be prompted for login and passwd which would be validated on our server
3. Next, the installer will show only the product features that this user is allowed to install. User will then pick the features he wants to install
4. Each feature should be associated to a seperate CAB or MSI file that can be then individually brought over to the user's computer from our server (this can be done using "Web Media Blocks" in the InstallAware program)
5. Ability to easily customize dialog boxes to make them look visually appealing: change themes, colors etc. I noted that, even in the Enterprise version, there was no way to change background colors. Did I miss something?
6. Ability to embed Flash video content in dialogs
7. Notify and install web based updates (this can be done using "Web Update" in Install Aware)

If we are able to accomplish the above easily, we will be happy to purchase the Enterprise version of AI. I will look forward to your response to get a good insight specific to these requirements. We can continue further discussion via direct email, if you prefer.

Thank you,
-Ashok
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Cannot extract registration info for COM DLL

Hi Ashok,

Advanced Installer supports all these features.
1) This can easily be achieved. The following thread discusses this topic and also covers 4):
http://www.advancedinstaller.com/forums ... cab#p25145
2) You can create a new installer dialog using our Dialog Editor. You would then need to create a UI Custom Action to do the login authentication. You'd place this custom action to be executed on the "Next" button of your login dialog
3) You can use the conditional install level dialog to set conditions that will change the install level of a feature. Use properties in those conditions, properties which you will set depending on what the user is allowed to install. The dialog can be found by going to the Organization page and selecting the feature in question.
4) covered at point 1)
5) this can be achieved by using Images. Place the controls over the images. Use the Enhanced User Interface to enable the controls to have transparent backgrounds so they look properly. Setting plain background colors is not supported by Windows Installer, so using Images is the best alternative.
6) You can use the HTML Host control to display flash video content. It can be found on the Dialogs page, in the Toolbox.
7) You can use Advanced Updater to install updates. It is lightweight and easy to configure.

Let me know if you have questions.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Ashoks
Posts: 15
Joined: Thu Jan 07, 2010 4:25 pm

Re: Cannot extract registration info for COM DLL

Thank you, Gabriel. I will explore further and let you know if I have any other questions.
-Ashok
Ashoks
Posts: 15
Joined: Thu Jan 07, 2010 4:25 pm

Re: Cannot extract registration info for COM DLL

Hi Gabriel,

Have another question: What is the best way to include third party installers into the main AI setup? How will the main setup handle user prompts and progress information displayed by the embedded setups? Some of the embedded setups could be non-MSI based too.

Thanks in advance,
-Ashok
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Cannot extract registration info for COM DLL

Hello,

The best way to handle installation of third party software is through the use of Prerequisites.
The following tutorial on adding prerequisites should be of use.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”