HP Xw460c Administrator's Guide for Microsoft Windows on HP ProLiant Blade Wor - Page 104

Command Line Examples, Return codes for components, Meaning, Example, Results

Page 104 highlights

Return codes for components When each Smart Component has finished running, the component reports a return code to the operating system or the calling application. These return codes communicate the status of the component installation. You can also use the return codes in a script to control the execution of the script and determine any branching that is required. Note that these codes are not standard scripting return codes. Code 0 1 2 3 Meaning The Smart Component failed to install. Refer to the log file for more details. The Smart Component installed successfully. The Smart Component installed successfully, but the system must be restarted. The installation was not attempted because the required hardware was not present or the software was current. Command Line Examples Example cp002575 cp002575 /s cp002575 /s /f /r Results Starts installation of the cp002575.exe component. Installs the cp002575.exe component on the target server, using the defaults of the component. The installation GUI does not appear. Installs the cp002575.exe component, forcing the component to install over an existing version and allowing the blade workstation to reboot automatically if needed. The installation GUI does not appear. APPENDIX A: Downloading and installing SoftPaqs and Smart Components 104

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105

APPENDIX A: Downloading and installing SoftPaqs and Smart Components
104
Return codes for components
When each Smart Component has finished running, the component reports a return code to the operating system
or the calling application. These return codes communicate the status of the component installation. You can also
use the return codes in a script to control the execution of the script and determine any branching that is
required.
Note that these codes are not standard scripting return codes.
Code
Meaning
0
The Smart Component failed to install. Refer to the log file for more details.
1
The Smart Component installed successfully.
2
The Smart Component installed successfully, but the system must be restarted.
3
The installation was not attempted because the required hardware was not present or
the software was current.
Command Line Examples
Example
Results
cp002575
Starts installation of the cp002575.exe component.
cp002575 /s
Installs the cp002575.exe component on the target server, using the defaults of
the component. The installation GUI does not appear.
cp002575 /s /f /r
Installs the cp002575.exe component, forcing the component to install over an
existing version and allowing the blade workstation to reboot automatically if
needed. The installation GUI does not appear.