Automatic account creation is now enabled. Captcha authentication required for account creation and editing unless you are trusted here.

Upgrading

From WiX Wiki at MindCapers

Jump to: navigation, search

Anyway, you should use the Upgrade table to detect other versions of the product installed.

 
 <Upgrade Id="$(var.UpgradeCode)">
       <UpgradeVersion 
           IgnoreRemoveFailure="yes" 
           Language="1033" 
           Maximum="$(var.Version)" 
           IncludeMaximum="no" 
           Minimum="1.0.0.0" 
           MigrateFeatures="no" 
           Property="UPGRADE_VERSION_PROP" />
      <UpgradeVersion 
           Minimum="$(var.Version)" 
           IncludeMinimum="no"
           OnlyDetect="yes" 
           Property="NEWERVERSIONDETECTED" 
           MigrateFeatures="no"/>
 </Upgrade>
 

where $(var.UpgradeCode) is wix preprocessor variable defining the Upgrade code of your product. The NEWERVERSIONDETECTED property will be set (filled with product code of detected installation) if there is newer version of the product already installed. The UPGRADE_VERSION_PROP property will be set (filled with product code of detected installation) if there is older version of the product installed.

For more details see msdn - Upgrade Table http://msdn2.microsoft.com/en-us/library/aa372379.aspx or WiX help.

Personal tools