You should change the component code if the destination of the component changes, as documented here: http://msdn.microsoft.com/en-us/library/aa367849(v=vs.85).aspx
Changing the component code is incompatible with minor/small updates; since you're talking about a patch and a major upgrade patch is more or less a non-feature, the short answer is that it won't work. Don't change the path of a component during the course of a patch - it's just not a compatible use case. Technically speaking, you can make it work through careful and very elaborate tailoring of the MSI package and manipulation of the feature tree, but you really really don't want to do this :-) On Wed, May 28, 2014 at 5:29 PM, Rob Mensching <r...@firegiant.com> wrote: > IIRC, I don't think that's going to work out well. You can try but I think > patching across directory moves probably doesn't work out great since IIRC > moving Component directories during repair doesn't tend to work out real > well either. But that's just from memory... > > _______________________________________________________________ > FireGiant | Dedicated support for the WiX toolset | > http://www.firegiant.com/ > > -----Original Message----- > From: Farrukhw [mailto:farru...@gmail.com] > Sent: Sunday, May 25, 2014 10:13 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Using '*' in Component Guids and Patches > > Hi > While searching for best practices, I came across this thread < > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Best-Practices-Using-quot-quot-for-GUID-automation-td5234716.html > > > , which is discussing the use of '*' instead of GUIDs in components. > > As far I know, while generating GUID dynamically from '*', if the > destination of a Component is changes, so its GUID would also be changed. > There may be some other factors as well. > > Let's say we released ver 1.0.0.0 and then in 1.0.1.0 we changed the > destination of a Component from Dir1 to Dir2. > > *Question:* If we generate Differential Patch between these two versions, > would the file get patched who's destination was changed in ver 1.0.1.0? > Would using '*' in this case would be good? > > Regards > Farrukh > > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-in-Component-Guids-and-Patches-tp7594909.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > The best possible search technologies are now affordable for all companies. > Download your FREE open source Enterprise Search Engine today! > Our experts will assist you in its installation for $59/mo, no commitment. > Test it for FREE on our Cloud platform anytime! > > http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users