Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The upgrade id must be the same between versions that you want to upgrade. If you want to perform a major upgrade, were you remove previous installations and then install your new version, the property that must change is product id</p> <p>An "*" causes a new guid to be generated by WIX</p> <p>You want something like this:</p> <pre><code>&lt;!--Product --&gt; &lt;Product Id="*" Name="$(var.Product.Name)" Language="$(var.Product.Lang)" Version="$(var.Product.Version)" Manufacturer="$(var.Product.Manufacturer)" UpgradeCode="{Replace me with a constant Upgrade Guid}"&gt; &lt;Package InstallerVersion="$(var.Package.InstallerVersion)" Compressed="yes" Platform="$(var.Platform)" /&gt; &lt;!--Condition Messages--&gt; &lt;Condition Message="A newer version of $(var.Product.Name) is already installed. Exiting installation."&gt; &lt;![CDATA[Installed OR NOT NEWER_VERSION_FOUND]]&gt; &lt;/Condition&gt; &lt;!-- Upgrade Table --&gt; &lt;Upgrade Id="{Replace me with a constant Upgrade Guid}"&gt; &lt;UpgradeVersion Property="OLD_VERSION_FOUND" Minimum="0.0.0.0" Maximum="$(var.Product.Version)" IncludeMinimum="yes" IncludeMaximum="no" OnlyDetect="no" IgnoreRemoveFailure="yes" MigrateFeatures="yes" Language="1033" /&gt; &lt;UpgradeVersion Property="NEWER_VERSION_FOUND" Minimum="$(var.Product.Version)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" /&gt; &lt;/Upgrade&gt; &lt;!--Removes the old version and then installs the new version--&gt; &lt;InstallExecuteSequence&gt; &lt;RemoveExistingProducts After="InstallInitialize"&gt;&lt;/RemoveExistingProducts&gt; &lt;InstallExecute After="RemoveExistingProducts"&gt;&lt;/InstallExecute&gt; &lt;/InstallExecuteSequence&gt; </code></pre> <p>You should also note that you cannot switch between per user and per a machine installs between versions.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload