Archive: Minimazi installer window the execute ExecWait-programm


Minimazi installer window the execute ExecWait-programm
I have next code:

Section "MainSection" SEC01
SetOutPath "$INSTDIR"
SetOverwrite try
File /r /x !setup /x Folder1 ..\*.*

SetOutPath "$INSTDIR"
ExecWait "$INSTDIR\patch.exe"

SetOutPath "$INSTDIR"
File /r ..\Folder1\*.*
SectionEnd


I want then executing patch.exe the window of installer minimized, then patch.exe executed the window of installer maximized.

How make this?

P.S. Sorry for my English.

You can use Manual 4.9.14.17 ShowWindow

ShowWindow $HWNDPARENT ${SW_HIDE}
ExecWait...
ShowWindow $HWNDPARENT ${SW_SHOW}
but this not works with BGGradient option. You can also use SW_MINIMIZE / SW_RESTORE.