Inno Setup Generator is a graphical tool developed in B4J, designed for developers who want to generate .iss installation scripts for Inno Setup without writing code manually.
This project was created to help new developers in the B4X community, inspired by this thread:
Open B4J app by double-clicking on a file
Although it doesn't access your source code directly, the app:
It does not install icons into the system or alter user folders.
This ensures your project is fully prepared for packaging without affecting the userโs environment.
Installer language configuration and app editor screen:
Main configuration menu:
Download Inno Setup Generator (.zip):
All icons used by the tool (for associations or context menus) are stored only inside the B4J project directory.
Do not delete them manually unless you also remove the associated functionality (e.g., file association or context menu), as they are required for a successful installer build with Inno Setup.
Advanced .b4j File Editing
The tool automatically edits your B4J project file to add or update essential packager properties:
It also adds a custom build action to trigger the Inno Setup compiler automatically after packaging:
#CustomBuildAction: After Packager, C:\Program Files (x86)\Inno Setup 6\Compil32.exe, /cc ../setup_script.iss
Automatic Command Integration in AppStart
The tool updates the Select Case Args(1) block in the AppStart method.
Only new CommandArg entries are added, ensuring that file associations and context menu shortcuts function properly without creating duplicates.
Organized Resource Management
All icons required for shortcuts, file associations, or the installer are copied only into the root directory of the B4J project โ never into the user's system folders.
Important: These icons should not be deleted manually unless the related file association or context menu entry is also removed, as they are essential for the correct generation of the installer.
What is a .jsetup file?
Itโs the project file format used by this tool. It automatically saves all your installer configurations as you edit them, so you don't need to reload or configure anything manually each time.
This project aims to simplify the publishing process for developers using B4J.
If you're just starting and need a fast, clean way to package your apps, this tool is for you.
This project was created to help new developers in the B4X community, inspired by this thread:

Main Features:
Modern and intuitive interface
Automatically saves project files with the .jsetup extension
Does not read the B4J project directly, but creates and modifies files needed for packaging
Fully functional .iss script generation for Inno Setup
Installer language selection (25+ languages available)
File associations and context menu configuration
Compatible with ISCC.exe (Inno Setup command-line compiler)
What does it modify in your B4J project?
Although it doesn't access your source code directly, the app:
- Creates a packaging structure inside your B4J projectโs main folder
- Generates the .iss script with all required installation parameters
- Copies required icons (e.g., for file associations or desktop shortcuts) into the main project folder only

This ensures your project is fully prepared for packaging without affecting the userโs environment.
Screenshots
Installer language configuration and app editor screen:
Main configuration menu:
Download

Requirements
- Inno Setup installed:
https://jrsoftware.org/isinfo.php
- (Optional) .iss script editor or command-line compiler (ISCC.exe)
Important note about icons
All icons used by the tool (for associations or context menus) are stored only inside the B4J project directory.

Smart Automation for Your B4J Project

The tool automatically edits your B4J project file to add or update essential packager properties:
- #PackagerProperty: IconFile = ..\icon.ico
- #PackagerProperty: ExeName = [YourAppName].exe
- #PackagerProperty: IncludedModules = javafx.web, jdk.crypto.ec
- #PackagerProperty: Version = [YourVersion]
It also adds a custom build action to trigger the Inno Setup compiler automatically after packaging:
#CustomBuildAction: After Packager, C:\Program Files (x86)\Inno Setup 6\Compil32.exe, /cc ../setup_script.iss

The tool updates the Select Case Args(1) block in the AppStart method.
Only new CommandArg entries are added, ensuring that file associations and context menu shortcuts function properly without creating duplicates.

All icons required for shortcuts, file associations, or the installer are copied only into the root directory of the B4J project โ never into the user's system folders.
Important: These icons should not be deleted manually unless the related file association or context menu entry is also removed, as they are essential for the correct generation of the installer.

Itโs the project file format used by this tool. It automatically saves all your installer configurations as you edit them, so you don't need to reload or configure anything manually each time.
Contribution to the community
This project aims to simplify the publishing process for developers using B4J.
If you're just starting and need a fast, clean way to package your apps, this tool is for you.
Last edited: