Search code examples
install4j

How to unset "Run [Application]" in the unattended mode of install4j?


I'm an end user of an install4j generated installer. The developer decided to enable executeLauncherAction by default.

Can I override its value and prevent the application from launching after installation in the unattended mode?


Solution

  • You can start the installer with the command line parameter

    -VexecuteLauncherAction$Boolean=false
    

    to change the default value.

    Note that this will not work if the developer has changed the "Overwrite strategy" property of the "Load a response file" action from its default of "Do not overwrite command line".