The following procedure describes a scenario to generate a transform that permanently hides a feature.
To permanently hide a product feature
- Copy the original installation package.
- Alter the copy by setting the value of the Display column in the Feature table to zero. This specifies hiding the feature.
- Create a transform from the original installation package to the new installation packages by calling MsiDatabaseGenerateTransform.
- Create the summary information in the transform by calling MsiCreateTransformSummaryInfo.
The transform is then ready to be applied during installation. For more information, see Applying Transforms.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
