What do you mean with "Packager"? You should use the built-in packager feature.
Erel, I refer to the built-in packager. I may not have expressed that clearly in my post. Sometimes it is difficult to describe problems in another language...
Is it possible that the problem occurs because I create the package under Windows10, install it later then on Windows11?
If you create a distribution with the built-in packager, the finished project is stored under ...B4J/objects/temp/build.
I pack this folder, can distribute the zip file, unpack it on another computer and start the programme.
This is done by starting a small exe file, which is usually named projectname.exe.
Exactly this file has a compatibility problem under windows11. The build was created on a windows10 computer. The programme starts briefly and then crashes without error message.
When examining the exe file using right click and then testing for compatibility problems, windows11 finds a problem, corrects it and everything works.
I am not sure now if this could be a general problem or if it is only because the build was created under windows10.