Pakistan posted a challenging score of 266, courtesy three half-centuries from Majid Khan, Zaheer Abbas and Wasim Raja.
In reply, the West Indies slipped to 99 for five, with Roy Fredericks, Gordon Greenidge, Alvin Kallicharran, Vivian Richards and Rohan Kanhai back in the pavilion.
Pakistan pacer Sarfaraz Nawaz (4/44) exploited the moisture to the full to create havoc in the West Indies batting line up. The great Javed Miandad, making his ODI debut, bowled his slow spin to get rid of the rival skipper Clive Lloyd.
At 203 for nine in the 46th over, it seemed all was over for the Caribbean outfit. But the last-wicket pair of wicketkeeper Deryck Murray and pacer Andy Roberts added 64 runs to put the West Indies in the semifinal with two balls to spare and send Pakistan packing.
However, to everybody's surprise, Murray's cool and unbeaten 61 in the most trying of circumstances failed to earn him the Man of the Match award, with the honour going to Sarfaraz.
It is said the adjudicator of the award Tom Graveney had left the field before the match ended and thus missed Murray's batting.