Presuming wizard 18 / rogue or Artificer 2, you're looking at something like:
- 41 APs Inquisitive for capstone + tier-5s
- 12 APs Harper Agent for Know the Angles and Strategic Combat (INT to damage)
- 13 APs Eldritch Knight to unlock bonus Imbue dice (+5 at wiz 18), Arcane Barrier, and ASF reduction
- 8 APs Battle Engineer or Assassin for Ranged Power Boost
- 6 APs Pale Master for undead form
80 APs total. Bonus racial APs can go for more INT etc.
Stats: max INT, DEX 17 w/tome for Combat Archery, remaining points into CON or whatever. I would skip Improved Precise Shot: due to BAB pre-reqs, you won't get it until epic levels anyway, at which point you're unlocked Shiradi and...well, you're a wizard. You need an AoE DPS option, cast a spell.
Ranged feats: Rapid Reload (free for Artificers), Point Blank Shot, Precise Shot, Precision, Improved Critical, Overwhelming Critical, Combat Archery. Caster feats: the usual metamagics, Spell Focus, etc.