Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

WiXMajorUpgrade

Parameters for WiX Major Upgrade

Record Fields

Record FieldDescription
AllowDowngrades
Signature: YesOrNo

When set to no (the default), products with lower version numbers are blocked from installing when a product with a higher version is installed; the DowngradeErrorMessage attribute must also be specified. When set to yes, any version can be installed over any other version.

DowngradeErrorMessage
Signature: string

The message displayed if users try to install a product with a lower version number when a product with a higher version is installed. Used only when AllowDowngrades is no (the default).

Schedule
Signature: MajorUpgradeSchedule

Determines the scheduling of the RemoveExistingProducts standard action, which is when the installed product is removed. The default is "afterInstallValidate" which removes the installed product entirely before installing the upgrade product. It's slowest but gives the most flexibility in changing components and features in the upgrade product.