Sometimes uninstall the installation package created by InstallShieldProgramAfter uninstallation, you will be prompted whether to restart your computer to complete all uninstallation. The common causes of this prompt are as follows:
1. The program is running
2. When uninstalling, the program folder is open
3. When a file is detached, it is called by another process, or a common situation such as DLL in the process
Generally, the solution is applicable to the third case. The solution is to force kill processes when uninstalling them. For example, write the force kill process in onmaintuibefore or onuninstall.Code. For the first and second cases, common GUI programs that can interact are generally ignored because these actions cannot be prohibited.
For details about the is operating system process, refer to the other two articles in my blog.Article
Http://www.cnblogs.com/Cindy_weiwei/archive/2009/11/25/1610442.html (for is6 or above)
Http://www.cnblogs.com/Cindy_weiwei/archive/2009/09/25/1574016.html (for is5)