Re: [jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-10-29 Thread Alexey Semenyuk
Hi Daniel, The original issue described in the CR is expected to persist with element in WiX source of  msi installers produced by jpackage. For the reasons described in the comment to the CR. Unfortunately there is no simple fix for the problem. Fortunately there is simple workaround for

Re: [jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-10-29 Thread Daniel Peintner
Alexey, all, Thanks for keeping me updated. I agree with the statement that a full fledged procedure for updates is out of scope for jpackage. Note: It is mentioned that has been added also in the meantime. I did try it out with JDK-16-ea+21 and my application but the issue still persists (but

Re: [jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-10-28 Thread Alexey Semenyuk
Daniel, https://bugs.openjdk.java.net/browse/JDK-8240111 has been updated with the evaluation of your request. Please take a look. - Alexey On 2/27/2020 2:00 AM, Daniel Peintner wrote: Alexey, all, In my case the update, as described, seems to work just fine. However once I try to

Re: [jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-02-26 Thread Daniel Peintner
Alexey, all, In my case the update, as described, seems to work just fine. However once I try to actually start the application nothing happens. It silently fails. Could this be a reason why you don't encounter any issue? Just an idea though... -- Daniel Alexey Semenyuk schrieb am Mi., 26.

Re: [jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-02-26 Thread Alexey Semenyuk
Daniel, Interesting. We have jtreg tests for testing upgrade scenarios on Windows and they work without Upgrade element in WiX template. - Alexey On 2/26/2020 11:10 AM, Daniel Peintner wrote: All, after some private discussions with James and @Kevinnns I believe the necessary change to let

Re: [jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-02-26 Thread Andy Herrick
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

Re: [jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-02-26 Thread Daniel Peintner
All, after some private discussions with James and @Kevinnns I believe the necessary change to let upgrades succeed is rather minimal. The WIX template jpackage uses needs to have as well within the product element. I wonder whether anyone in the jpackage team is willing to work or look

Re: [jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-02-25 Thread Daniel Peintner
Hi James, all, Thank you for your feedback. I did try around and I think there is a jpackage upgrade ID option now. --win-upgrade-uuid — UUID associated with upgrades for this package In my case though, I think I run into some other issues. The InnoSetup installer seems not to provide any

Re: [jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-02-17 Thread James Elliott
Sorry, tried sending this with the incorrect email personality first. On Mon, 17 Feb 2020 15:32:14 +0100 Daniel Peintner mailto:daniel.peint...@gmail.com>> wrote: > The only *working* solution we found was to *manually* uninstall the old > application before starting msi installer. > Any future

[jpackage] Issue with upgrading from javapackager to jpackage on Windows

2020-02-17 Thread Daniel Peintner
Hi, We are exploring to replace the *old* javapackager with the upcoming jpackage tool and encounter an issue on Windows. The javapackager tool allowed to create exe installers (by means of InnoSetup) and msi installers using WiX toolkit. With jpackage the InnoSetup exe installers were abandoned