aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2025-02-14 12:57:25 -0800
committerRob Mensching <rob@firegiant.com>2025-02-14 13:28:50 -0800
commit004a78ee0a73fefedfc30cf63165be23ecd12f3c (patch)
treef00933f414323259d4b7e44556e5df78de32a9f7
parent3581898b7940715d9b4153e37a8c3040835d75c8 (diff)
downloadwix-004a78ee0a73fefedfc30cf63165be23ecd12f3c.tar.gz
wix-004a78ee0a73fefedfc30cf63165be23ecd12f3c.tar.bz2
wix-004a78ee0a73fefedfc30cf63165be23ecd12f3c.zip
WiX v6 changes to the core schema
-rw-r--r--src/xsd/wix.xsd54
1 files 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 @@
184 </xs:documentation> 184 </xs:documentation>
185 </xs:annotation> 185 </xs:annotation>
186 </xs:attribute> 186 </xs:attribute>
187 <xs:attribute name="Id" type="xs:string">
188 <xs:annotation>
189 <xs:documentation>
190 _New in WiX v6: WiX v6 adds this attribute to the `Package` element._
191 A globally unique identiifer for the bundle in the world. It is recommended to use a prefix such as "CompanyName." to
192 create a namespace of sorts. By default, higher versioned upgrade lower versioned bundles with the same Id. Use this
193 attribute instead of the UpgradeCode attribute in new development.
194 </xs:documentation>
195 </xs:annotation>
196 </xs:attribute>
187 <xs:attribute name="InProgressName" type="xs:string"> 197 <xs:attribute name="InProgressName" type="xs:string">
188 <xs:annotation> 198 <xs:annotation>
189 <xs:documentation> 199 <xs:documentation>
@@ -251,11 +261,13 @@
251 </xs:documentation> 261 </xs:documentation>
252 </xs:annotation> 262 </xs:annotation>
253 </xs:attribute> 263 </xs:attribute>
254 <xs:attribute name="UpgradeCode" type="Guid" use="required"> 264 <xs:attribute name="UpgradeCode" type="Guid">
255 <xs:annotation> 265 <xs:annotation>
256 <xs:documentation> 266 <xs:documentation>
257 Unique identifier for a family of bundles. If two bundles have the same UpgradeCode the 267 For new bundles, it is recommended to use the Id attribute instead. This attribute exists for
258 bundle with the highest version will be installed. 268 backwards compatibility scenarios. Use this attribute to provide a specific unique identifier
269 for a family of bundles. If two bundles have the same UpgradeCode the bundle with the highest
270 version will be installed.
259 </xs:documentation> 271 </xs:documentation>
260 </xs:annotation> 272 </xs:annotation>
261 </xs:attribute> 273 </xs:attribute>
@@ -808,15 +820,15 @@
808 <html:code>SOFTWARE\[Manufacturer]\Updates\[ProductFamily]\[Name]</html:code></html:p> 820 <html:code>SOFTWARE\[Manufacturer]\Updates\[ProductFamily]\[Name]</html:code></html:p>
809 <html:ul> 821 <html:ul>
810 <html:li>ThisVersionInstalled: Y</html:li> 822 <html:li>ThisVersionInstalled: Y</html:li>
811 <html:li>PackageName: &gt;bundle name&lt;</html:li> 823 <html:li>PackageName: (bundle name)</html:li>
812 <html:li>PackageVersion: &gt;bundle version&lt;</html:li> 824 <html:li>PackageVersion: (bundle version)</html:li>
813 <html:li>Publisher: [Manufacturer]</html:li> 825 <html:li>Publisher: [Manufacturer]</html:li>
814 <html:li>PublishingGroup: [Department]</html:li> 826 <html:li>PublishingGroup: [Department]</html:li>
815 <html:li>ReleaseType: [Classification]</html:li> 827 <html:li>ReleaseType: [Classification]</html:li>
816 <html:li>InstalledBy: [LogonUser]</html:li> 828 <html:li>InstalledBy: [LogonUser]</html:li>
817 <html:li>InstalledDate: [Date]</html:li> 829 <html:li>InstalledDate: [Date]</html:li>
818 <html:li>InstallerName: &gt;installer name&lt;</html:li> 830 <html:li>InstallerName: (installer name)</html:li>
819 <html:li>InstallerVersion: &gt;installer version&lt;</html:li> 831 <html:li>InstallerVersion: (installer version)</html:li>
820 </html:ul> 832 </html:ul>
821 </xse:remarks> 833 </xse:remarks>
822 </xs:appinfo> 834 </xs:appinfo>
@@ -850,8 +862,10 @@
850 </xs:attribute> 862 </xs:attribute>
851 <xs:attribute name="Classification" type="xs:string" default="Update"> 863 <xs:attribute name="Classification" type="xs:string" default="Update">
852 <xs:annotation> 864 <xs:annotation>
853 <xs:documentation>The release type of the update bundle, such as Update, Security Update, Service Pack, etc. 865 <xs:documentation>
854 The default value is Update.</xs:documentation> 866 The release type of the update bundle, such as Update, Security Update, Service Pack, etc.
867 The default value is Update.
868 </xs:documentation>
855 </xs:annotation> 869 </xs:annotation>
856 </xs:attribute> 870 </xs:attribute>
857 </xs:complexType> 871 </xs:complexType>
@@ -2457,6 +2471,16 @@
2457 <xs:documentation>Indicates whether the package files are compressed. Default is compressed packages.</xs:documentation> 2471 <xs:documentation>Indicates whether the package files are compressed. Default is compressed packages.</xs:documentation>
2458 </xs:annotation> 2472 </xs:annotation>
2459 </xs:attribute> 2473 </xs:attribute>
2474 <xs:attribute name="Id" type="xs:string">
2475 <xs:annotation>
2476 <xs:documentation>
2477 _New in WiX v6: WiX v6 adds this attribute to the `Package` element._
2478 A globally unique identiifer for the package in the world. It is recommended to use a prefix such as "CompanyName." to
2479 create a namespace of sorts. By default, higher versioned upgrade lower versioned packages with the same Id. Use this
2480 attibute instead of the UpgradeCode attribute in new development.
2481 </xs:documentation>
2482 </xs:annotation>
2483 </xs:attribute>
2460 <xs:attribute name="InstallerVersion" type="Integer"> 2484 <xs:attribute name="InstallerVersion" type="Integer">
2461 <xs:annotation> 2485 <xs:annotation>
2462 <xs:documentation> 2486 <xs:documentation>
@@ -2502,7 +2526,12 @@
2502 </xs:attribute> 2526 </xs:attribute>
2503 <xs:attribute name="UpgradeCode" type="Guid"> 2527 <xs:attribute name="UpgradeCode" type="Guid">
2504 <xs:annotation> 2528 <xs:annotation>
2505 <xs:documentation>The upgrade code GUID for the package. Sets the UpgradeCode property.</xs:documentation> 2529 <xs:documentation>
2530 For new packages, it is recommended to use the Id attribute instead. This attribute exists for
2531 backwards compatibility scenarios. Use this attribute to provide a specific upgrade code GUID
2532 for a MSI package. See <html:a href="https://learn.microsoft.com/en-us/windows/win32/msi/upgradecode">UpgradeCode</html:a>
2533 for more information.
2534 </xs:documentation>
2506 </xs:annotation> 2535 </xs:annotation>
2507 </xs:attribute> 2536 </xs:attribute>
2508 <xs:attribute name="UpgradeStrategy" type="UpgradeStrategyTypeUnion"> 2537 <xs:attribute name="UpgradeStrategy" type="UpgradeStrategyTypeUnion">
@@ -7020,9 +7049,9 @@
7020 <xse:msiRef table="AppId" href="http://msdn.microsoft.com/library/aa367566.aspx" /> 7049 <xse:msiRef table="AppId" href="http://msdn.microsoft.com/library/aa367566.aspx" />
7021 <xse:remarks> 7050 <xse:remarks>
7022 When being used in unadvertised mode, the attributes in the Class element correspond to registry 7051 When being used in unadvertised mode, the attributes in the Class element correspond to registry
7023 values under the `[HKCR\CLSID\{'{'}Id{'}'}]` and `[HKCR\CLSID\{'{'}Id{'}'}\Context]` keys as follows: 7052 values under the `[HKCR\CLSID\{Id}]` and `[HKCR\CLSID\{Id}\Context]` keys as follows:
7024 7053
7025 - `Id, Context`: [HKCR\CLSID\{'{'}Id{'}'}\Context] 7054 - `Id, Context`: [HKCR\CLSID\{Id}\Context]
7026 - `Server`: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}\LocalServer32]\@="[!comserv.dll]" 7055 - `Server`: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}\LocalServer32]\@="[!comserv.dll]"
7027 - `ForeignServer`: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}\LocalServer32]\@="mscoree.dll" 7056 - `ForeignServer`: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}\LocalServer32]\@="mscoree.dll"
7028 - `AppId`: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}]\AppId="{00000000-89AB-0000-0123-000000000000}" 7057 - `AppId`: [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}]\AppId="{00000000-89AB-0000-0123-000000000000}"
@@ -14118,6 +14147,7 @@
14118 <xs:enumeration value="ProgramFiles64Folder" /> 14147 <xs:enumeration value="ProgramFiles64Folder" />
14119 <xs:enumeration value="ProgramFiles6432Folder" /> 14148 <xs:enumeration value="ProgramFiles6432Folder" />
14120 <xs:enumeration value="ProgramMenuFolder" /> 14149 <xs:enumeration value="ProgramMenuFolder" />
14150 <xs:enumeration value="PerUserProgramFilesFolder" />
14121 <xs:enumeration value="RecentFolder" /> 14151 <xs:enumeration value="RecentFolder" />
14122 <xs:enumeration value="SendToFolder" /> 14152 <xs:enumeration value="SendToFolder" />
14123 <xs:enumeration value="StartMenuFolder" /> 14153 <xs:enumeration value="StartMenuFolder" />