When a software is installed, it cannot be removed after repeated restart. "setup has detected a pending system reboot from a previous install, Setup cannot continue until the machine is rebooted. please reboot the machine and run the installation again. "prompt, installation fails.
Cause
One potential trigger was the installation of Logitech webcam drivers which adds values to HKLM \ System \ CurrentControlSet \ Control \ sessionmanager \ primary key. issue has also been seen on Acer notebooks in the public forum.
One possible cause is that the camera installed with Logitech is written to the HKLM \ System \ CurrentControlSet \ Control \ sessionmanager \ pendingfilerenameoperations in the registry. The same problem occurs in the Acer notebook.
Solution:
Open the registry and browse:HKLM \ System \ CurrentControlSet \ Control \ sessionmanager \
BackupPendingfilerenameoperationsKey value, and then delete it. Then, try to install the software without restarting it.
For Vista, two folders also contain restart information.
C: \ windows \ winsxs \ temp \ pendingdeletes \
C: \ windows \ winsxs \ temp \ pendingrenames \
To
HKLM \ SOFTWARE \ Microsoft \ CurrentVersion \ Run, or (hkcu \ Software \ Microsoft \ CurrentVersion \ Run)
Note: if necessary, update Windows Installer
- Run the following doscommand to open "C: \ WINDOWS \ winsxs"
"CD \" (Press ENTER)
"CD \ windows \ winsxs" (Press ENTER)
- Change the file "pending. xml" to a name, for example:
"Ren pending. xml pending. XXX" (Press ENTER)
- Open the Registry through regeditProgram
- Search for entries that contain "Advanced installer need resolving" to delete
- Search for "pending. xml identifier" (which contains two rows) and delete it.
- Disable Registry Editor