B4J Tutorial Integrated B4JPackager11 - The simple way to distribute standalone UI apps

Status
Not open for further replies.

Dadaista

Active Member
Licensed User
Longtime User
Hi
If only supports jpg, png or gif.... then "build stand alone package" is not working 'cause, "build stand alone package" fails with .png files
 

Revisable5987

Member
Licensed User
Just tried to build stand alone package and it works fine.

Probably best to start a new post and upload a sample project.
I'll keep my eye out for it
 

Dadaista

Active Member
Licensed User
Longtime User
Thank you @kgcarpenter
... My project has more than 7000 lines... I can not upload a piece of the project.
I keep trying to make the package with ".. stand alone.." but.... with b4jPackager I have no problem.
Thank you very much!!!
 

Revisable5987

Member
Licensed User
Thank you @kgcarpenter
... My project has more than 7000 lines... I can not upload a piece of the project.
I keep trying to make the package with ".. stand alone.." but.... with b4jPackager I have no problem.
Thank you very much!!!
Post the error then so I can see what the issue could be.
Happy to help but you really should start a new thread now.

Thanks
 

Dadaista

Active Member
Licensed User
Longtime User
Hi
Right now, no errors in log
Only... the Icon is not showed in the top left in window of app
English is not my languaje and I can not explain the issue as I would in my languaje... that is the reason no new thread ... hard to explain it for me

One tip..
This is not working for me
B4X:
#CustomBuildAction: After Packager, C:\Program Files (x86)\Inno Setup 6\Compil32.exe, /cc ..\Caja Venta.iss

But this is working
B4X:
#CustomBuildAction: After Packager, C:\Program Files (x86)\Inno Setup 6\Compil32.exe, /cc "..\Caja Venta.iss"

Double quotes in .iss file path !!!!!!!

Thank you so much for your help @kgcarpenter... really!!!!!!
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I keep trying to make the package with ".. stand alone.." but.... with b4jPackager I have no problem.
It is the same packager.

There are two different icons:
- Executable icon is set with: #PackagerProperty: IconFile = ..\Files\turtle.ico
The file must be an ICO file.
- Form icon is set with the designer and it should be a regular image file (png, jpg, ...)
 

DavideV

Active Member
Licensed User
Longtime User
Hello,
I added the .ico file with the directive:
#PackagerProperty: IconFile = ..\files\shutdown.ico.
The executable created in the build folder shows the correct icon, but when I move all files & folders to another location, the executable icon goes back to the default B4J one's..
On the right: the build folder, on the left: the folder where I moved the files...
Am I doing something wrong?

Thanks
 

R D Boozer

Member
Licensed User
Erel, I noticed on the original page for the external tool that you have added a download link for OpenJDK 14 for Mac OS. Where is the download link for OpenJDK 14 for Linux?
 

Jorge M A

Well-Known Member
Licensed User
Longtime User
 

IndieDev

Active Member
Licensed User
Creating Setup file in Inno Setup Compiler displays this warning.
(using the generated "InstallerScript-Template.iss" file )

Warning: Constant "pf" has been renamed. Use "commonpf" instead or consider using its "auto" form.

Any changes required from my side?

Inno Setup Compiler 6.0.4
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
By the way, the post B4jPackager has the following typo. (Linix)
Fixed. Thank you.

No. I don't remember the exact reason for this warning however the current template will work properly.
 

IndieDev

Active Member
Licensed User
Fixed. Thank you.


No. I don't remember the exact reason for this warning however the current template will work properly.

Yes. The template works fine. Thanks.

By the way, is there any way I can display my app icon in the Task Manager?
It currently displays a Java icon.


The app icon is correctly displayed in the Task Bar.


Have added the following in the Project Attributes.
#PackagerProperty: IconFile = ..\Files\icon.ico
 

IndieDev

Active Member
Licensed User

In the "InstallerScript-Template.iss" file, I changed this line: DefaultDirName={pf}\{#MyAppPublisher}\{#MyAppName}

To: DefaultDirName={commonpf}\{#MyAppPublisher}\{#MyAppName}

Compiled without any warnings and product installed fine.

(Nudge from Inno Setup GIT revision page . Section: 6.0.0-beta )
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…