beryx / badass-jlink-plugin

Create a custom runtime image of your modular application
https://badass-jlink-plugin.beryx.org
Apache License 2.0
383 stars 27 forks source link

Producing exe "installer" not working as expected #230

Closed UndeadDevel closed 1 year ago

UndeadDevel commented 1 year ago

I've successfully used this plugin to produce an MSI installer of my app, which works without issue; since the app is pretty small, I thought I'd try a standalone EXE, too, but I have the following issues:

The resulting EXE 1) does not have my application icon and 2) crashes immediately after executing it.

This is a bit weird since the EXE of the app image does have the icon and doesn't crash (but it needs to remain in the folder with all the libraries etc, so it's not standalone). Furthermore, the only differences between how I build the MSI and the EXE are a different value for installerType and that no additional installerOptions (win-options) for the EXE are given. What am I doing wrong?

UndeadDevel commented 1 year ago

Oh, nevermind; the EXE is actually an installer, such that it acts the same as the MSI installer...and it didn't actually crash but refused to install because it was already installed.