All you need is to be an elf and one level of wizard. And BAB and Feats.
I think the easiest road would be to level as a fighter until you have the feats and BAB that are required. Then take one level of wizard (which is favored class for elf so no xp penalties). Then take Arcane Archer.
__________________
Beware the fritters and the fish!
I lvled mine up as a rogue 1st. 9 or 10 lvls of rogue, then a lvl of sorcerer, then the arcane archer. This way, I do TONS of dmg from afar. By tons, I mean I hit sneak attacks with my bow. It's SICK.