Using the Output Debug Information Action

InstallAnywhere 2018

The Output Debug Information action enables you to select the output data that you want to include; it also lets you set destination of the output (console or file). The values that are produced in the debug output depend in part on when the action is performed as part of the installation.

The debug information is useful for investigating and resolving problems with your installer. If errors that are associated with rules occur (or, for example an action is not occurring that should occur), use Output Debug Information to verify the values for each of the variables and Java properties that are used by the InstallAnywhere rules. For errors that are related to the run-time launcher or installer, configure the Send stderr to and Send stdout to settings in your project. For more information, see Directing Installer Debug Output.

Note • The Send stderr to and Send stdout to settings also generate debug information; however, the debug information obtained in that manner is different, in content, from the information that the Output Debug Information action provides.

To use the Output Debug Information action:

1. In the Advanced Designer, on the Sequence page, click Post-Install. The Post-Install view opens.
2. Click the Add Action button. The Choose an Action dialog box opens.
3. On the General tab, click the Output Debug Information action, and then click the Add button. InstallAnywhere adds the action to the Pre-Install Action List.
4. In the customizer at the bottom of the view, on the Properties tab, select the output data items that you want to include in the debug information output.
5. Configure the Output destination settings:
To send the debug output to the console, select the Output to the console (stderr) check box.
To send the debug output to a file, select the Output to a file check box, and in the in the Path box, enter the path for the file.

The value for the path can be a file name, a relative path, or an absolute path. You can optionally include InstallAnywhere variables.

If you specify a file name without a path, the debug information is written to the location that is defined by $USER_INSTALL_DIR$.

See Also