When our app is uninstalled and then reinstalled without a reboot between, then files that were locked during the uninstallation are removed on the next reboot due entries in the PendingFileRenameOperations registry value.
I'd like to find a way to have our installer remove any pending operations from the previous uninstall. It doesn't seem that just deleting the registry value would be a good idea since I could remove entries created by other applications.
A possible solution would be to read PendingFileRenameOperations before and after the uninstall and then store the results of a diff in a file that could be read during install so that any remaining entries could be removed. However, I am scared to try this because I have read posts in this forum about editing this registry value causing systems to become unbootable. Don't think our customers would appreciate that.
Is there an easy way around this?
Oh and we are using Installshield Pro 11
Edited by ccortner, 08 May 2009 - 17:08.