Refer Replace file in .EXE installer in C-C++ forum.