Product:
Search Type:

How can we define templates installation order for Windows VE?

Article ID: 3009 
Last Review: Oct,29 2007
APPLIES TO:
  • HSPcomplete 3.3.x

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

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields