Dll Unregister - 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!

knhsinbad
Posts: 3
Joined: Thu Apr 24, 2008 2:10 am

Dll Unregister

Hi!
Now I have two applications and those use same .dll files.(for example, i call it "register.dll")
To register it, I checked "Extract registration into from native library" option.
Assuming that I installed two applications in one system.
If I uninstall first application, dll files(register.dll) is removed and unregistered from the system.
Then second application can't run because 'register.dll' file and registration information don't exist.
It's very serious problem for me.

So I'm going to avoid to unregister dll file during uninstalling of the application.
How can I keep the registration information on the system?

Thank for your help!!!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Re: Dll Unregister

Hi,

This can be done by using a Merge Module. Create a new Merge Module project and add the .dll file in "Files and Folders" view, choose to register it from File properties dialog. Build the Merge Module project.

Now add this Merge Module in both projects that needs to use this .dll registration. Using a Merge Module both projects share the .dll registration and the .dll will be deleted only when both projects are uninstalled.

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

Return to “Common Problems”