diff --git a/htdocs/install/default.css b/htdocs/install/default.css
index 7ff6bbe39655bb2116c0dacd8d14bd63db312ae4..6801eee4bcf0d0e002430330cdcd2f6e3ea3b56d 100644
--- a/htdocs/install/default.css
+++ b/htdocs/install/default.css
@@ -86,6 +86,11 @@ color: #000000;
 border: 1px solid #888888 !important;
 }
 
+.blinkwait {
+	font-weight: bold;
+	text-decoration:blink !important;	
+}
+
 .installchoices table tr td  {
 margin-left: 2px;
 margin-right: 2px;
diff --git a/htdocs/install/etape2.php b/htdocs/install/etape2.php
index 8425b436edcd4417eeeea7114a81bb8c1fe904c4..7501e3cf066736540d458973610713014706600f 100644
--- a/htdocs/install/etape2.php
+++ b/htdocs/install/etape2.php
@@ -125,11 +125,12 @@ if ($action == "set")
 
     $requestnb=0;
 
-    // To disable some code
-    $createtables=1;
-    $createkeys=1;
-    $createfunctions=1;
-    $createdata=1;
+    // To disable some code, so you can call step2 with url like
+    // http://localhost/dolibarrnew/install/etape2.php?action=set&createtables=0&createkeys=0&createfunctions=0&createdata=llx_20_c_departements
+    $createtables=isset($_GET['createtables'])?GETPOST('createtables'):1;
+    $createkeys=isset($_GET['createkeys'])?GETPOST('createkeys'):1;
+    $createfunctions=isset($_GET['createfunctions'])?GETPOST('createfunction'):1;
+    $createdata=isset($_GET['createdata'])?GETPOST('createdata'):1;
 
 
     // To say sql requests are escaped for mysql so we need to unescape them
@@ -497,8 +498,12 @@ if ($action == "set")
             {
                 if (preg_match('/\.sql$/i',$file) && preg_match('/^llx_/i',$file))
                 {
-                    $tablefound++;
-                    $tabledata[]=$file;
+                    //print 'x'.$file.'-'.$createdata.'<br>';
+                    if (is_numeric($createdata) || preg_match('/'.preg_quote($createdata).'/i',$file))
+                    {
+                        $tablefound++;
+                        $tabledata[]=$file;
+                    }
                 }
             }
             closedir($handle);
@@ -539,7 +544,7 @@ if ($action == "set")
                 }
                 fclose($fp);
 
-                dolibarr_install_syslog("Found ".$linefound." records, defined ".count($arrayofrequests)." groups.",LOG_DEBUG);
+                dolibarr_install_syslog("Found ".$linefound." records, defined ".count($arrayofrequests)." group(s).",LOG_DEBUG);
 
                 // We loop on each requests
                 foreach($arrayofrequests as $buffer)
@@ -585,11 +590,15 @@ if ($action == "set")
         }
     }
     print '</table>';
-
-    $db->close();
+}
+else
+{
+    print 'Parameter action=set not defined';
 }
 
 dolibarr_install_syslog("--- install/etape2.php end", LOG_INFO);
 
 pFooter(!$ok,$setuplang);
+
+$db->close();
 ?>
\ No newline at end of file
diff --git a/htdocs/install/inc.php b/htdocs/install/inc.php
index f4ebaaf17a953ed8dc4e4531433cd9182b92eb61..dddff4a12989db29a44541c00e0e362f15f467f3 100644
--- a/htdocs/install/inc.php
+++ b/htdocs/install/inc.php
@@ -370,7 +370,7 @@ function pFooter($nonext=0,$setuplang='',$jscheckfunction='')
         print '<div class="nextbutton" id="nextbutton"><input type="submit" value="'.$langs->trans("NextStep").' ->"';
         if ($jscheckfunction) print ' onClick="return '.$jscheckfunction.'();"';
         print '></div>';
-        print '<div style="visibility: hidden;" class="pleasewait" id="pleasewait"><br><blink>'.$langs->trans("NextStepMightLastALongTime").'</blink><br><br>'.$langs->trans("PleaseBePatient").'</div>';
+        print '<div style="visibility: hidden;" class="pleasewait" id="pleasewait"><br>'.$langs->trans("NextStepMightLastALongTime").'<br><br><div class="blinkwait">'.$langs->trans("PleaseBePatient").'</div></div>';
     }
     if ($setuplang)
     {