How do I install a new shower valve?

Installing a new shower valve is a relatively easy task that requires some basic plumbing skills and tools. Here are the steps to follow: