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

displaying dialogs based on selected features


1 reply to this topic

MrSensitive

MrSensitive
  • Full Members
  • 9 posts

Posted 22 March 2007 - 10:53

Hi all,

I'm struggling with the implementation of conditionally displaying dialogs..

I have several features in my msi package, each featur has its own database.
as I want my users to enter detailed information, and each database can be on a different system, I also have 4 database settings dialogs.

how can I prevent a dialog from being displayed if the corresponding feature is not selected?

many thanks.



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 24 March 2007 - 18:33

On the "Next" button of a dialog add multiple NewDialog events. Add conditions such as
&FeatureName=3
on these events to move to the appropriate dialog based on the feature selection.
Note that this can become quite tricky if you have multiple conditions, and you also need to adjust the relevant "Back" buttons.