Index: profiles/default/default.profile
===================================================================
RCS file: /cvs/drupal/drupal/profiles/default/default.profile,v
retrieving revision 1.2
diff -u -r1.2 default.profile
--- profiles/default/default.profile	29 Oct 2006 13:17:38 -0000	1.2
+++ profiles/default/default.profile	27 Dec 2006 02:44:17 -0000
@@ -12,7 +12,10 @@
 }
 
 /**
- * Return a description of the profile.
+ * Return a description of the profile for the initial installation screen.
+ *
+ * @return
+ *   An array with keys 'name' and 'description' describing this profile.
  */
 function default_profile_details() {
   return array(
@@ -20,3 +23,20 @@
     'description' => 'Select this profile to enable some basic Drupal functionality and the default theme.'
   );
 }
+
+/**
+ * Perform any final installation tasks for this profile.
+ *
+ * @return
+ *   An optional HTML string to display to the user on the final installation
+ *   screen.
+ */
+function default_profile_final() {
+  // Default page to not be promoted and have comments disabled.
+  $type = node_get_types('type', 'page');
+  $form_values = array(
+    'node_options' => array('status' => 1, 'promote' => 0),
+    'comment' => COMMENT_NODE_DISABLED,
+  );
+  drupal_execute('node_type_form', $form_values, $type);
+}
\ No newline at end of file
Index: install.php
===================================================================
RCS file: /cvs/drupal/drupal/install.php,v
retrieving revision 1.30
diff -u -r1.30 install.php
--- install.php	17 Dec 2006 06:51:47 -0000	1.30
+++ install.php	27 Dec 2006 02:44:17 -0000
@@ -538,7 +538,10 @@
   $function = $profile .'_profile_final';
   if (function_exists($function)) {
     // More steps required
-    $output .= $function();
+    $profile_message = $function();
+  }
+  if (isset($profile_message)) {
+    $output .= $profile_message;
   }
   else {
     // No more steps
