I don't think writing better books will help. Every big bookstore I've been to has a whole section for Harry Potter and those aren't exactly literary masterworks. The real ticket is "get someone who has a big movie/tv studio to think they can make money off your books".