PDA

View Full Version : Custom dialog depending on the feature selected



jenskjensen
09-28-2010, 02:49 AM
Hi.

We are starting to build an installation with many features. Some of them require additional information from the user. We don’t want to show our customs any custom dialog regarding features they don’t install. I know about the &feature=3 event but it will be almost impossible to administrate when creating the installation.
Are there any other ways to do it? We are using BASIC MSI

Feature A – require additional info
Feature B – require additional info
Feature C – require additional info
Feature D

CustomSetup -> Dialog A ->Dialog B ->Dialog C -> ReadyToInstall

CustomSetup dialog – Next Button
NewDialog, Dialog A, &Feature A=3
NewDialog, Dialog B, &Feature B=3
NewDialog, Dialog C, &Feature C=3
NewDialog, ReadyToInstall, 1

Dialog A – Next Button
NewDialog, Dialog B, &Feature B=3
NewDialog, Dialog C, &Feature C=3
NewDialog, ReadyToInstall, 1

Dialog B – Next Button
NewDialog, Dialog C, &Feature C=3
NewDialog, ReadyToInstall, 1

Dialog C – Next Button
NewDialog, ReadyToInstall, 1

If we have to switch to another project type it’s not a problem but I would appreciate if someone could give me a hint on how to proceed.

Thanks in advance,
Jens