Tag:des arp product decode not a best check focus on
Often encountered the program can not uninstall, always scold Microsoft to do what installation method, installed can not uninstall. Later, I was going to look at how Windows uninstalls the program, and what information was left behind when a program was installed for subsequent uninstallation. Research Object Win7 64-bit, Program Npviewinie. The most important registry entries that are generated after a program is installed are in the following three HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall 64-bit Program Hkey_local_machine\software\wow6432node\microsoft\windows\currentversion\uninstall 32-bit program Hkey_current_user\ Software\microsoft\windows\currentversion\uninstall install to the current user's program, installation without administrator privileges such as hkey_local_machine\software\ wow6432node\microsoft\windows\currentversion\uninstall\{43dcbffe-81be-4077-8f84-e32db69c6979}{ 43dcbffe-81be-4077-8f84-e32db69c6979} is the unique ID of the program, fixed, in {43dcbffe-81be-4077-8f84-e32db69c6979} has the program's summary information, such as: D Isplayname:npviewinie program name, if empty, will not appear in the uninstaller list installlocation:d:\program files\npviewinie\ program installation location uninstallstring:m siexec.exe/x{43dcbffe-81be-4077-8f84-e32db69c6979} Program Uninstall command if the installation information is all here, it's easy, but Microsoft is complicated, and it's indexed here. Put something else in the other place. Other places have stored information about the program, mainly in the following areas: # = hkey_classes_root\installer\components # = hkey_classes_root\ Installer\features # = Hkey_classes_root\iNstaller\patches # = hkey_classes_root\installer\products # = hkey_classes_root\installer\upgradecodes# = Hkey_local_machine\software\microsoft\windows\currentversion\installer\userdata\s-1-5-18\components # = HKEY_ Local_machine\software\microsoft\windows\currentversion\installer\userdata\s-1-5-18\products #=> HKEY_LOCAL_ machine\software\microsoft\windows\currentversion\installer\upgradecodes# = hkey_current_user\software\ Microsoft\installer\features # = hkey_current_user\software\microsoft\installer\products # = HKEY_CURRENT_ User\software\microsoft\installer\upgradecodes See, complex, where they are linked together is that unique ID, and it is compressed, For example, that compression became a effbcd34eb187704f8483ed26bc99697. There are several more important needs to mention: in Hkey_local_machine\software\microsoft\windows\ Currentversion\installer\userdata\s-1-5-18\products\effbcd34eb187704f8483ed26bc99697\ InstallProperties under Localpackage:c:\windows\installer\1645971.msi This C:\Windows\Installer\1645971.msi is the location of the unloading package, If this is lost (the streamlined system method on the Web may involve this), then the chance of unloading failure is halved. The other half of the opportunity is still present in the installation package. installation PackageThe name is recorded in: Hkey_classes_root\installer\products\effbcd34eb187704f8483ed26bc99697\sourcelistpackagename:npviewinie_ Zh_1.6.6.msi location record in: Hkey_classes_root\installer\products\effbcd34eb187704f8483ed26bc99697\sourcelist\net1:e:\ code\npviewinie\doc\install\1.6.6 position is not urgent, because it can not find will let you choose location. Summary: 1. Do not casually move things under the C:\Windows\Installer directory, although it is getting bigger and larger 2. can use normal unloading the best 3. If it is not possible to uninstall properly, it is best to find all the registry and delete it together when forcing the uninstallation, especially if you don't forget the file under C:\Windows\Installer. If you are looking for trouble manually, it is recommended that you delete only that primary registry, then reinstall the software, and then delete the. 4. There is a small problem with the recommendation of reloading software on forced uninstallation, after reloading the software, all the registries are the same as before, but there is something different, that is the file name in the C:\Windows\Installer directory, This leads to a complete loss of contact with the previous file. Really became a ghost of ghosts. 5. There is also a way. I wrote a script to force the deletion of these registries and files that need to be run by the Scripting people, the script using the appendix is described. Appendix: 1. Npviewinie all related registry and file information that the program obtains from the Registry installation directory: D:\Program files\npviewinie\ installation file directory: E:\code\npviewinie\doc\Install\1.6.6\ Uninstall command: msiexec.exe/x{43dcbffe-81be-4077-8f84-e32db69c6979} Primary Registry path: Hkey_local_machine\software\wow6432node\ microsoft\windows\currentversion\uninstall\{43dcbffe-81be-4077-8f84-e32db69c6979} Unload file path: C:\Windows\Installer\ 1645971.msi installation package file path: E:\code\npviewinie\doc\InstAll\1.6.6\\npviewinie_zh_1.6.6.msi Other related registries: Hkey_classes_root\installer\features\ effbcd34eb187704f8483ed26bc99697 hkey_classes_root\installer\products\effbcd34eb187704f8483ed26bc99697 HKEY_ classes_root\installer\upgradecodes\d970b879d13d71644b1842faeead2150 hkey_local_machine\software\microsoft\ Windows\currentversion\installer\upgradecodes\d970b879d13d71644b1842faeead2150hkey_local_machine\software\ microsoft\windows\currentversion\installer\userdata\s-1-5-18\products\effbcd34eb187704f8483ed26bc99697 HKEY_ Local_machine\software\microsoft\windows\currentversion\installer\userdata\s-1-5-18\components\ 00da8ac25b115d14e82a2d938699dd78 Hkey_local_machine\software\microsoft\windows\currentversion\installer\ Userdata\s-1-5-18\components\0c86db1a2a425aa4abdd342f238b3d58 hkey_local_machine\software\microsoft\windows\ currentversion\installer\userdata\s-1-5-18\components\439bcbf3dbe6c264f8a83c86b199b574 HKEY_LOCAL_MACHINE\ Software\microsoft\windows\currentversion\installer\userdata\s-1-5-18\components\7b6f588ab8e7d4f4eb92a12cb7a8eb7c Hkey_local_machine\software\microsoft\windows\currentversion\installer\ Userdata\s-1-5-18\components\8baff9e2e57cd2e409b6a3b513eaabd0 hkey_local_machine\software\microsoft\windows\ CURRENTVERSION\INSTALLER\USERDATA\S-1-5-18\COMPONENTS\A02CBC3755662E04EA045A3ECE68D2AF HKEY_LOCAL_MACHINE\ Software\microsoft\windows\currentversion\installer\userdata\s-1-5-18\components\ ad2feffda9b68e44aa18b440ba31f000 Hkey_local_machine\software\microsoft\windows\currentversion\installer\ Userdata\s-1-5-18\components\cc166f7311e02514b80cc34bf06b5de82. Script Introduction Script: Http://pan.baidu.com/s/1c0rMeuG Where: List_ ALL_INSTALLED_PROGRAM.RB can list all installed programs by name CHECK_INSTALLED_PROGRAM_HEALTH.RB program name to check if the program can be uninstalled or if the program still exists check_installed_ PROGRAM_HEALTH.RB-V program name can see information about the program CHECK_INSTALLED_PROGRAM_HEALTH.RB-D program name can remove information about the program, including program directory, uninstall package, all registry
Actions of C + + on Windows Control Panel