unable to pass value to user prompt from calling shell script

view full story

http://www.unix.com – This is my script structure main script calls configure script which needs to be run as a different user and the configure script calls my application installation script. the application instruction script prompts the user for a directory which I need to pass from my main or configure script. main script { su - user1 -c "exec "configure.sh"" } configure script { echo -e /u0x/tmp2/ | sudo ./INSTALL -silent } where install script prompts the user to enter a path which is what i am passing as /u0x/tmp2. The problem I am facing is that the install script is not accepting th (HowTos)