B4J Question [Solved]How to use Inno installer with B4J project

Theera

Well-Known Member
Licensed User
Longtime User

Attachments

  • InnoSetupExample.zip
    3.6 KB · Views: 107
Solution

1. Compile Release​

output: result.jar inside /Objects directory

2. Build Standalone Package​

output: result.exe inside /Objects/temp/build directory

1713868596837.png


1713867027035.png

You can copy build directory and compress the folder as build.zip and rename it.

3. Compile with Inno Setup Compiler​

output: setup.exe inside /Objects/temp directory

a. Go up one level to /Objects/temp, you can find a file name InstallerScript-Template.iss
1713867240286.png


b. Double click to open the file in Inno Setup Compiler. Edit the file as you wish.

1713867182720.png


c. Select Build -> Compile

1713867494514.png


d. The installer file is created as a single file.

1713867749135.png

peacemaker

Expert
Licensed User
Longtime User
Try to find more fresh tutorials
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
How to edit installScripts.iss ? Please give me a example
 

Attachments

  • installScript.zip
    1.7 KB · Views: 101
  • Thai.zip
    7.6 KB · Views: 100
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Did you try just to make double-click on it ? At Windows where InnoSetup software is installed.
Due to not getting English well,I need a example to learn how to do it,please understand to me.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Did you try just to make double-click on it ? At Windows where InnoSetup software is installed.
OK ,I 've understanded your words. Many thanks.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Refer to attached picture, How should I still code as follow as Erel'code or not? (After I have run standalone,there is not setup.exe occurred.)

B4X:
'In B4J
#PackagerProperty: IconFile = ..\turtle.ico
#CustomBuildAction: After Packager, C:\Program Files (x86)\Inno Setup 6\Compil32.exe, /cc ../InstallerScript.iss
 

Attachments

  • 1.png
    1.png
    5.9 KB · Views: 85
Upvote 0

aeric

Expert
Licensed User
Longtime User

1. Compile Release​

output: result.jar inside /Objects directory

2. Build Standalone Package​

output: result.exe inside /Objects/temp/build directory

1713868596837.png


1713867027035.png

You can copy build directory and compress the folder as build.zip and rename it.

3. Compile with Inno Setup Compiler​

output: setup.exe inside /Objects/temp directory

a. Go up one level to /Objects/temp, you can find a file name InstallerScript-Template.iss
1713867240286.png


b. Double click to open the file in Inno Setup Compiler. Edit the file as you wish.

1713867182720.png


c. Select Build -> Compile

1713867494514.png


d. The installer file is created as a single file.

1713867749135.png
 
Last edited:
Upvote 1
Solution

Theera

Well-Known Member
Licensed User
Longtime User
Many Thanks a lot for the kind of you,Aeric
 
Upvote 0
Top