I made a look inside the installation place of b4j, here you can find B4JPackager11.jar. Inside this jar file you can find the file InstallerScript.iss.
The only drawback: when a new version of b4j is released, your changes are gone.
This allows you to have a InstallerScript.iss in the project file in which the various attributes can be set/edited and used when creating the .exe without fear of it being overwritten.
11. Steps to automatically build the setup file with Inno Script:
Move the generated InstallerScript-template.iss file to the project folder and rename it to InstallerScript.iss.
Edit the script, change the app name, publisher and other fields as needed. You also need to update two paths as explained in post #3.
I've look at the link a couple of times before, thank you for pointing that out to me @bdunkleysmith. I have absolutely no idea how on earth I missed step 11 @Erel, nice work as usual . It's actually extremely annoying to know that I've dam well read Erels post a couple of times (at least) but somehow missed something so dam simple that is right there staring at me in the face. Right I'm outta here, catcha later...
#CustomBuildAction: After Packager, C:\Users\<USER>\AppData\Local\Programs\Inno Setup 6\Compil32.exe, /cc ../InstallerScript.iss
And yes, I no longer use B4JPacker11 after finally getting it. Man, I can be really slow at times, but I always get there lol ?
I've added individual icons and seperate .iss files to each B4J project that needs a setup file. Oddly enough though, I've noticed that the final setup file is now about 20MB smaller than the B4JPacker11 final setup file, but it still works perfect.
I've added individual icons and seperate .iss files to each B4J project that needs a setup file. Oddly enough though, I've noticed that the final setup file is now about 20MB smaller than the B4JPacker11 final setup file, but it still works perfect.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.