Thanks for this work. I've got a few suggestions:
(1) The asterisk-syntax is not totally consistent. See these entries:
[*FAR Manager 1.7]
[*FAR Manager 1.8]
[*FAR Manager 2.0]
[File Shredder]
[HandBrake (Crash Log)]
[NVIDIA (Play On My TV)]
[NVIDIA (Startup)]
Can they all be changed to have an asterisk suffix, so as to be consistent with the rest of the entries?
(2) The NVIDIA "Play On My TV" registry keys seem to be a bit off on Windows 7, with the newest NVIDIA ForceWare driver package installed (260.89). This is what it should be, for this system:
[NVIDIA (Play On My TV)]
; Removes the NVIDIA "Play On My TV" shell extension for .AVI, .MPG, .MPEG, and .WMV
; video files. The shell extension isn't necessary if you don't output to a TV!
LangSecRef=3023
Detect=HKLM\Software\NVIDIA Corporation
Default=False
RegKey1=HKCR\AVIFile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey2=HKCR\mpegfile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey3=HKCR\WMVFile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey4=HKLM\SOFTWARE\Classes\AVIFile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey5=HKLM\SOFTWARE\Classes\mpegfile\shellex\ContextMenuHandlers\NvPlayOnMyTV
RegKey6=HKLM\SOFTWARE\Classes\WMVFile\shellex\ContextMenuHandlers\NvPlayOnMyTV
The only change is that all instances of "PlayOnMyTV" become "NvPlayOnMyTV". I'm not sure if the former key name is found on other systems with older ForceWare drivers or not, as I have not done further investigation.
(3) The Flash 10 entry deletes the settings.sol file, which contains the settings you may have customized using the Flash Player Settings Manager. Even if we want all temp/history files deleted, we probably want to keep this settings.sol file.
The offending line is "FileKey1" in:
[Flash 10*]
LangSecRef=3023
DetectFile=%windir%\system32\Macromed\flash\flashplayer.xpt
Default=False
FileKey1=%appdata%\macromedia\flash player\macromedia.com\support\flashplayer\sys|*.*|REMOVESELF|
FileKey2=%appdata%\macromedia\flash player\#sharedobjects\|*.*|RECURSE|REMOVESELF|
since the settings.sol file resides in "%appdata%\macromedia\flash player\macromedia.com\support\flashplayer\sys", and the above line nukes every file therein.
A couple years ago, while using an older version of Flash, I noted that every other item in the above directory, besides for settings.sol, began with a "#". I therefore modified my own winapp2.ini to contain the following line:
FileKey1=%appdata%\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys|#*|RECURSE
Assuming that Flash 10 behaves in the same way (which is likely), then the above line might successfully remove everything from "%appdata%\macromedia\flash player\macromedia.com\support\flashplayer\sys" while leaving settings.sol intact. I will try to experiment with this and confirm that it is true.
Alternatively, one can just add "%appdata%\macromedia\flash player\macromedia.com\support\flashplayer\sys\settings.sol" to their Exclude list.