How to access the install4j custom application screens for a macOS app after 'first run'?

Viewed 16

Install4j 9's DMG media file allows an installation wizard to be launched when the application shipped in the DMG is run for the first time, but there doesn't seem to be any way to access the custom install screens after that first run (for instance, to re-perform or undo some of the actions performed).

Is it possible to 'reset' the first run flag, or somehow pass an argument that will allow someone to access the custom install screens after the application has been run for the first time ?

1 Answers

You can start a custom installer application with the API. To get a code snippet to do that, select the custom installer application in the Installer->Screens & Actions step, activate the "Launcher integration tab" and click on "Start integration wizard". The code snippet will look like this:

ApplicationLauncher.launchApplicationInProcess("594", null, null, 
     ApplicationLauncher.WindowMode.FRAME, null);
Related