Legal or not, you can't install it twice. What you have to do is to copy the previous installation to another place, and then run a proggie called MultiSH3 to make it fully functional. See MultiSH3 instructions for details. Many here have done it and none of us has got sued yet, so I guess it's pretty legal