You need to remove the endgate cover and mark the location of the endgate window latch to ensure proper alignment at installation. Then you need to disconnect the electrical connectors, as needed, and you also need to remove the nuts that retain the endgate window latch to the endgate window latch support. Finally, you can remove the endgate window latch from the endgate.