VMware Cloud Community
NathanJiang
Contributor
Contributor

How to enable/disable a directory choose page according to selection state of a component?

In our product, component "vst_inst_comp" is installed to directory "${installdir_vst}" that is a directory parameter. I want the directory page for installdir_vst is layed after the component selection page in the whole wizard, and I want the directory page to be hidden when vst_inst_comp is not selected. How could I do this?

0 Kudos
1 Reply
michieldhont_
Hot Shot
Hot Shot

Hi,

You can show the directory page conditionally using rules:

<directoryParameter>
   <name>installdir</name>
 ...
       <ruleList>
        <componentTest>
         <logic>not_selected</logic>
          <name>componentA</name>
         </componentTest>
       </ruleList>
   ...
</directoryParameter>
0 Kudos