Symptoms
Templates sometimes depend on each other, as Plesk and Plesk Power Pack. Plesk Power Pack installation fails if Plesk is not installed in VE.However, HSPcomplete installs Windows templates in random order, not knowing their dependencies.
Cause
Linux templates have dependencies defined in special xml configuration files, and HSPcomplete follows these dependencies.But it's not possible for HSPcomplete to retrieve dependencies from Windows template archive.
Resolution
In future HSPcomplete releases it's planned to add dependency option in template configuration in PCC.Now we can add it directly in database. Dependency can be added in 'ad_tmpl_dep' table in 'aspc' database.
Example:
Dependency for Plesk Power Pack from Plesk. Find ID of your PleskPP template in the list in
Service Director > Virtuozzo Manager > Applications
Find Plesk template package name ('Package' field in this list).
I my case PleskPP template ID was 267, Plesk template package name - 'Plesk_8.2.0_20070822'. The following sql query helped to create dependency:
insert into ad_tmpl_dep (tmpl_id, type, package) values (267, 0, 'Plesk_8.2.0_20070822');
Keywords: hspcomplete windows application template dependency