cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
microstar
Level 5

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
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

Just to verify, this is a pure InstallScript or InstallScript MSI project?
0 Kudos
microstar
Level 5

It is a basic MSI project with a lot of script..
0 Kudos
RobertDickau
Flexera Alumni

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.
0 Kudos