B4J Tutorial UI apps packaging - self contained installers

Status
Not open for further replies.

alienhunter

Active Member
Licensed User
Longtime User
Hi
is there a way to update the java component ? example you original deployed with 8_40 now you need to update the installation with 8_60 java without running a new setup
 

Firpas

Active Member
Licensed User
Longtime User
Hi to everybody:

Here is my cuestión:

How create a shortcut as part of the installation?

Thanks in advance
 

Firpas

Active Member
Licensed User
Longtime User
Thanks Erel

Only one question more ...

How can i add an editor/autor name??
 

welu1805

Active Member
Licensed User
Longtime User
Hi Erel, I get the following error:

App identifier: de.wedersoft.MusicBookTransfer.main
Success: true
StdOut: Using base JDK at: D:\Program Files\Java\jdk1.8.0_45\jre
StdErr: java.io.IOException: Exec failed with code 2 command [[D:\Programme\Inno Setup 5\iscc.exe, /oD:\Users\Lutz\AppData\Roaming\B4JPackager\bundles, D:\Users\Lutz\AppData\Local\Temp\fxbundler1569188900774224640\images\win-exe.image\MusicBookTransfer.iss] in D:\Users\Lutz\AppData\Local\Temp\fxbundler1569188900774224640\images\win-exe.image
at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:165)
at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:138)
at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:132)
at com.oracle.tools.packager.windows.WinExeBundler.buildEXE(WinExeBundler.java:680)
at com.oracle.tools.packager.windows.WinExeBundler.bundle(WinExeBundler.java:356)
at com.oracle.tools.packager.windows.WinExeBundler.execute(WinExeBundler.java:172)
at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(PackagerLib.java:506)
at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(PackagerLib.java:471)
at com.sun.javafx.tools.packager.Main.main(Main.java:474)
Error: Bundler "EXE Installer" (exe) failed to produce a bundle.
ExitCode: -1

What is wrong? (Win 10, Inno Setup 5 is installed)

Thanks
Lutz
 

welu1805

Active Member
Licensed User
Longtime User
Now I run B4J as administrator:

Program started.
App identifier: de.wedersoft.MusicBookTransfer.main
Success: true
StdOut: Using base JDK at: D:\Program Files\Java\jdk1.8.0_45\jre
StdErr: java.io.IOException: Exec failed with code 2 command [[D:\Programme\Inno Setup 5\iscc.exe, /oD:\Users\Lutz\AppData\Roaming\B4JPackager\bundles, D:\Users\Lutz\AppData\Local\Temp\fxbundler5172231196875092326\images\win-exe.image\MusicBookTransfer.iss] in D:\Users\Lutz\AppData\Local\Temp\fxbundler5172231196875092326\images\win-exe.image
at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:165)
at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:138)
at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:132)
at com.oracle.tools.packager.windows.WinExeBundler.buildEXE(WinExeBundler.java:680)
at com.oracle.tools.packager.windows.WinExeBundler.bundle(WinExeBundler.java:356)
at com.oracle.tools.packager.windows.WinExeBundler.execute(WinExeBundler.java:172)
at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(PackagerLib.java:506)
at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(PackagerLib.java:471)
at com.sun.javafx.tools.packager.Main.main(Main.java:474)
Error: Bundler "EXE Installer" (exe) failed to produce a bundle.
ExitCode: -1
Mär 13, 2016 1:26:19 PM com.sun.javafx.css.StyleConverterImpl getInstance
SEVERE: StyleConverterImpl : converter Class is null for : com.sun.javafx.scene.layout.region.CornerRadiiConverter
Mär 13, 2016 1:26:19 PM com.sun.javafx.css.StyleConverterImpl readBinary
SEVERE: could not deserialize com.sun.javafx.scene.layout.region.CornerRadiiConverter
could not deserialize com.sun.javafx.scene.layout.region.CornerRadiiConverter
 

welu1805

Active Member
Licensed User
Longtime User
The icon file was not correct. It was a renamed png.
Now I have a correct icon file and it works great!
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Hi all
Try to use the Packager but with no result.

Inno Setup is installed latest version.
In the log of B4J i get following.

Waiting for debugger to connect...
Program started.
App identifier: tcp.server.main
Success: true
StdOut: Using base JDK at: C:\Program Files\Java\jdk1.8.0_66\jre
Using base JDK at: C:\Program Files\Java\jdk1.8.0_66\jre
Detected [iscc.exe] version 0 but version 5 is required.
Bundler EXE Installer skipped because of a configuration problem: Can not find Inno Setup Compiler (iscc.exe).
Advice to fix: Download Inno Setup 5 or later from http://www.jrsoftware.org and add it to the PATH.
StdErr:
ExitCode: 0


Thanks for any Help.
 

ToolboxZX

Member
Licensed User
Longtime User
Has anyone run into the issue of downloading the Windows example, running the install, and after it installs, when it attempts to run, it errors out with the message "Google Maps Example.exe is not a valid Win32 application." ? I tried to redownload the example, have turned off all anti virus software and still no go. I am testing this on Windows XP.
 

ToolboxZX

Member
Licensed User
Longtime User
It is a 64 bit program. It will not work on Windows 32 bit.

You need to build the installer on a 32 bit computer if you want to create a 32 bit installer.
Thank you Erel that was it

Are there any particular arguments that can be added (adjusted) to change the default path the application is installed in?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…