This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Enable/Disable next button in custom setup
Started by
kirankulkarni
, Jun 03 2007 08:37
1 reply to this topic
kirankulkarni
kirankulkarni
Full Members
1 posts
Posted 03 June 2007 - 08:37
I am using ISDev 8 for a Basic MSI Project. We have a custom setup dialog that has a feature tree which shows list of features. I wish to disable next button when user deselects all features in the selection tree. I cannot make any of the features required as the user may select any feature.
The thing with basic msi projects and dialogs is that windows installer is not able to act on feature (state/action) changes as long as this dialog is active.
Only when clicking next on the feature dialog you will be able to test the feature selections. This is how I do this within my project: when the user clicks next and I detect that he hasn't detected any features, I show a messagebox and go back to the feature dialog.