Installers on OS X have a manifest of files they install. I'd be surprised if MSI didn't do the same, but I guess not everyone uses MSI. On OS X most apps still leave prefs or other files around too so it's not perfect, but it's something. Tools like AppTrap can help clean up cruft when you delete apps.