This only changes the resolution settings for our distribution without embedded JRE.
For packages with the embedded JRE, we keep the same logic as before.
For #4108.
* packaging changes for self contained jre for windows
* Updating the path for JRE
* add jre path in settings file
* added profiles for two diferent windows packages build
* removing commented duplicate code
* Build windows package without an embedded JRE by default
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>