DLL Problem - 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!

matthewdixon
Posts: 1
Joined: Fri Aug 01, 2008 9:58 am

DLL Problem

Hi can anyone help me,

I've been asked to package of series of applications, they all use the same DLL's and people who have build these in the past have had the problem, if one of the programs has been removed from a workstation it removes the DLL's associated with the other programs causing them not to work, would advanced installer do this, is there any way to make it check to see if it is in use by another program?

Thanks for your help....

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

Re: DLL Problem

Hi Matthew,

The solution to your problem is to make sure that the components of these DLLs have the same GUID in all packages that use them. Also, you need to make sure that the DLLs are installed in the same location for all packages.

The components of a package can be managed through the Organization page. If you select a component, you will see the Component Properties pane. Here you can find the "GUID" field which contains the GUID of a component.

For your packages, you need to make sure that the DLLs are placed in the same components (the components have the same names, the same GUIDs and the same resources). If a component will be shared between packages, Windows Installer will react like this:
- a package which contains the component is installed -> Windows Installer marks the component as installed
- a second package which contains the component is installed -> Windows Installer knows that the component is installed and doesn't install it again
- the second package is removed -> Windows Installer sees that the component is included in another package, therefore it doesn't uninstall it
- the first package is removed -> Windows Installer sees that there are no more packages that contain the component, therefore it removes it

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”