Two different installers with shared components - 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!

voyteckst
Posts: 2
Joined: Wed Jan 27, 2010 2:34 pm

Two different installers with shared components

Hi,

I want to make two different installers which will share some of components and which can be installed on one workstation. It should work like below:
Shared components (1):
- drivers, nt service (in common directory)
Exclusive components (2):
- some managing apps (in selectable directory)
Installation:
- I install one version which installs (1) and (2)
- on the same workstation I install second installer which installs (2) and if neccessary upgrades (1)
Uninstallation:
- when uninstalling one of the versions it only uninstalls (2) and leave (1)
- when uninstalling second version (latest) it uninstall all

Is it possible to do with AI?

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

Re: Two different installers with shared components

Hello,

This is indeed possible with Advanced Installer. Just make sure the shared component exists in both projects and has the same GUID. Reference count will be made automatically by windows, meaning the component will uninstall only when all products referring it will be uninstalled.

The topic is also discussed in the following thread:
http://www.advancedinstaller.com/forums ... 66&start=0

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

Return to “Common Problems”