--- install.php	2009-04-27 16:19:34.000000000 -0400
+++ installNew.php	2009-05-07 15:05:28.000000000 -0400
@@ -92,7 +92,10 @@ function install_main() {
   }
 
   // Decide which profile to use.
-  if (!empty($_GET['profile'])) {
+  if (!empty($conf['install_profile']) ) {
+    $profile = preg_replace('/[^a-zA-Z_0-9]/', '', $conf['install_profile']);
+  }
+  elseif (!empty($_GET['profile']) ) {
     $profile = preg_replace('/[^a-zA-Z_0-9]/', '', $_GET['profile']);
   }
   elseif ($profile = install_select_profile()) {
