The first unit is now installed in my X and it appears to work well. Now I need to play with it (the window module) for a while.

3 of the 4 wires connect to the power window relay wires. The power window relay is hidden behind the driver's kick panel. The 4th wire gets grounded to one of the bolts that secures the hood release handle.

Now I need to rant about the Xterra wiring. It is the skimpiest I've ever seen. The green/white wire to the power window relay is only 22 gauge . The circuit is fused for 10 amps! I'd be shot if I called out 22 gauge wire on a 10 amp circuit at work. There should be burned up Xterras everywhere but there isn't. I don't know why.

End of rant.