Cause
Sometimes during VE provisioning some specific application should be installed before another one. To make HSPcomplete install some application before another one it is required to add dependency for the application, so it will depend on some another application.Resolution
In current HSPcomplete version it is possible to add such dependecies from HSPcomplete interface for Virtuozzo for Linux EZ templates with adding all dependencies using 'Edit' button on Top > Service Director > Virtuozzo Manager > Applications > Template Name > Dependencies screen.
For Virtuozzo for Windows templates these dependencies are hidden from the interface currently and dependencies management from HSPcomplete interface should be implemented in further HSPcomplete versions, so it will be possible to configure them exactly the same way as for Virtuozzo for Linux EZ templates.
Currently for Virtuozzo for Windows templates it is possible to add dependency with adding corresponding record into ad_tmpl_dep table in aspc HSPcomplete database.
Example:
Application #1201 'Pleskpp 8.2.0 20070705 X64' requires application #1202 'Plesk 8.2.0 20070705 X64'.
To add this dependency it is enough to insert the following row in aspc database:
mysql> insert into ad_tmpl_dep VALUES (DEFAULT,1201,0,'plesk_8.2.0_20070705_x64','00000000','eq',NULL);