What are some tips for installing a roof cap?
As Shirlock says, cut the duct off of the cap, install the cap, and reattach the duct using a 6" scrap piece of metal ducting. Tape any joints with the HVAC foil tape.

Another alternative, remove a bunch of shingles, install the cap and flashing straight in, and then install some new shingles over the flashing.