I filed issue:

    JDK-8240111: issue upgrading app built with javapackager to one built with jpackage.

and included your description and suggested fix.

/Andy

On 2/26/2020 11:10 AM, Daniel Peintner wrote:
I believe the
necessary change to let upgrades succeed is rather minimal.

The WIX template jpackage uses

<Product Id="*" Name="$(var.AppName)" Language="1033"
Version="$(var.AppVersion)" Manufacturer="$(var.AppVendor)"
UpgradeCode="$(var.AppUpgradeCode)">

needs to have

<Upgrade Id="$(var.AppUpgradeCode)" />

as well within the product element.

Reply via email to