Need some help with Exec / ExecWait
How can I run uninstaller or other .exe file
and hide current installer window until I finish with the new exec... ?
Archive: Need some help with Exec / ExecWait
Need some help with Exec / ExecWait
How can I run uninstaller or other .exe file
and hide current installer window until I finish with the new exec... ?
You could execute HideWindow before calling ExecWait to hide the installer, and then use BringToFront afterwards to show the installer again.
Can't hide it
Originally posted by SunjammerI tried it (also the commented stuff)
You could execute HideWindow before calling ExecWait to hide the installer, and then use BringToFront afterwards to show the installer again.
; Push ${MUI_TEMP1}
;
; FindWindow ${MUI_TEMP1} "#32770" 0 $HWNDPARENT
;
; ShowWindow ${MUI_TEMP1} ${SW_HIDE}
; SendMessage ${MUI_TEMP1} ${WM_SHOWWINDOW} 0 ${SW_HIDE}
HideWindow
ExecWait "$1"
; ExecShell open "$1"
BringToFront
; ShowWindow ${MUI_TEMP1} ${SW_NORMAL}
; SendMessage ${MUI_TEMP1} ${WM_SHOWWINDOW} 0 ${SW_NORMAL}
;
; Pop ${MUI_TEMP1}
Um, but onInit, the installer dialog won't have shown yet - so how can you hide it?
-Stu :o
...
Quote:
Originally posted by Afrow UK Um, but onInit, the installer dialog won't have shown yet - so how can you hide it? -Stu :o |