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.
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
‎Dec 17, 2008
03:17 AM
WaitOnDialog
In my script I use
nResult=EzDefineDialog (szDialogName,ISUSER,"",12054);
to show a dialog with the name "OpnieuwStarten" (exactly the same as in de dialog view and when I use a number as the last parameter, it is in the direct editor too). But I tried very many other ways to define the Dialog.
I get an error in DefineDialog OR an error in WaitOnDialog (that the dialog cannot be found). I have read all items in this forum, but it seems that no one can actually tell when thing go wrong with these commands. Of course I also tried things like
nResult=EzDefineDialog (szDialogName,ISUSER,szDialogName,0);
but all has the same result: the Dialog is not shown.
Who knows which command is te correct one and will lead to opening of the Dialog???
Henri
nResult=EzDefineDialog (szDialogName,ISUSER,"",12054);
to show a dialog with the name "OpnieuwStarten" (exactly the same as in de dialog view and when I use a number as the last parameter, it is in the direct editor too). But I tried very many other ways to define the Dialog.
I get an error in DefineDialog OR an error in WaitOnDialog (that the dialog cannot be found). I have read all items in this forum, but it seems that no one can actually tell when thing go wrong with these commands. Of course I also tried things like
nResult=EzDefineDialog (szDialogName,ISUSER,szDialogName,0);
but all has the same result: the Dialog is not shown.
Who knows which command is te correct one and will lead to opening of the Dialog???
Henri
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 17, 2008
02:44 PM
Just to verify, this is a pure InstallScript or InstallScript MSI project?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2008
04:23 AM
It is a basic MSI project with a lot of script..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2008
07:59 AM
I believe WaitOnDialog and so on are used only with resource-based dialog boxes in InstallScript and InstallScript MSI projects; for Basic MSI projects, you'll use control events and so forth. Please see the help topics under Creating Installations > Defining the End-User Interface > Working with Dialogs.