Fails to Register DLL in Win 2K - 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!

Dave M

Fails to Register DLL in Win 2K

I am using 2.2 freeware.

As part of my installer I have a DLL that must be registered. I have checked register in the properties dialog.

After install of my app in XP the DLL is registered. Everything works fine.
When I install in Win 2K the application fails. After I register the DLL manually using Regsvr32, the application performs.

Any debugging recommendations would be appreciated.

Dave M
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Hi Dave,

That shouldn't happen. Have you tried reproducing the problem on another computer? Sometimes the development machine may have a positive usage counter for a DLL, and Windows Installer will consider it already registered.

If you still have the problem, please send us (to support at advanced instaler dot com) an minimal AIP and DLL to reproduce the problem.

BTW, registerging DLLs is against the Microsoft guidelines. You should include the registry entries in the install package instead.

Best regards,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Guest

Hi Cata,

Your help recommends manually installing registry values for a control instead of autoregistering the (in my case msflxgrd.ocx) file.

I have been looking high and low and cant find the necessary info.

Any idea where I can find these microsoft guidelines or should I just go against your helpfile and microsoft's recomendations on this?

Will

ps. Appologies for hijacking this post.
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ChrisRS
Posts: 4
Joined: Mon Jun 07, 2010 12:13 pm

Re: Fails to Register DLL in Win 2K

Dear Cata,

I have found this post regarding how to include the MSFLXGRD.OCX with the Advanced Installer.

However, I am very inexperienced and working on my own and don't understand the reply. The three files, MSFLXGRD.OCX, .OCA and .DEP are all included in the list of files in the program folder.

However, when I run the installer on another computer, it appears to install everything, but the msflxgrd stuff is apparently missing as an error occurs.

The computer on which the VB6 and Advanced Installer are included is Windows XP. The 'target' computer is Windows 7.

Could you please point to the relevant help or tell me how to include the appropriate encoding on your program to enable the msflxgrd to be registered on the target machine?

Thank you in anticipation.

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

Re: Fails to Register DLL in Win 2K

Hi Chris,

Did you try using the auto-register option in the Properties tab of "Edit Folder" dialog? If you did and the file is not registered correctly, you can try using a custom action to register the file. Perhaps this post will help you.

If none of these approaches work, please send us the .AIP (project) file you are using and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ChrisRS
Posts: 4
Joined: Mon Jun 07, 2010 12:13 pm

Re: Fails to Register DLL in Win 2K

Thank you very much for that - I hadn't discovered the Properties section - it is all very new to me.

I will try setting the Auto Register function and get back to you tomorrow.

Thank you again.

Chris.

Return to “Common Problems”