Self Register DLL doesn't work in Merge Module - Advanced Installer Community
Alphamacaroon
Posts: 7
Joined: Tue Feb 27, 2007 11:12 am

Self Register DLL doesn't work in Merge Module

Is there a known bug whereby DLLs in a merge module don't self-register? If you create a Merge module with a COM dll and set it to self register and then include that merge module into another setup program, the DLL doesn't appear to register correctly (like as in not at all). It seems to work fine if you include it in the setup program itself, so I know it's not an issue with the DLL.

-alpha
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Is there a known bug whereby DLLs in a merge module don't self-register?
This is due to a bug that causes the DLL to not be registered from the merge module. The fix will be available in the next version ( 4.8 ) of Advanced Installer scheduled for release at the begging of the next week.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Alphamacaroon
Posts: 7
Joined: Tue Feb 27, 2007 11:12 am

Did this get fixed in the latest version? It doesn't seem to be working still...
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This fix was included in the 4.8 version of Advanced Installer.

However in order to investigate the problem please send a small test project (DLL, AIP files) reproducing this issue to support at advancedinstaller dot com.

Waiting for your reply.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Firefox
Posts: 8
Joined: Wed Feb 14, 2007 8:54 pm

I am still having this problem... It appears to register the components within the merge module but some of them do not have all there functionality. Running regsvr32 on the components fixes the problem.

Any ideas?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

What exactly is the problem you encounter? Note that a DLL to be registered using SelfReg method must export the DllRegisterServer/DllUnregisterServer functions. For more details please see:

http://msdn.microsoft.com/library/defau ... _table.asp
http://www.advancedinstaller.com/user-g ... ialog.html

Regards,
Gigi
_____________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”