ThRuST Well-Known Member Licensed User Longtime User Apr 4, 2019 #1 Hi, I have tried to create an installer package with B4Jpackager with JDK v1.8.0_202 (PC example) I have installed Inno setup from the homepage http://www.jrsoftware.org/isdl.php The latest version is currently v5.6.1. Then I run the B4Jpackager for Java 8 which can be found here https://www.b4x.com/android/forum/threads/ui-apps-packaging-self-contained-installers.56854/#content Java v1.8.0 202 can be found here https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html I have JDK v1.8.0_202 installed and filled the fields, selected an icon and clicked Build. B4Jpackager folder is created in the roaming directory. It creates a subfolder called \META-INF which contains the buildt package by B4Jbuilder. Then what to do? However Inno setup is not running at build time, is it supposed to start automatically if the PATH variable is correct? Should it be added in the system variables only and does it only have to refer to Inno's directory or executable? How would you add the buildt package in Inno setup manually without the path variable being correctly set possibly also for Java? Please share your experiences with this thanks Last edited: Apr 4, 2019
Hi, I have tried to create an installer package with B4Jpackager with JDK v1.8.0_202 (PC example) I have installed Inno setup from the homepage http://www.jrsoftware.org/isdl.php The latest version is currently v5.6.1. Then I run the B4Jpackager for Java 8 which can be found here https://www.b4x.com/android/forum/threads/ui-apps-packaging-self-contained-installers.56854/#content Java v1.8.0 202 can be found here https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html I have JDK v1.8.0_202 installed and filled the fields, selected an icon and clicked Build. B4Jpackager folder is created in the roaming directory. It creates a subfolder called \META-INF which contains the buildt package by B4Jbuilder. Then what to do? However Inno setup is not running at build time, is it supposed to start automatically if the PATH variable is correct? Should it be added in the system variables only and does it only have to refer to Inno's directory or executable? How would you add the buildt package in Inno setup manually without the path variable being correctly set possibly also for Java? Please share your experiences with this thanks
ThRuST Well-Known Member Licensed User Longtime User Apr 4, 2019 #2 After that the Build process is completed, I created an installer manually in Inno Setup. It looks like this. However an icon was not created on the desktop, and the installed files remains in roaming folder after I uninstalled the app. I must have missed something in the wizard. Upvote 0
After that the Build process is completed, I created an installer manually in Inno Setup. It looks like this. However an icon was not created on the desktop, and the installed files remains in roaming folder after I uninstalled the app. I must have missed something in the wizard.
Mashiane Expert Licensed User Longtime User Apr 4, 2019 #3 I had succesfully managed to package my jar and documented it here, https://www.b4x.com/android/forum/t...age-your-webapp-with-innosetup.95117/#content perhaps that can help. Upvote 0
I had succesfully managed to package my jar and documented it here, https://www.b4x.com/android/forum/t...age-your-webapp-with-innosetup.95117/#content perhaps that can help.
ThRuST Well-Known Member Licensed User Longtime User Apr 4, 2019 #4 Thank you Sir, I'll check it out right away EDIT: Let me know if you notice any fault in my setup script since the icon was not added on the desktop. Which is what we want, of course!! Upvote 0
Thank you Sir, I'll check it out right away EDIT: Let me know if you notice any fault in my setup script since the icon was not added on the desktop. Which is what we want, of course!!
DonManfred Expert Licensed User Longtime User Apr 4, 2019 #5 It should be YOU who compare the two setups. Yours not working, Mashianes working (i guess). You should check what you have done another way/wrong. Upvote 0
It should be YOU who compare the two setups. Yours not working, Mashianes working (i guess). You should check what you have done another way/wrong.
DonManfred Expert Licensed User Longtime User Apr 4, 2019 #6 https://stackoverflow.com/questions/32262254/how-to-create-a-desktop-icon-with-inno-setup Upvote 0
ThRuST Well-Known Member Licensed User Longtime User Apr 4, 2019 #7 @Mashiane I have successfully created an installer with Inno setup based on your video tutorial. I created an exe with an associated icon just as you showed with Launch4J. However I want to ask you about the RNE folder that you added in the installation. Did you download the RNE for Java 8 and extracted it, then added it? I added the installed Java 1.8.0_202 folder, but I'm not sure if that is correct. Anyway, thanks for a great tutorial it helped along way. Upvote 0
@Mashiane I have successfully created an installer with Inno setup based on your video tutorial. I created an exe with an associated icon just as you showed with Launch4J. However I want to ask you about the RNE folder that you added in the installation. Did you download the RNE for Java 8 and extracted it, then added it? I added the installed Java 1.8.0_202 folder, but I'm not sure if that is correct. Anyway, thanks for a great tutorial it helped along way.
ThRuST Well-Known Member Licensed User Longtime User Apr 4, 2019 #8 The dependency JRE version can be specified in Launch4J, so I wonder what did you add according to the RNE you added to the bundle? Was it really neccessary to add to the installer since it was added in Launch4J? Because RNE gets installed in the application folder. Upvote 0
The dependency JRE version can be specified in Launch4J, so I wonder what did you add according to the RNE you added to the bundle? Was it really neccessary to add to the installer since it was added in Launch4J? Because RNE gets installed in the application folder.