Protect trim finish during installation
Most nail guns come with rubber bumpers or you can get them from the manufacturer. You can also use a piece of cardboard over the trim and move it along as you go.