Procedure: 1. Prepare the following documents:
Icon file: Icon.ico
Run File: Run.bat
Java Runtime Environment: JRE (folder)
Run the jar package
Where the contents of the Run.bat file are:
Start Jre1.8.0_152\bin\javaw.exe-dfile.encoding=utf-8-jar Medicalassistanthxpc.jar
Includes boot with Javaw.exe, encoding format not utf-8, run jar file is Medicalassistanthxpc.jar (replaceable JRE folder, jar file)
2.
3. Select the self-extracting option (X) in the advanced selection
4.
In the setup after the extraction run in the input Run.bat
Tick unpack to Temp folder in the mode and tick hide all
Select icon
5. Generating EXE files
Description
This is actually open exe that decompression, after decompression run Run.bat,run.bat content is to use the JRE javax run jar file.
Although adding a JRE adds volume, it can be run without a JRE.
Encapsulating jar Packages as exe files using winrar