What you have there would not have actually accomplished this on any version of OS X. Software installers routinely place things in more directories than you could ever hope to account for. In no particular order, some of the things that can lead to the unprovoked execution of non-factory default code are:
Address Book Plug-Ins
Contextual Menu Items Plug-Ins
Kernel Extensions
Application Services
Input Managers
Internet Plug-Ins
LaunchAgents
LaunchDaemons
LoginPlugins
Preference Panes
QuickTime Plug-Ins
Startup Items
SyncServices Schemas
SystemConfiguration Plug-Ins
Widgets
cron jobs
Spotlight Importers
QuickLook Plug-Ins
Even if you manage to find them all, figuring out which ones can be blown away without any ill-effects is not something you can script very easily since accurate bundle identifiers are not mandatory. If you need to re-flash a machine to its out-of-the-box state then you’re better off either doing a reinstall or using one of the various drive imaging utilities which can automate the process for you.
Comments are closed