This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- SetupError Dialog - I must be an idiot
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 16, 2010
06:40 PM
SetupError Dialog - I must be an idiot
Can someone please explain to me in very simple terms how I use the SetupError Dialog? I basically wish to display an error to the user when they click a push button on my dialog if a certain condition is met.
On the push button I set the Event to be "NewDialog" and set Argument to be "SetupError", but this does not work.
Please help!
David
On the push button I set the Event to be "NewDialog" and set Argument to be "SetupError", but this does not work.
Please help!
David
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 17, 2010
12:41 AM
Could you post the condition which you've set.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 17, 2010
01:33 AM
Hi
It's: &IISROOTFOLDER=""
I do not think it's the condition as such, does it expect an error number and which buttons to use as some sort of parameter. As the dialog displays an error when the dialog opens "Error 2869 The dialog SetupError has the style bit set, but is not an error dialog"
It's: &IISROOTFOLDER=""
I do not think it's the condition as such, does it expect an error number and which buttons to use as some sort of parameter. As the dialog displays an error when the dialog opens "Error 2869 The dialog SetupError has the style bit set, but is not an error dialog"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 17, 2010
03:01 AM
Try doing the following:
Goto Additional Tools->Direct Editor->Dialogs ->SetupError Dialog.
Value in Attributes column will be 65543. Set this value to 3 or 35(any of 'non-error dialog' attrib value).
This displays the SetupError dialog, and now you will have to change the behaviour for Retry button on SetupError dialog to New Dialog or Exit, as per your requirement.
Cheers,
Anitha
Goto Additional Tools->Direct Editor->Dialogs ->SetupError Dialog.
Value in Attributes column will be 65543. Set this value to 3 or 35(any of 'non-error dialog' attrib value).
This displays the SetupError dialog, and now you will have to change the behaviour for Retry button on SetupError dialog to New Dialog or Exit, as per your requirement.
Cheers,
Anitha
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 17, 2010
05:56 AM
Hi
Thanks for your response.
I have followed your instructions and I now get a different error. On error my dialog box displays, it has one button that is labelled 'Retry' as soon as hover over it the text changes to 'Yes', when I then click this button it displays a new dialog with the following message:
Error 2856.Creating a second copy of the dialog SetupError.
Any ideas? It's not exactly intuitive this error messaging!
Thanks
David
Thanks for your response.
I have followed your instructions and I now get a different error. On error my dialog box displays, it has one button that is labelled 'Retry' as soon as hover over it the text changes to 'Yes', when I then click this button it displays a new dialog with the following message:
Error 2856.Creating a second copy of the dialog SetupError.
Any ideas? It's not exactly intuitive this error messaging!
Thanks
David
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 18, 2010
12:17 AM
Yeah, I had mentioned the same in my post.
For this, you'll have to change the behaviour for Retry button on SetupError dialog to New Dialog or Exit, as you need.
For this, you'll have to change the behaviour for Retry button on SetupError dialog to New Dialog or Exit, as you need.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2010
11:13 AM
I've just been round the houses trying exactly the same thing.... turns out the "is not an error dialog" is the slightly cryptic way of letting us know the dialog is incomplete as it doesn't have an error message to display.
Rather than modifying the standard dialog box, you should just create a new error custom action (type 19), give it the required error message, then set the event to be a 'DoAction' that points to the CA.
Cheers
Ciaran
Rather than modifying the standard dialog box, you should just create a new error custom action (type 19), give it the required error message, then set the event to be a 'DoAction' that points to the CA.
Cheers
Ciaran