Yes i had selected the boot from DVD option. when it hangs, i used to wait for 30 mins, after that i shut it down forcefully (manually).
Setup continues when i manually restart it and then the whole setup installs the windows but when i shutdown the pc it hangs at "SHUTTING DOWN WINDOWS"...