I managed to beat it with nicotine gum - I smoked for 20 years, and have now been smoke free for a little over a year. The first couple of weeks are the toughest, and I found that being able to grab a piece of nicotine gum whenever I wanted one helped a hell of a lot.
Good luck with your quit smoking quest

Don't get disappointed if you sneak the occasional smoke, just keep up the mantra "today I am not gonna smoke!"