>From the sounds of it you're following the Component Rules 
>(http://msdn.microsoft.com/en-us/library/Aa370561) quite well so it should 
>work fine if all 30 installers install that Component to the same location. 
>Just build a new installer with the updated file & it should update when you 
>install (as always test it thoroughly before you ship, Virtual Machines are 
>invaluable for this).

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-----Original Message-----
From: Miller, Craig [mailto:craig.mil...@spatialminds.com] 
Sent: 29 June 2010 17:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Component Level Versioning?

Note:  I sent this yesterday, but it never appeared on the list.  I apologize 
if this is a repost for some.

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



--
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



------------------------------------------------------------------------------
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