C# Class WixSharp.MajorUpgradeStrategy

This class defines the Major Upgrade scenario.
Show file Open project: Eun/WixSharp

Public Properties

Property Type Description
Default MajorUpgradeStrategy
NewerProductInstalledErrorMessage string
PreventDowngradingVersions VersionRange
RemoveExistingProductAfter Step
UpgradeVersions VersionRange

Property Details

Default public static property

Default MajorUpgradeStrategy. Ensures that all older versions of the product are automatically uninstalled and if a newer version is detected, "Newer version already installed" message is displayed.
public static MajorUpgradeStrategy,WixSharp Default
return MajorUpgradeStrategy

NewerProductInstalledErrorMessage public property

Error message to be displayed if setup is aborted because of restricted downgrade attempt (see PreventDowngradingVersions).
public string NewerProductInstalledErrorMessage
return string

PreventDowngradingVersions public property

Range of versions, which should not be automatically uninstalled during the installation of the product MSI being built.

Typically these are all versions newer then the version being installed (downgrade scenario).

public VersionRange,WixSharp PreventDowngradingVersions
return VersionRange

RemoveExistingProductAfter public property

Step, which determines when the RemoveExistingProducts standard action is to be performed.

The default value is InstallFinalize.

public Step,WixSharp RemoveExistingProductAfter
return Step

UpgradeVersions public property

Range of versions which should be automatically uninstalled during the installation of the product MSI being built.

Typically these are all versions older then the version being installed.

public VersionRange,WixSharp UpgradeVersions
return VersionRange