Inno Setup - Automatically submitting uninstall prompts
I want to hide the first and the last message of the unisntaller. This code works with a modified version of inno setup (Inno Setup Ultra 5.5.1.ee2) but does not work well to hide the first message (appears briefly and disappears): function FindWindowEx(Parent, Child: HWND; ClassName, WindowName: PansiChar): HWND; external 'FindWindowExA@user32.dll stdcall'; const BM_CLICK = $00F5; var Timer: TTimer; msg: string; Wnd, WndEx: HWND; procedure OnTimer(Sender: TObject); begin Wnd:= FindWindowByWindowName(msg); if Wnd > 0 then begin WndEx:= FindWindowEx(Wnd, 0,'Button', ''); if WndEx > 0 then begin