Guys,

Thanks for all you replies. Gargoyle your script works awesome but i am stuck at one more hump. I need to check for this file %systemroot%\system32\LLSSRV.EXE before installing office. If this file exists then exit the install and if it is not present then check for the off07.txt file and then continue the install.

Thanks for all the help