From 004a78ee0a73fefedfc30cf63165be23ecd12f3c Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 14 Feb 2025 12:57:25 -0800 Subject: WiX v6 changes to the core schema --- src/xsd/wix.xsd | 54 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 42 insertions(+), 12 deletions(-) diff --git a/src/xsd/wix.xsd b/src/xsd/wix.xsd index fc0c66af..d62d0639 100644 --- a/src/xsd/wix.xsd +++ b/src/xsd/wix.xsd @@ -184,6 +184,16 @@ + + + + _New in WiX v6: WiX v6 adds this attribute to the `Package` element._ + A globally unique identiifer for the bundle in the world. It is recommended to use a prefix such as "CompanyName." to + create a namespace of sorts. By default, higher versioned upgrade lower versioned bundles with the same Id. Use this + attribute instead of the UpgradeCode attribute in new development. + + + @@ -251,11 +261,13 @@ - + - Unique identifier for a family of bundles. If two bundles have the same UpgradeCode the - bundle with the highest version will be installed. + For new bundles, it is recommended to use the Id attribute instead. This attribute exists for + backwards compatibility scenarios. Use this attribute to provide a specific unique identifier + for a family of bundles. If two bundles have the same UpgradeCode the bundle with the highest + version will be installed. @@ -808,15 +820,15 @@ SOFTWARE\[Manufacturer]\Updates\[ProductFamily]\[Name] ThisVersionInstalled: Y - PackageName: >bundle name< - PackageVersion: >bundle version< + PackageName: (bundle name) + PackageVersion: (bundle version) Publisher: [Manufacturer] PublishingGroup: [Department] ReleaseType: [Classification] InstalledBy: [LogonUser] InstalledDate: [Date] - InstallerName: >installer name< - InstallerVersion: >installer version< + InstallerName: (installer name) + InstallerVersion: (installer version) @@ -850,8 +862,10 @@ - The release type of the update bundle, such as Update, Security Update, Service Pack, etc. - The default value is Update. + + The release type of the update bundle, such as Update, Security Update, Service Pack, etc. + The default value is Update. + @@ -2457,6 +2471,16 @@ Indicates whether the package files are compressed. Default is compressed packages. + + + + _New in WiX v6: WiX v6 adds this attribute to the `Package` element._ + A globally unique identiifer for the package in the world. It is recommended to use a prefix such as "CompanyName." to + create a namespace of sorts. By default, higher versioned upgrade lower versioned packages with the same Id. Use this + attibute instead of the UpgradeCode attribute in new development. + + + @@ -2502,7 +2526,12 @@ - The upgrade code GUID for the package. Sets the UpgradeCode property. + + For new packages, it is recommended to use the Id attribute instead. This attribute exists for + backwards compatibility scenarios. Use this attribute to provide a specific upgrade code GUID + for a MSI package. See UpgradeCode + for more information. + @@ -7020,9 +7049,9 @@ When being used in unadvertised mode, the attributes in the Class element correspond to registry - values under the `[HKCR\CLSID\{'{'}Id{'}'}]` and `[HKCR\CLSID\{'{'}Id{'}'}\Context]` keys as follows: + values under the `[HKCR\CLSID\{Id}]` and `[HKCR\CLSID\{Id}\Context]` keys as follows: - - `Id, Context`: [HKCR\CLSID\{'{'}Id{'}'}\Context] + - `Id, Context`: [HKCR\CLSID\{Id}\Context] - `Server`: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}\LocalServer32]\@="[!comserv.dll]" - `ForeignServer`: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}\LocalServer32]\@="mscoree.dll" - `AppId`: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}]\AppId="{00000000-89AB-0000-0123-000000000000}" @@ -14118,6 +14147,7 @@ + -- cgit v1.2.3-55-g6feb