Hello,
First of all I want to apologize for the misleading label (i.e. "Update control when no tree item is selected") we use for this subscribed event. This subscribed event is the
"SelectionNoItems" event available in Windows Installer and, actually is triggered by a SelectionTree control
only when the selection has no nodes. Thus the "Enabled" attribute of the [Next] button will be set to false when the selection tree control has no nodes.
To test how this works, you can go to "Organization" page and for each one of your product features set, from "Feature Properties" right pane, the "Feature Tree" option to "Not Displayed". Then just build and run the setup. When the selection tree has no feature nodes on "CustomizeDlg" dialog the [Next] button should be disabled.
We will update the label for this subscribed event in a future version of our application. Thank you for bringing this to our attention. We will update this thread as soon as the label is updated to a meaningful description.
In what regards what you are trying to achieve (disable [Next] button) when no feature was selected for installation in the selected tree control, I'm afraid I'm not aware of any solution for this requirement. Thank you for your understanding.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging