Farrukh Waheed
Farrukh Waheed

Reputation: 2193

Wix Patches and using '*' instead of Component Guids

While searching for best practices, I came across this thread, which is discussing the use of '*' instead of GUIDs in components. Also I read similar discussion on different forums related to same topic

As far I know, while generating GUID dynamically from '*', if the destination of a Component is changed, so its GUID would also be changed. There might 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

Upvotes: 1

Views: 163

Answers (1)

Bob Arnson
Bob Arnson

Reputation: 21896

You can't move a file in a patch: That ends up being a removal of the component from the old location and an addition of a "new" component in the new location. You cannot remove components in a patch.

Upvotes: 1

Related Questions