建议参考一下这里的讨论
http://answers.microsoft.com/en-us/windows/forum/windows_8-winapps/uninstall-error-exception-calling-main/6efe3638-136c-4a0c-b51f-08ea8d60f452?auth=1