Hi,
The condition of a virtual directory can be set in the "Install Condition" field from the
Virtual Directory tab of the IIS page.
The condition of a web site can be set in the "Install Condition" field from the
Web Site tab of the IIS page.
The condition of an application pool can be set in the "Install Condition" field from the
Application Pool tab of the IIS page.
If all IIS elements have the same condition, the IIS actions are conditioned indirectly. For example, you can condition all your IIS elements with a feature action to indirectly associate them with the feature.
Regards,
Cosmin