Hello,
I could't delete the option button in the SetupTypeDlg
Indeed, this button can't be deleted. You could hide it by setting its "Visible" attribute to false from the Properties pane.
However we do not recommend modifying this dialog. Instead you could create a new dialog and customize it to your needs.
I add a new sub dialog understand SetupTypeDlg and edit the "show,only if conditon", the condition is InstallProduct=Product1 mentioned above.
We recommend using "Display dialog" publish events placed for navigating through dialogs.
I edit public event,NewDialog, to open the newDialog created before in the setupTypedialog. when this step was done , the newDialog created before was appering again as a sub dialog of setupTypedialog but not under the "show only if" condition.Therefore, there were the same two sub dialog understand SetupTypeDlg, one is under "show only if" condition, another is not which Automatically appearing.
The "Display a specific dialog" and "Display a specific child dialog" published events which have true conditions are executed from bottom to the top of the list. Thus, the dialog contained by the first show dialog published event with a true condition will be displayed and the rest of the publish events of this kind are ignored.
Best regards,
Sorin
FOLLOW US
Get the latest news in Application Packaging