Fixed uninstall glitch in gui mode.
Fixed uninstall glitch in gui mode.

Change-Id: Ia23a16270cf1a3767773468ce6fabb630f91120c

ow2-proactive/agent-windows,ow2-proactive/agent-windows,ow2-proactive/agent-windows,ow2-proactive/agent-windows,ow2-proactive/agent-windows