required parameters & command line


1 comment

  • Avatar

    Instead of defining the parameters as required, you could validate them in the <preInstallationActionList> if the user selected B and is executing in text mode:

                <text>Required parameter 'someParameter' must be provided</text>
                    <compareText text="${someParameter}" logic="equals" value=""/>
               <compareText text="${database}" logic="equals" value="B"/>
               <compareText text="${installer_ui}" logic="equals" value="text"/>

Please sign in to leave a comment.