B4J Question Inquiry on how to update an application that was packaged by Build standolone pakage

AlfaizDev

Well-Known Member
Licensed User
I packaged an application using Build standolone pakage

I packaged an application using
Question?
When I want to send an update to the user
Do I have to send the entire package
Or is it enough to send only specific files?
1731312606357.png
 
Solution
Do I have to send the entire package
Or is it enough to send only specific files?
Yes. In other words, you must send the new package.
You cannot send only the exe file.
Your changed code is compiled inside /lib/modules.

For MS Visual Studio, it depends on the big .NET Framework to run.
B4J app put all the required Java runtime inside your package. You don't need to worry for missing framework or incompatibility.

aeric

Expert
Licensed User
Longtime User
1731316471587.png

You need to distribute the executable together with the 4 folders.
The run_debug.bat batch file is useful to test the program and see the logs.

An Inno Script template is created in the parent folder. You can use it together with Inno Script to build a single file installer.

 
Upvote 1

AlfaizDev

Well-Known Member
Licensed User
View attachment 158512
You need to distribute the executable together with the 4 folders.
The run_debug.bat batch file is useful to test the program and see the logs.

An Inno Script template is created in the parent folder. You can use it together with Inno Script to build a single file installer.

The entire folder must be uploaded, is this correct?
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
The entire folder must be uploaded, is this correct?
Option 1:
Use zip tool like WinZip, 7Zip or WinRAR to zip the 4 folders + 1 exe file.
Send to your users the zip file.
They need to unzip the file to a folder on their PC and run the exe.

Option 2:
Build a installer file using InnoSetup with the Inno Script that you can find inside /Objects/temp.
If you are still not clear, you can check this post.
 
Upvote 0

AlfaizDev

Well-Known Member
Licensed User
Option 1:
Use zip tool like WinZip, 7Zip or WinRAR to zip the 4 folders + 1 exe file.
Send to your users the zip file.
They need to unzip the file to a folder on their PC and run the exe.

Option 2:
Build a installer file using InnoSetup with the Inno Script that you can find inside /Objects/temp.
If you are still not clear, you can check this post.​
It's understandable
Thank you
This is how I do it now
I thought it was like Visual Studio
Sending just the exe file is enough for the update
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Do I have to send the entire package
Or is it enough to send only specific files?
Yes. In other words, you must send the new package.
You cannot send only the exe file.
Your changed code is compiled inside /lib/modules.

For MS Visual Studio, it depends on the big .NET Framework to run.
B4J app put all the required Java runtime inside your package. You don't need to worry for missing framework or incompatibility.
 
Upvote 0
Solution

AlfaizDev

Well-Known Member
Licensed User
Yes. In other words, you must send the new package.
You cannot send only the exe file.
Your changed code is compiled inside /lib/modules.

For MS Visual Studio, it depends on the big .NET Framework to run.
B4J app put all the required Java runtime inside your package. You don't need to worry for missing framework or incompatibility.
Thank you very much
 
Upvote 0
Top