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!

Lucsteynen
Posts: 1
Joined: Tue Aug 09, 2016 8:22 am

Leave files in Common Files folder on uninstall?

Hi,
I am building the installers for 4 applications with AI13.1. These 4 applications all use 3 shared DLLs for a communication protocol over a serial port, so I have located these DLLs in the Program Files/Common Files folder. All works fine.
But when I install applications A and B, and uninstall application B, then application A does no longer work because the DLLs are removed from the Program Files/Common Files folder during the uninstall. Is there a way to not remove the DLLs on uninstall? I realize this is not a very clean thing to do but only a few users will use this software.
Greetz
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Leave files in Common Files folder on uninstall?

Hi and welcome to our forums.

In order to achieve this you can use the same names and GUIDs for the components related to those DLLs in both packages. You can take a look on the "Share files among multiple MSIs" which debates the same scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”