When removing components, use the trim tools or equivalent.
Apply protective tape (A) to the body. Using a trim tool, pry up on the roof molding (B).
Pull up and slide the roof molding to release the front bracket (C) from the pin (D), then remove the roof molding from under the windshield molding (E).
Pull up the front portion of the roof molding (A).
Pull up and release the rear bracket (A) from the pin (B), then remove the roof molding (C).
Install the molding in the reverse order of removal, and note these items: