That depends on the design of the engine. The Pathfinder VG uses the water pump body as a seal for the timing belt chamber so the water pump can only be taken off if you remove the timing belt. I have done this job and there's nothing to it. All you do is basically drain the coolant, remove the fan and shroud, remove the hoses, remove the balancer, and remove the timing belt cover. Before doing that though, don't forget to position the engine at intake TDC and not exhaust TDC. The rotor under the cap should point to spark plug 1. Then you can go ahead and loosen the tensioner and pop the timing belt off. Loosen the water pump bolts and remove the old water pump with your big hammer. Rub some sealant on the new water pump gasket and pop it back on. Be sure to put the timing belt on the right way with the proper tooth count between the sprockets. All the torque specs are in the FSM. When you put everything back together, just refill the coolant. Don't worry about opening the thermostat since this engine does not need to have its thermostat open to be refilled with coolant. The coolant will fill the engine through the return line in the intake manifold.
If you got any questions there's plenty of write ups here and don't hesitate to shoot me a message.