The install-component operation is used to install specified components to your Plesk server.
Note: This operation is supported only in Plesk for Unix.
A request XML packet installing Plesk components includes the install-component operation node:
<packet>
<updater>
<install-component>
...
</install-component>
</updater>
</packet>
The graphical representation of the install-component node is as follows:
Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.
The install-component node of the output XML packet is presented by type UpdaterInstallComponentOutputType (updater.xsd
) and structured as follows:
common.xsd
).
The following request packet upgrades the Miva support for Plesk:
<packet version="1.5.0.0">
<updater>
<install-component>
<update-id>PLESK_8_1_1</update-id>
<component-id>miva-support</component-id>
</install-component>
</updater>
</packet>
Response:
<packet version="1.5.0.0">
<updater>
<install-component>
<result>
<status>ok</status>
</result>
</install-component>
</updater>
</packet>
If Plesk Auto-Installer is busy, the response packet from the server will look as follows:
<packet version="1.5.0.0">
<updater>
<install-component>
<result>
<status>error</status>
<errcode>1035</errcode>
<errtext>Service is busy</errtext>
</result>
</install-component>
</updater>
</packet>