Skip to content
⌘ NSIS Forum Archive

BringToFront doesn't work

3 posts

iceman_k#

BringToFront doesn't work

First the problem:
This is my MUI_CUSTOMFUNCTION_FINISH_PRE function:

Function PreFinish
ExecShell open "$SMPROGRAMS\${MUI_PRODUCT}"
BringToFront
FunctionEnd

Theoretically, this should open the Start Menu program group and then bring the installer window to the front again.
However, in practice, the installer window continues to stay behind.
Any ideas why this is happening?
I am using 2.0b3 on Windows 2000.
---
Thanx
Iceman_K
Joost Verburg#
Works fine for me. Maybe you should add a small Sleep between the lines, because BringToFront is faster than the window creation.