Thank you very much for your reply.
I attached all my code of "install.cpp" , and do you find some errors in it ?
Sorry, I'm a beginner.

P.S. My OS is Windows Server 2003 DataCenter. Does the SDK is different from the other Windows?