I've installed mIRC several times and I never had any problems with it.
Looking at your problem I think Maestr0 hit the nail on the head. Your path is screwed up.