
After a while, it did not happen every single other time. However it aborted on the average once every two runs. This was very strange. I needed a version of Visual Studio with Installshield anyway. To solve this, I decided to install Visual Studio 2010 Professional. It looks like the linker problem has gone away.
What the heck was that all about? I don't know. If it happpens again, I will have to consult Microsoft support.