Archive: ExecWait modal window


ExecWait modal window
Hello,

I'm using ExecWait to execute a extra config utility during setup where the user has to enter some details into a dialog.

How can I get this dialog to appear like a modal dialog, so that the user can not switch back to the NSIS installer?

Thanks :)


How about this,
Hide installers window.
ExecWait the dialog and capture return.
If return is not success pop up a message box prompting users either complete the extra config utility or quit the installation.


Great idea, I will probably do that if I can not find any other solution :)


Probably would be other, though more tricky I'm afraid.
Give me a break and I'll post an example of the above if you wish.


Thanks...

I think the only way to achieve a 'real' modal effect is to wait in the installer while the 2nd EXE runs, and force focus to it if user tries to switch back. Hiding the installer window would be a lot less dodgy IMO.


This is a simplified example of what I think, you may not hide the installer if you prefer so.


Works great, thanks!


ExecWait modal window
Hi guys!

Is there a way to move this where we want in the process, for example just before the finish page.

Because i have tried this but it doesn't happen where i want.

Thanks for your help


It's just a question of where you call that piece of code. If you want it before the finish page, use it in your last section.

BTW, I'd add EnableWindow call to disable the main installer window on top of hiding it. That'd give a better 'modal' window.