Problem with CS5 / Flex 4.5 : Installer has detected that a machine restart is pending (solved!)
Few days ago , Flex 4.5 Burrito and SDK Hero was again available for download so I went and downloaded the whole half a gig enchilada. After running the installer there was a warning : installer has detected that system restart was pending but that could be ingnored so I went on fit the install.
Install failed miserably about the time it tried to install some microsoft libraries. Oh joy. Well , at least ALL it’s needed was a machine restart, and all would be jolly good right ?. Or so I naively thought. I couldn’t be more wrong.
No joy. The same error message. The same install fail
After unsucesfull googling and restarting couple of times I gave up and went to bed as it was well after my usual bedtime (1 am)..
Evening of day two…
More googling. Finding out many more people have the exactly the sameproblem with other CS5 installers , but none of them had actually any luck in resolving the issue (or bothered to write about it).
Official Adobe solution to this problem is :
a. Choose Start, type regedit in the Search box, and press Enter.
b. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
c. Delete the InProgress key
as stated at : http://kb2.adobe.com/cps/828/cpsid_82829.html
Now that would be awesome, if there was actually any “InProgress” key in my registry. If you read comments, that was mostly the case with most users so this advice was pretty useless.
OK. to make a long story short, I did find somebody suggesting to erase : “PendingFileRenameOperations” from registry from a certain location.
I did not find any keys in that particular location, but searching troughout the entire registry for “PendingFileRenameOperations” revealed couple of instances.
I deleted them all and voilà ! the installer ran like a charm!
So if you have the same problem with the CS5 installer, try it, might help you as well.
Word of caution . Make sure your registry key has a NAME that matches “PendingFileRenameOperations” as there might be some keys that have this string as a data/value.
in my case it was : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\KeysNotToRestore” key which value/data contained string “PendingFileRenameOperations” .
Do not delete those