JPackage, WixToolset and upgrade management

Davide Perini perini.davide at
Mon Aug 17 18:09:56 UTC 2020

Hi all,
I am using JPackage along with Wix Toolset to create my .exe installer.

This is the command I use to create my .exe file:
jpackage -i ../target --main-class org.duff.JavaFXStarter --main-jar 
duff-jar-with-dependencies.jar --icon ../data/img/duff.ico --win-menu 
--win-menu-group duff --copyright "duff" --name "myname" --vendor 
myvendor --win-dir-chooser --win-shortcut --win-per-user-install

How can I tell JPackage that the new .exe installer should uninstall the 
old version of the software and install a new version?


More information about the distro-pkg-dev mailing list