I managed to find an old XP SP2 CD and installed it. It took some time but I tracked down the issue to a critical
manifest file parsing issue in XP SP2. Unfortunately the solutions described in that article do not resolve the issue. As this only happens with an old version of Windows that no one should be using anymore, I am not sure spending any more time on it makes sense.