B4A / B4J - No installation deployment

Erel

B4X founder
Staff member
Licensed User
Longtime User
There are cases where you cannot run the installer as it needs administrator privileges.

It is quite simple to deploy these tools without the installer.

  1. Download innoextract: https://constexpr.org/innoextract/
    This tool allows you to unpack the installer files.
  2. Follow the instructions and download OpenJDK 11 + Android SDK + additional resources (last two are for B4A only).
  3. Run the IDE and configure the paths.
If you want to clone this configuration to other computers:

  1. Close the IDE.
  2. Find the ini file: C:\Users\<user name>\AppData\Roaming\Anywhere Software\
  3. Copy it to the IDE folder - the place of the executable.
  4. You can now clone this configuration to other computers, assuming that the paths are the same.
 

pliroforikos

Active Member
Licensed User
So if we copy this ini file in the ide folder the application will run for every user of current machine? I have 24 pcs in 2 school lab and 5 different user for each one and i was wondering how to setup b4j and b4a fast
 

yiankos1

Well-Known Member
Licensed User
Longtime User
So if we copy this ini file in the ide folder the application will run for every user of current machine? I have 24 pcs in 2 school lab and 5 different user for each one and i was wondering how to setup b4j and b4a fast
Διδάσκεις b4x στο σχολείο/σχολή; (Do you teach b4x at school?)
 

pliroforikos

Active Member
Licensed User
I have tested in 1 lab with 14pcs and 15 users. It works perfect but first you should make sure that everyone have read write permissions to the folder where b4x copied. I made a folder into C:\ named B4X in my pc and inside 4 folders:

C:\B4X
  • B4A
    • ExternalLibraries
  • B4J
    • ExternalLibraries
  • Android
  • Java
Then i set the paths and finally i copied the ini files.

Copied into C:\ to other machines and that's it.
 

JohnC

Expert
Licensed User
Longtime User
NOTE: The one setting that seems to not be stored in the INI file is the path to the SDKManager.Bat file.

Even if you have a separate b4xV5.ini files in each install directory, the SDK Manager path will always be what it was last set to by any of the IDE's.
 
Top