As someone that really loves ranged combat in general, your choices basically start with you asking yourself if you want Improved Precise Shot, because this feat requires Dexterity 19, and this means heavy dex investment, or some tomes. IPS is a huge game changer for all ranged characters, but writing it off the table from the start allow you to focus more on other stats and start (and end) with dex 13 for the other ranged feats.
After that, you also have to decide if you will go for
Combat Archery (usually by this level you WILL be dex-focused if not on a TR2+ life) or not. Just like IPS, Combat Archery requires a huge dex value (21), but is less of a game changer. It is a decent damage boost (+1[W] on all ranged weapons), but by no means absolutely mandatory.
And after that, you have the class limitations to work within: If you are using a bow, you have the option to go Monk 6 for
10k Stars (And that will requires a huge Wis investiment). If you are using a crossbow, you have the option to go Artificer 2 for Runearm proficiency (And lose your capstone, if not going pure artificer). And then, the options for going variable levels of ranger for free feats (1: Bow Strength, 2: Rapid Fire/TWF, 4: Precise Shot, 6: Manyshot/ITWF, 11: IPS/GTWF). Up to level 6, this is more free feats than splashing Fighter, but then, going 11 levels allow you to get IPS without Dex 19 (which is great if you go to the 10k stars route).
Rogue Mechanic got a large boost for crossbows as well, but I have not played with them enough to know how they affect the ranged builds on a splash yet.
Easy and safe route is either pure ranger or pure artificer. They are not hard to build, have enough free feats to be able to add some flavor (like a dragonmark or casting feats), and are very powerful at heroic levels. Pure rangers can be of any race, or elf if you want to do damage with Dex instead of Str. Artificers shine as Warforgeds because of self-repair and plenty of buffs that only work on constructs, but with Scroll Mastery and Scroll Knowledge, you will be throwing 260 HP Heal scrolls (before heal amp), and that is enough to keep a flesh-bound artificer alive if you are not playing exclusively Epic Elite.