WIX: Can I install the upgrade guide at the time of installation using the command line?
1 answer
Well, no, for the following reasons:
-
Try to compile the project the way you are trying to, and you will see the following error: The value of the Upgrade / @ Id attribute, [UPGRADEGUID], is not a legal value.
-
Second, see the description on Update Table on MSDN. The Upgrade element populates the Upgrade information for a specific upgrade code in the Upgrade table. The ID in the code snippet refers to the UpgradeCode column in the Upgrade table.
Looking at the description of this column , you can see that this column is of the GUID data type. This means that you will need to use the actual GUID for the Id value. If the data type was Formatted , you could use the code snippet you pasted.
Hope it helps.
+2
source to share