From 5b06ff3dea5d96c11515ab979cb3a78deb3e07ad Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 13 Dec 2025 12:25:56 -0800 Subject: Properly deprecate PatchCreation and remove mostly dead code Resolves 9099 --- src/xsd/wix.xsd | 507 +------------------------------------------------------- 1 file changed, 9 insertions(+), 498 deletions(-) (limited to 'src/xsd') diff --git a/src/xsd/wix.xsd b/src/xsd/wix.xsd index 05de58c6..b8e69f29 100644 --- a/src/xsd/wix.xsd +++ b/src/xsd/wix.xsd @@ -34,7 +34,6 @@ - @@ -3384,77 +3383,6 @@ - - - - - The PatchCreation element is analogous to the main function in a C program. When linking, only one PatchCreation section - can be given to the linker to produce a successful result. Using this element creates a pcp file. - - - - You can specify any valid Windows code by by integer like 1252, or by web name like Windows-1252. See [Code pages](../../../tools/codepage/) for more information. - - - - - - - - - - - - - - - - - - PatchCreation identifier; this is the primary key for identifying patches. - - - - - Use this to set whether the major versions between the upgrade and target images match. See AllowProductVersionMajorMismatches for more information. - - - - - Use this to set whether the product code between the upgrade and target images match. See AllowProductCodeMismatches for more information. - - - - - Use this to set whether Patchwiz should clean the temp folder when finished. See DontRemoveTempFolderWhenFinished for more information. - - - - - The code page integer value or web name for the resulting PCP. See remarks for more information. - - - - - The full path, including file name, of the patch package file that is to be generated. See PatchOutputPath for more information. - - - - - Used to locate the .msp file for the patch if the cached copy is unavailable. See PatchSourceList for more information. - - - - - An 8-digit hex integer representing the combination of patch symbol usage flags to use when creating a binary file patch. See ApiPatchingSymbolFlags for more information. - - - - - Use this to set whether changing files should be included in their entirety. See IncludeWholeFilesOnly for more information. - - - @@ -3537,123 +3465,6 @@ - - - Properties about the patch to be placed in the PatchMetadata table. - - - - - - - - - - A custom property that extends the standard set. - - - - - Indicates whether custom actions can be skipped when applying the patch. - - - - - - - Whether this is an uninstallable patch. - - - - - Category of updates. Recommended values are Critical Update, Hotfix, Security Rollup, Security Update, Service Pack, Update, Update Rollup. - - - - - Creation time of the .msp file in the form mm-dd-yy HH:MM (month-day-year hour:minute). - - - - - Description of the patch. - - - - - A title for the patch that is suitable for public display. In Add/Remove Programs from XP SP2 on. - - - - - Name of the manufacturer. - - - - - - Indicates that the patch targets the RTM version of the product or the most recent major - upgrade patch. Author this optional property in minor update patches that contain sequencing - information to indicate that the patch removes all patches up to the RTM version of the - product, or up to the most recent major upgrade patch. This property is available beginning - with Windows Installer 3.1. - - - - - - A URL that provides information specific to this patch. In Add/Remove Programs from XP SP2 on. - - - - - - If this attribute is set to 'yes' in all the patches to be applied in a transaction, the - application of the patch is optimized if possible. Available beginning with Windows Installer 3.1. - - - - - - Name of the application or target product suite. - - - - - - - A custom property for the PatchMetadata table. - - - - - The name of the company. - - - - - The name of the metadata property. - - - - - Value of the metadata property. - - - - - - - A patch that is deprecated by this patch. - - - - - Patch GUID to be unregistered if it exists on the machine targeted by this patch. - - - - @@ -3674,12 +3485,11 @@ - A product code for a product that can accept the patch. - + A product code for a product that can accept the patch. + - When using the PatchCreation element, if the Id attribute value is '*' or this element is not authored, the product codes of all products referenced by the TargetImages element are used. - When using the Patch element, the Id attribute value must not be '*'. Use the TargetProductCodes/@Replace attribute instead. + The Id attribute value must not be '*'. Use the TargetProductCodes/@Replace attribute instead. @@ -3687,8 +3497,8 @@ - The product code for a product that can accept the patch. This can be '*'. See remarks for more information. - + The product code for a product that can accept the patch. This can be '*'. See remarks for more information. + @@ -3699,7 +3509,7 @@ - When authored under the Patch element, the PatchProperty defines entries in the MsiPatchMetadata table. + The PatchProperty defines entries in the MsiPatchMetadata table. @@ -3721,305 +3531,6 @@ - - - Sequence information for this patch database. Sequence information is generated automatically in most cases, and rarely needs to be set explicitly. - - - - - - - - Identifier which indicates a sequence family to which this patch belongs. - - - - - - Specifies the ProductCode of the product that this family applies to. - This attribute cannot the specified if the TargetImage attribute is specified. - - - - - - Used to populate the sequence column of the MsiPatchSequence table in the final MSP file. Specified in x.x.x.x format. See documentation for Sequence column of MsiPatchSequence table in MSI SDK. - - - - - - Set this value to 'yes' to indicate that this patch will supersede all previous patches in this patch family. - The default value is 'no'. - - - - - - - - - - - - - - Specifies the TargetImage that this family applies to. - This attribute cannot the specified if the ProductCode attribute is specified. - - - - - - - - Group of one or more upgraded images of a product. - - - - - - - - - - - - Entered into the DiskId field of the new Media table record. - - - - - Value to display in the "[1]" of the DiskPrompt Property. Using this attribute will require you to define a DiskPrompt Property. - - - - - Entered into the Source field of the new Media table entry of the upgraded image. - - - - - Identifier for the family. - - - - - Sequence number for the starting file. - - - - - Entered into the VolumeLabel field of the new Media table record. - - - - - - - Contains information about the upgraded images of the product. - - - - - - - - - - - - Identifier to connect target images with upgraded image. - - - - - Full path to location of msi file for upgraded image. - - - - - Modified copy of the upgraded installation database that contains additional authoring specific to patching. - - - - - - - Contains information about the target images of the product. - - - - - - - - - Identifier for the target image. - - - - - Full path to the location of the msi file for the target image. - - - - - Relative order of the target image. - - - - - Product checking to avoid applying irrelevant transforms. - - - - - Files missing from the target image are ignored by the installer. - - - - - - - Information about specific files in a target image. - - - - - - - - - - - - Foreign key into the File table. - - - - - - - Specifies part of a file that is to be ignored during patching. - - - - - Offset of the start of the range. - - - - - Length of the range. - - - - - - - Specifies part of a file that cannot be overwritten during patching. - - - - - Offset of the start of the range. - - - - - Length of the range. - - - - - - - Specifies a file to be protected. - - - - - - - - Foreign key into the File table. - - - - - - - Contains information about specific files that are not part of a regular target image. - - - - - - - - - - - - Foreign key into the File table. - - - - - Full path of the external file. - - - - - Specifies the order of the external files to use when creating the patch. - - - - - - - Specifies files to either ignore or to specify optional data about a file. - - - - - - - - Foreign key into the File table. - - - - - If yes, the file is ignored during patching, and the next two attributes are ignored. - - - - - Specifies whether patching this file is vital. - - - - - Whether the whole file should be installed, rather than creating a binary patch. - - - - - - - A path to symbols. - - - - - The path. - - - - @@ -4063,9 +3574,9 @@ - The MsiAssemblyName table specifies the schema for the elements of a strong assembly cache name for a .NET Framework or Win32 assembly. - Consider using the Assembly attribute on File element to have the toolset populate these entries automatically. - + The MsiAssemblyName table specifies the schema for the elements of a strong assembly cache name for a .NET Framework or Win32 assembly. + Consider using the Assembly attribute on File element to have the toolset populate these entries automatically. + -- cgit v1.2.3-55-g6feb