Index: packaging/pkg-jbossepp/src/main/resources/INSTALL.txt
===================================================================
--- packaging/pkg-jbossepp/src/main/resources/INSTALL.txt	(revision 73099)
+++ packaging/pkg-jbossepp/src/main/resources/INSTALL.txt	(working copy)
@@ -2,18 +2,36 @@
 
 This file will guide you through the installation process of the eXo Platform 3 for JBoss EPP-SP.
 
-
 *************
 Prerequisites
 *************
+
 - a JBoss EPP-SP server, that we will name $eppsp-home in this guide
 - a clean database, eXo Platform will attempt to modify the existing database if any
 
+*******************************************************
+How to quickly install eXo Platform 3 for JBoss EPPSP ?
+*******************************************************
 
-***************************************
-Extract the eXo Platform Addons package
-***************************************
+We provide a script to easily and quickly install eXo Platform 3 on an existing instance of JBoss EPPSP.
+The script works on any Linux/Cygwin terminal with bash.
 
+1/ open a terminal
+2/ cd eXoPlatform-for-eppsp-x.y.z/install
+3/ chmod +x install.sh
+4/ ./install.sh path-to-EPPSP-server [name-of-server-JbossEPPSP]
+** path-to-EPPSP-server: the path to the jboss-as directory
+** name-of-server-JbossEPPSP = default (by default)
+5/ read the instructions on the console to perform the 2 manual steps, and complete the installation
+
+If you prefer to perfom the installation manually, please read the following chapter.
+
+********************************************************
+How to manually install eXo Platform 3 for JBoss EPPSP ?
+********************************************************
+
+1/ Extract the eXo Platform for JBoss EPPSP package
+
 First, you should extract the file eXoPlatform-for-eppsp-x.y.z.zip on your computer. We will refer to the newly created folder with the $plf-home variable in this guide.
 
 You should get a structure as follows:
@@ -27,9 +45,7 @@
     * docs                  - the eXo Platform Addons documentations
           
           
-***********************
-Copy the Platform apps
-***********************
+2/ Copy the Platform apps
 
 Copy the content of $plf-home/addons/binaries into $eppsp-home/server/default/deploy.
 These files will be copied:
@@ -46,10 +62,7 @@
     * exo.platform.sample.default-website.ear  - the landing page with some general information
     * docs.war                                 - the webapp that contains the docs, to browse within JBoss
     
-    
-********************
-Configure the server
-********************
+3/ Configure the server
 
 To make the addons work, you need to configure a few things. First, copy the content of $plf-home/addons/conf/bin into $eppsp-home/bin:
     * run.conf
@@ -92,4 +105,3 @@
 http://localhost:8080/portal/
 
 
-
Index: packaging/pkg-jbossepp/src/main/resources/install/install.sh
===================================================================
--- packaging/pkg-jbossepp/src/main/resources/install/install.sh	(revision 0)
+++ packaging/pkg-jbossepp/src/main/resources/install/install.sh	(revision 0)
@@ -0,0 +1,98 @@
+#!/bin/bash
+#
+#Thank you for choosing eXo Platform 3 for JBoss EPP Site Publisher.
+#
+#This file will automate the installation process of the eXo Platform 3 for JBoss EPP-SP.
+#
+#**************
+# Prerequisites
+#**************
+#
+#- a JBoss EPP-SP server
+#- a zip file of eXoPlatform-3-for-EPPSP
+#
+#**************
+# The command
+#**************
+#
+# ./install.sh path-to-EPPSP-server [name-of-server-JbossEPPSP]
+#
+# You can find name-of-server-JbossEPPSP in jboss-as/server/name-of-server-JbossEPPSP
+# name-of-server-JbossEPPSP = default (by default)
+# path-to-EPPSP-server: the path to jboss-as directory
+#
+
+if [ $# -lt 1 ]
+then
+  echo "Usage: install.sh path-to-EPPSP-server [name-of-server-JbossEPPSP]"
+  exit 1
+fi
+
+# Extract the eXo Platform for JBoss EPPSP package and the JbossEPPSP server package
+#echo "Extracting the eXo Platform for JBoss EPPSP package..."
+#unzip -q $1 -d "eXoPlatform-for-eppsp"
+
+# Sets some variables
+nameserver=$2
+PathAddons="$PWD/.."
+
+cd $1
+PathServer=$PWD
+ 
+if [ "$nameserver" = "" ] ;
+then 
+nameserver=default
+fi
+
+if [ -d "$PathServer/server/$nameserver" ] ;
+     then
+     echo "Starting the install.sh script"
+     echo ""
+     # Copy the Platform apps
+     echo "* Copying the eXo Platform applications..."
+     echo ""
+     cp $PathAddons/addons/binaries/*.ear $PathServer/server/$nameserver/deploy 
+     cp $PathAddons/demos/binaries/*.ear $PathServer/server/$nameserver/deploy 
+     cp $PathAddons/demos/binaries/*.war $PathServer/server/$nameserver/deploy 
+
+     #Configure the server
+     echo "* Copying the eXo Platform configuration..."
+     echo ""
+     cp $PathAddons/addons/conf/*.pem $PathServer/bin
+     rm -f $PathServer/bin/run.conf
+     rm -f $PathServer/bin/run.conf.bat
+     cp $PathAddons/addons/conf/run.conf $PathServer/bin
+     cp $PathAddons/addons/conf/run.conf.bat $PathServer/bin
+     rm -f $PathServer/server/$nameserver/conf/gatein/configuration.xml
+     cp $PathAddons/addons/conf/configuration.xml $PathServer/server/$nameserver/conf/gatein
+     echo "* Info: Now you have to add the last part (Other and Chat Server) of the configuration file $PathAddons/addons/conf/configuration.properties
+into your existing configuration.properties file: $PathServer/server/$nameserver/conf/gatein/configuration.properties"
+     echo "* For your information, we display the end of eXo's configuration example:"
+     echo "--BEGIN"
+     tail -30 $PathAddons/addons/conf/configuration.properties
+     echo "--END"
+     echo ""
+     echo "* Info: Finally, activate the SSO in $PathServer/server/$nameserver/deploy/jbossweb.sar/server.xml
+Simply uncomment the block <Valve className="org.apache.catalina.authenticator.SingleSignOn" />"
+     echo "* For your information, we display the diff between these two files below (your file <> eXo's file):"
+     echo "--BEGIN"
+     diff -rcs $PathServer/server/$nameserver/deploy/jbossweb.sar/server.xml $PathAddons/addons/conf/server.xml
+     echo "--END"
+     echo ""
+     echo "Stopping the install.sh script"
+     echo "Thank you for using eXo Platform. You are now ready to start your JBoss server with the usual command line."
+  else 
+     echo "Warning: Name Server Error or path-to-EPPSP-server error. Please relaunch the script with the correct values"
+     rm -rf $PathAddons
+     exit 1
+  fi
+
+
+#************************
+#Start using eXo Platform
+#************************
+#
+#You are now ready to start your JBoss server with the usual command line. Once started, you can access the demos via this url:
+# http://localhost:8080/portal/
+
+
