Packaging a project from the command line causes the executable to crash.

Which version of 5.4 are you using? A colleague found that a similar problem should have been addressed in version 5.4.2. I can’t share the thread as it’s a private case.

While reviewing the logs I could see that the editor package is using chunks while the command line one it not. That could be related to the problem. I recommend adding -manifests to the command line .

There are also a couple of arguments that are missing:

  • -manifests : Looks like the one causing the problem
  • -package
  • -target=CortexHMI
  • -compressed
  • -installed
  • -prereqs : Only needed if you want the redistributable installer part of the package.