Configuring Custom ActionsConfiguring the Active Upgrade Process 3-17To pass multiple variables, add a space between each variable, as follows:%ACTIVE_UPGRADE_SIDE% %ACTIVE_UPGRADE_REQUEST%Related Topics• “Active Upgrade State Model” on page 1-8• “Programming Notes for Custom Actions” on page 3-15• “Configuring Custom Actions” on page 3-12Generating Exit ValuesAn exit value of 0 indicates that the executable file exited normally. Any other exit valueindicates that there was an error, which prevents the Active Upgrade process fromcontinuing with the current upgrade request. If this happens, you must correct theproblem and click Retry in the Active Upgrade console to retry the current upgraderequest (which also runs the custom action again). The Active Upgrade process doesnot continue until the executable file for your custom action runs successfully.Related Topics• “Programming Notes for Custom Actions” on page 3-15• “Configuring Custom Actions” on page 3-12Viewing Standard Output and Error StreamAfter your program executes, you can view standard output and error output from theprogram in the Active Upgrade console, as follows:1. In the activity log, expand an Execute custom actions node.(There can be more than one Execute custom actions node, depending on thetypes of custom actions you have created. Find the node for the upgrade stage inwhich your custom action was set to run.)2. Double-click a specific custom action to display more information about it.3. In the detail window, view the output for your program under Status. If necessary,scroll down in the Status box to see the full output. Or move your cursor over theStatus box to view the output as ToolTip help.If you save the activity log to a file, you can also view the output in that file. See “Savingthe Activity Log to a File” on page 5-1 for more information.Related Topics• “Programming Notes for Custom Actions” on page 3-15• “Configuring Custom Actions” on page 3-12