We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Terry
Posts: 14
Joined: Tue May 22, 2007 12:57 pm

Spawning ErrorDlg problem

I have a custom dialog box with a number of selection options. Under Published Events for the 'Next' button I wish to add some validation checks.

If there are any invalid selection combinations I was hoping to spawn an ErrorDlg box, but it is not displayed in the Argument menu for SpawnDialog. How do I insert ErrorDlg into my Dialog tree?

BTW My run logs contain the following error messages-
DEBUG: Error 2826: Control BottomLine on dialog PrepareDlg extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: PrepareDlg, BottomLine, to the right

I don't think this is of my doing.
Terry
Posts: 14
Joined: Tue May 22, 2007 12:57 pm

I have just worked out what to do.

In the 'Edit Control Event' dialog you leave the Argument selection at <NewDialog> and that will create a SpawnDialog entry in the Install Sequence that you can edit to your heart's content. :D

Return to “Common Problems”