I'm trying to understand how to install a newer version of a
"component" that is shared between multiple installers.  I can't seem
to find any explanation of this in the docs or via google.  If I
missed it, a link would be fantastic.

I have about 30 different installers that all have the same
"component" fragment and same component GUID in them.  E.g.

<Component Id='c43078a1.tif' Guid='784351B6-50BC-43B3-B668-F5248B4A4B90'>
<File Id='c43078a1.tif' Name='c43078a1.tif' DiskId='1' KeyPath='yes'
Source='..\USGS Topographic\250k\NY\c43078a1.tif' />
</Component>

This has allowed the installer to reference count how many times the
file has been installed, and only uninstall it when none of the
installers are using it.

I now need to install a newer version of this component.  The newer
version is shared between all of my installers (Same Component GUID).
Is there any way to install the newer version of this component such
that:

1.  The newer version will install, overwriting any existing older versions
2.  Insure that it will be uninstalled when the last application that
uses this component is uninstalled.
3.  Insure that it will not be overwritten by other installers that
have older versions of the file.

I'm using Wix 2.1

Thanks,
Craig

-- 
Craig Miller
Geospatial Software Architect

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to