They are completely different.
A "premise" is part of a chain of logic. "On the premise that X" means "If X is true." "On the premise that any exposure to my target language will help me learn it, I have set my computer's language to Portuguese."
A "pretext" is a kind of lie. If someone says they are doing something for good reason X, but they are really doing it for bad reason Y, then X is a pretext. For example, "The child told his parent that he had a headache, but he didn't really have one. It was just a pretext for staying home from school."