Friedrich,

Can you explain why in a script with no explicit Break Loop or Cycle Loop a
Message Box statement placed as the last script item before the Loop Wizard
End will not display until the last dialog (Ready to Install) is accepted?

That specific behavior is a trivial, and in itself unimportant, example of
the seemingly mysterious behavior of the Loop Wizard. I realize I'm new to SB
and could certainly be seriously lacking a clue, but my expectation of a loop
construct and SB's documentation both lead me to believe that absent an
explicit control statement code will execute from loop entry (after Handle
Wizard Events) through to the loop's End. The trivial example seems to
indicate otherwise.

A more meaningful issue for me is a case where a block of code executes based
on the state of % SB DIALOGID% and a variable set in an include. For no
reason other the way I think, I positioned that block near the end of the
loop after the included code was executed. That worked fine until I made a
change (I have no idea now what that change was) that caused the required
condition of the combination of % SB DIALOGID% and the variable to always
fail. Repositioning that code block to just After Handle Wizard Events
changed that behavior.

So moving a block of code fixed the unexpected behaviors, leaving me happy
and with absolutely understanding of why. The behavior I am seeing leads me
to conclude that there are conditions that create an implicit Cycle. If that
can happen, we really need to know about it. Perhaps I don't understand the
behavior of % SB DIALOGID%, although it seems simple enough. Maybe I'm
overlooking something else I don't understand.

My biggest issue is I am reluctant to release this beast into the wild when I
have such a superficial comprehension of its behaviors. Have any spare clues?

--
Best regards,

Mark

-------------------------------------------------------------------
Why waste time learning when ignorance is instantaneous?
We do email right!
Rock solid hosting services at http://www.lanbytes.net