NEC 320Fc manual Generating Exit Values, Viewing Standard Output and Error Stream

Models: 320Fc

1 120
Download 120 pages 1.17 Kb
Page 67
Image 67

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 1-8

“Programming Notes for Custom Actions” on page 3-15

“Configuring Custom Actions” on page 3-12

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 3-15

“Configuring Custom Actions” on page 3-12

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.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 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 5-1for more information.

Related Topics

“Programming Notes for Custom Actions” on page 3-15

“Configuring Custom Actions” on page 3-12

Configuring the Active Upgrade Process 3-17

Page 67
Image 67
NEC 320Fc manual Generating Exit Values, Viewing Standard Output and Error Stream