jdeploy
jdeploy copied to clipboard
Can't install Program: "Cannot load app info because the app.xml file could not be found"
It used to be possible (half year before) to install/run builds for windows 11 (only x86 on m1 with parallels). Now, months later, same procedure to deploy it is giving the error above and its not possible to install anymore. I tried out your provided samples, they too are not possible to install anymore. Nothing to see in the Eventmanager. ?
Can you share the app so i can take a look?
https://www.jdeploy.com/~jdeploy-demo-javafx-ensemble
Windows 11 Pro, latest version now on Parallels, M1. I tried several times now without luck.
On Mon, Dec 16, 2024 at 1:04 PM Steve Hannah @.***> wrote:
Can you share the app so i can take a look?
— Reply to this email directly, view it on GitHub https://github.com/shannah/jdeploy/issues/157#issuecomment-2545447373, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA224HEQBHOTEWKK7XSQNOD2F26TBAVCNFSM6AAAAABTVT5J52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVGQ2DOMZXGM . You are receiving this because you authored the thread.Message ID: @.***>
Can i provide you with logs somehow?
On Mon, Dec 16, 2024 at 1:04 PM Steve Hannah @.***> wrote:
Can you share the app so i can take a look?
— Reply to this email directly, view it on GitHub https://github.com/shannah/jdeploy/issues/157#issuecomment-2545447373, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA224HEQBHOTEWKK7XSQNOD2F26TBAVCNFSM6AAAAABTVT5J52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVGQ2DOMZXGM . You are receiving this because you authored the thread.Message ID: @.***>
Just tried installing that app on Windows 11 - but not in parallels/M1, and it worked ok.
For logs, check the $HOME/.jdeploy/log/jdeploy-installer.log file or the $HOME/.jdeploy/log/jdeploy-installer.lastrun.log file.
jdeploy-installer.lastrun.log is empty
jdeply-installer.log: Found client4.launcher.path property: C:\Mac\Home\Desktop\JavaFX Ensemble 8 Installer 1.0.19.exe java.io.IOException: Cannot load app info because the app.xml file could not be found at ca.weblite.jdeploy.installer.Main.loadAppInfo(Main.java:185) at ca.weblite.jdeploy.installer.Main.run0(Main.java:515) at ca.weblite.jdeploy.installer.Main.run(Main.java:362) at ca.weblite.jdeploy.installer.Main.main(Main.java:351)
It worked so far, till i tried out another time today. What i did was just removing the app and reinstalled it.
On Mon, Dec 16, 2024 at 2:01 PM Steve Hannah @.***> wrote:
Just tried installing that app on Windows 11 - but not in parallels/M1, and it worked ok.
For logs, check the $HOME/.jdeploy/log/jdeploy-installer.log file or the $HOME/.jdeploy/log/jdeploy-installer.lastrun.log file.
— Reply to this email directly, view it on GitHub https://github.com/shannah/jdeploy/issues/157#issuecomment-2545574881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA224HFRF7RTBFASXZJRIO32F3FKHAVCNFSM6AAAAABTVT5J52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVGU3TIOBYGE . You are receiving this because you authored the thread.Message ID: @.***>
Have you renamed the installer file? It should be named JavaFX Ensemble 8 Installer-1.0.19_255X.exe. But the log indicates that it is named JavaFX Ensemble 8 Installer-1.0.19.exe
That little _255X at the end is necessary for it to look up the app metadata.
Thats it. I see you closed the issue already so thanks for helping!!
For others maybe. I did not rename it - but the browser did (Arc).
On Mon, Dec 16, 2024 at 2:39 PM Steve Hannah @.***> wrote:
Have you renamed the installer file? It should be named JavaFX Ensemble 8 Installer-1.0.19_255X.exe. But the log indicates that it is named JavaFX Ensemble 8 Installer-1.0.19.exe
That little _255X at the end is necessary for it to look up the app metadata.
— Reply to this email directly, view it on GitHub https://github.com/shannah/jdeploy/issues/157#issuecomment-2545658808, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA224HHAENYG3FBU3YC5YBD2F3JY3AVCNFSM6AAAAABTVT5J52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVGY2TQOBQHA . You are receiving this because you authored the thread.Message ID: @.***>
The browser renamed it?! What browser are you using? Can you describe the steps for downloading it, and perhaps share a video?
https://arc.net/
Open page with it and download.
Quite a nice browser. There is a setting, tidy downloads which removes 'thingis' from (strange) filenames. Quite handy too, i think. Not good for this case :-)
That said, if possible i would not include needed parameters into the filename. At least put it in the faq that filenames must not be renamed. I guess you could encode the parameters somwho into the file properties as for sure one day a user will rename it too for whatever reason. Which should be possible.
On Mon, Dec 16, 2024 at 3:01 PM Steve Hannah @.***> wrote:
The browser renamed it?! What browser are you using? Can you describe the steps for downloading it, and perhaps share a video?
— Reply to this email directly, view it on GitHub https://github.com/shannah/jdeploy/issues/157#issuecomment-2545708620, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA224HGKKWCK3L74SI2F7ZT2F3MKFAVCNFSM6AAAAABTVT5J52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVG4YDQNRSGA . You are receiving this because you authored the thread.Message ID: @.***>
Will need to add some docs for this. The reason for this in the filename is because the installer is signed by the jDeploy EV code-signing certificate, so you can't modify it. The only way to add "per" application details to it is via the file name.
I have recently added self-signing options on Mac, which don't require this code, and I would like to add support for it on Windows as well, but I don't have an ETA on that yet.