I've got a setup package for a Java desktop app that uses a single JVM parameter to control some of the runtime logic, but now that we're moving the app from batch file launching to an AI project, I'm battling to work out how to control this from the setup wizard...
I have confirmed that having this parameter in the generated "ini" file does indeed get passed to the program, but I would like to have a checkbox in the setup wizard that includes this custom parameter if checked, but excludes it entirely if it is not checked.
Please could somebody help me work out how to achieve this?
Edit: If it matters at all, when I want to use this option from command line I run it with "java -jar AppName.jar mystring", not "-Dmystring", so I believe the parameter I need to add should actually be in the "Command line" field, not the "JVM parameters" field..