Jump to content


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.
Photo

Enable/Disable next button in custom setup


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.

Can someone please tell me the steps to do this?

Thanks in advance,
Kiran.

Edited by kirankulkarni, 03 June 2007 - 08:38.


Christoph

Christoph
  • Full Members
  • 81 posts

Posted 27 June 2007 - 14:14

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.

There is no other way I think sad.gif