The <solution> element defines or selects a solution. The elements that you include within the <solution> element depend on the command that you are specifying.
If you are using the <solution> element within a <register> command, you must specify the following required elements:
<name>
<prodcode>
<prodvrsn>
<templates>
If you using the <solution> element within a <deregister> or <export> command, you need to specify only the <prodcode> and <prodvrsn> child elements.
Parent element: <register>, <deregister>, <solutions>, or <list>
This value is required when registering a solution.
prodlist
string
no
Indicates whether the solution is included in reports or displays of all installed solutions.
replace
string
no
no
Indicates whether to replace existing solutions with the same product code and version when using the <register> command.
Valid values are yes and no. If you specify yes when using the <register> command, the solution registered will replace any existing solution of the same prodcode/version
Example:
The following example shows how to use the <solution> element to register a solution: