Thank you for your support.
I follow your advise and it works as what you said. However, it is not like what my customer want. He wants to show a confirmation dialog so that the user can choose either automatically remove the old version or cancel installing the new release.
Thank you anyway.