Shared Legacy Files - 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!

Modao
Posts: 3
Joined: Mon Jan 18, 2010 12:23 pm

Shared Legacy Files

Hi Gabriel;

I have two incarnations of a Product "Worksation" and "Server". Both of these products install into the same Program Files\Manufacturer\ProductName\bin directory which is not an issue. However, they share DLL files which are installed into Program Files\Common Files\Manufacturer\bin.

The problem is that I can not find anywhere in the AI GUI or documentation to mark these files as Shared Legacy files (as you can do in a VS Setup project), so therefore if I uninstall one of the products then the shared legacy files are uninstalled also.

How do I mark a file as Shared Legacy so they are not uninstalled when another sister installation is still depending on them?

Kindest Regards

Dave
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Shared Legacy Files

Hello,

The DLL files need to be placed in a component in both installers. In both installers, this component needs to have the same key, the same GUID, and be installed in the same location. If these conditions are met, the resources in that component won't be uninstalled unless all installers to which that component belongs are uninstalled.

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

Return to “Common Problems”