The answer is to be found (somewhat cryptically) in KB article Q196484. Installing web publishing manually seemed to solve the problem.