Generating a Transform

Windows Installer

Generating a Transform

The following procedure describes a scenario to generate a transform that permanently hides a feature.

To permanently hide a product feature

  1. Copy the original installation package.
  2. Alter the copy by setting the value of the Display column in the Feature table to zero. This specifies hiding the feature.
  3. Create a transform from the original installation package to the new installation packages by calling MsiDatabaseGenerateTransform.
  4. 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.

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.