Jump to content

Winapp.ini FileKey REMOVESELF Option bug


capdav

Recommended Posts

I think this bug has been talked about in various forms. However now I am seeing it with my custom application settings with the REMOVESELF option. Only files in the directory tree are removed, NOT the folders. Having a look in FileMon (Sysinternals) may give some clues. It may be that in your recurse code that you have logic and have a file lock on the directory causing it to have the "CANNOT DELETE" error. Any ideas?

 

 

8:14:31 AM	CCleaner.exe:2616	DIRECTORY	C:\Documents and Settings\ezhang\Start Menu\Programs\	NO MORE FILES	FileBothDirectoryInformation	8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\Start Menu\Programs\	SUCCESS		8:14:31 AM	CCleaner.exe:2616	OPEN	C:\Documents and Settings\ezhang\Start Menu\Programs	SUCCESS	Options: Open Directory  Access: All	8:14:31 AM	CCleaner.exe:2616	QUERY INFORMATION	C:\Documents and Settings\ezhang\Start Menu\Programs	SUCCESS	FileAttributeTagInformation	8:14:31 AM	CCleaner.exe:2616	DELETE 	C:\Documents and Settings\ezhang\Start Menu\Programs	CANNOT DELETE		8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\Start Menu\Programs	SUCCESS		8:14:31 AM	CCleaner.exe:2616	DIRECTORY	C:\Documents and Settings\ezhang\Start Menu\	NO MORE FILES	FileBothDirectoryInformation	8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\Start Menu\	SUCCESS		8:14:31 AM	CCleaner.exe:2616	OPEN	C:\Documents and Settings\ezhang\Start Menu	SUCCESS	Options: Open Directory  Access: All	8:14:31 AM	CCleaner.exe:2616	QUERY INFORMATION	C:\Documents and Settings\ezhang\Start Menu	SUCCESS	FileAttributeTagInformation	8:14:31 AM	CCleaner.exe:2616	DELETE 	C:\Documents and Settings\ezhang\Start Menu	CANNOT DELETE		8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\Start Menu	SUCCESS		8:14:31 AM	CCleaner.exe:2616	DIRECTORY	C:\Documents and Settings\ezhang\	NO MORE FILES	FileBothDirectoryInformation	8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\	SUCCESS		8:14:31 AM	CCleaner.exe:2616	OPEN	C:\Documents and Settings\ezhang	SUCCESS	Options: Open Directory  Access: All	8:14:31 AM	CCleaner.exe:2616	QUERY INFORMATION	C:\Documents and Settings\ezhang	SUCCESS	FileAttributeTagInformation	8:14:31 AM	CCleaner.exe:2616	DELETE 	C:\Documents and Settings\ezhang	NOT EMPTY		8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang	SUCCESS		

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.