You seem to be doing everything correctly, so all of that should happen 
automatically. Any installer, upgrade or patch you create should keep the 
component exactly as it is but build with the new version of the file. You dont 
really need to do anything.
The only thing that wont happen is, if you installed the component to multiple 
locations, you cant upgrade all of them at once with one installer.


-----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
</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com";><img src="http://www.sdl.com/images/email 
logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a>
<BR>
<font face="arial"  size="2" "><a href = "http://www.sdl.com"; 
style="color:005740; font-weight: bold">www.sdl.com</a>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
</font>



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