I was following the tip put up by Red Gate here
to reinstall a database.
However the presql script is NOT run if the supplied database name already exists. My plan was was to use presql to backup and drop any exisiting DB. Frustratingly presql seems incapable of doing this.
So any ideas? I really don't have to add yet another script to the installer