/build/static/layout/Breadcrumb_cap_w.png

Pending file rename option...!!!!

can anyone please advice me on using the pending file rename option to delete files which do not get removed on uninstallation....????

0 Comments   [ + ] Show comments

Answers (1)

Posted by: AngelD 17 years ago
Red Belt
0
Are you talking about removing inuse files?
Is this an legacy or MSI setup?
Files which was created by the application instead of the MSI package will not get removed and the RemoveFile table must be used in such case.

Here is some info I got on the PendingFileRenameOperations:
There are several applications, such as service packs and hotfixes, that must replace a
file that's in use and is unable to. Windows therefore provides the MoveFileEx API to
rename or delete a file and allows the caller to specify that they want the operation
to take place the next time the system boots, before the files are referenced.
Session Manager performs this task by reading the registered rename and delete
commands from the
HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
value.

Links regarding PendingFileRenameOperations:
MoveFileEx
PRB: Troubleshooting MoveFileEx() MOVEFILE_DELAY_UNTIL_REBOOT
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ