Archive: Installer minimize after selected language.


Installer minimize after selected language.
  Hi all :D !

I've problem with my .exe.

When i launch my .exe, i select my language and after click "OK" the installer minimize...


onInit

System
::Call 'kernel32::CreateMutexA(i 0, i 0, t "myMutex") ?e'
Pop $R0
StrCmp $R0 0+3
MessageBox MB_OK "The installer is already running."
Abort


Push$0

StrCpy $R9${SecJreExe} ; Gotta remember which section we are at now...
SectionGetFlags ${SecJreExe} $0
IntOp$0 $0 | ${SF_SELECTED}
SectionSetFlags ${SecJreExe} $0

SectionGetFlags${SecJreToMove} $0
IntOp$0 $0 & ${SECTION_OFF}
SectionSetFlags ${SecJreToMove} $0

Pop$0


>!insertmacro XPUI_LANGPAGE_DISPLAY

FunctionEnd
>
Thx All

Try putting BringToFront in GUIInit.

Should be like so:

!define XPUI_CUSTOMFUNCTION_GUIINIT MyGUIInit

Function MyGUIInit
BringToFront
FunctionEnd


Stu

thx !!! you are the best :D