I have successfully reinstalled Medieval 2 and am now attempting to reinstall Kingdoms, but as soon as I click to install I get the following error message 'Cannot write licence information'.

I have had this problem before, and solved it but I cannot for the life of me remeber how I did it, so hopefully someone else can save me some time. Thanks in advance.