PDA

View Full Version : calling a NewDialog Event within ReadyToInstall



sks2004
06-08-2005, 04:18 PM
I've noticed that I cannot call a NewDialog event from within the InstallNow button, within the ReadyToInstall dialog behavior.

Is this not permitted at this point...or am I experiencing erratic behavior?

jain.rajat
06-09-2005, 12:29 AM
Hi!

It is possible to call it. I have called it. I think you need to check the condition you have conditioned it on. Also check the ordering you may need to move your NewDialog to be evaluated first incase you have any other NewDialog also. There is another possibility of achieving this also, you can set a property on that condition instead of the NewDialog. Then in the UI sequence you can directly insert your dialog conditioned on that property.

regards,
Rajat Jain

sks2004
06-09-2005, 08:40 AM
We found that each dialog event (NewDialog, EndDialog, SpawnDialog) within a dialog requires a completely unique condition...if not, then the last dialog event inline will fire.

RobertDickau
06-09-2005, 08:45 AM
Right, control events are unusual in that you need a condition of 1 to specify it should always run, instead of an empty condition implying success. (Described in the MSI Help Library page "ControlEvent Table"...)