Easy way to make an Installation Profile
AFAIK, there's no one module that does all that perfectly. But depending on what your site is made of, there are a few modules that can come pretty close. Profiler Builder is probably the closest thing to what your looking for.


  It builds the .info, .profile, .install, .make, and .make.example files
  necessary to turn a site into a distribution / installation profile
  and tar's them up as a download.


The Features module can also be very useful as it allows you to package together subsets of functionalities (e.g. modules and settings for an image gallery).