add pre-install process
add success return.
Merge pull request #15 from winsonwq/add_install_process

Add install process