![]() It is generally desired to remain stable between releases and even between different editions and languages of the software in some cases - this depends on application design and how editions are implemented (you can use different upgrade codes and still implement a major upgrade, but the upgrade table gets complicated). Note that an upgrade code is special - it should not be auto generated.Product, package and patch code can generally be randomly created as they are simply supposed to be unique.Accordingly Wix calculates a GUID based on the target path and other factors. Auto generating component GUIDs is possible because component GUIDs should remain the same once created unless the installation path is changed - this is described in this stackoverflow post.It also allows skipping some, or even most attribute values from explicit definition since most of them can be defaulted to predictable values.It also covers package-, product- and patch-codes. ![]() Recent versions of Wix allows GUIDs to be auto-generated for several things, most significantly component GUIDs.Component GUIDs: On Component GUIDs and when they should change: Change my component GUID in wix? ![]()
0 Comments
Leave a Reply. |