Police were searching Sunday for a man wanted in a shooting and attempted armed robbery outside the Honey Baked Ham Company in Cary.