This documentation is archived and is not being maintained.

RemovePreviousVersions Property

Specifies whether an installer will remove previous versions of an application during installation. If this property is set to True and an earlier version is detected at installation time, the previous version's uninstall function will be called.

Note   The installer checks UpgradeCode and ProductCode properties to determine whether the earlier version should be removed. The UpgradeCode must be the same for both versions; the ProductCode must be different.

Settings

The settings for the RemovePreviousVersions property are:

Setting Description
False The installer 'will not check for previous versions.
True The installer will check for previous versions and uninstall them if found.

See Also

Deployment Properties | UpgradeCode Property | ProductCode Property

Show: