![](/images/new-backgrounds/1103032/103032133x1.webp)
Configuring Custom Actions
To 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
•“Programming Notes for Custom Actions” on page
•“Configuring Custom Actions” on page
Generating Exit Values
An exit value of 0 indicates that the executable file exited normally. Any other exit value indicates that there was an error, which prevents the Active Upgrade process from continuing with the current upgrade request. If this happens, you must correct the problem and click Retry in the Active Upgrade console to retry the current upgrade request (which also runs the custom action again). The Active Upgrade process does not continue until the executable file for your custom action runs successfully.
Related Topics
•“Programming Notes for Custom Actions” on page
•“Configuring Custom Actions” on page
Viewing Standard Output and Error Stream
After your program executes, you can view standard output and error output from the program 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 the types of custom actions you have created. Find the node for the upgrade stage in which your custom action was set to run.)
2.
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 the Status 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 “Saving the Activity Log to a File” on page
Related Topics
•“Programming Notes for Custom Actions” on page
•“Configuring Custom Actions” on page
Configuring the Active Upgrade Process