Display Dialog only if Component is selected
Posted: Tue Jan 04, 2005 9:18 am
I am using the componentstree dialog where the user can select the component(s) which he would like to install. Currently, I have 2 Components: Client and Server.
Only if the user selects the Server Feature, later in the wizard I would like to display a ServerConfiguration Dialog. If the User selects the Client Feature, the ClientConfigurationDialog should appear later in the Wizard.
I tried the following:
wizard loop
Display Dialog: welcome
Display Dialog: componentstree
Get Component Server Selection State into Variable XYZ
Display Dialog: ServerConfigurationDialog ( if Variable XYZ is true)
Get Component Client Selection State into Variable XYZ
Display Dialog: ClientConfigurationDialog ( if Variable XYZ is true)
end
... but this does not work because the only legal statement inside a wizard loop is DisplayDialog.
How can I do this?
Kind Regards
Matthias
Only if the user selects the Server Feature, later in the wizard I would like to display a ServerConfiguration Dialog. If the User selects the Client Feature, the ClientConfigurationDialog should appear later in the Wizard.
I tried the following:
wizard loop
Display Dialog: welcome
Display Dialog: componentstree
Get Component Server Selection State into Variable XYZ
Display Dialog: ServerConfigurationDialog ( if Variable XYZ is true)
Get Component Client Selection State into Variable XYZ
Display Dialog: ClientConfigurationDialog ( if Variable XYZ is true)
end
... but this does not work because the only legal statement inside a wizard loop is DisplayDialog.
How can I do this?
Kind Regards
Matthias