Thank you for the response. This printer is supported on Windows 8.1, as indicated here: http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-108722-2&cc=us&dlc=en&lc=en&os=4158&product=5271613&sw_lang=
What loop is occurring when installing the software? If you can provide screenshots of the loop, or any error messages/code, that would be appreciated.
In all honestly, newer printers would have a better chance of working. Personally, I could suggest the Envy 4500 and 5530. I have attempted to install these printers on 8.1, and I witnessed no issues. However, the Photosmart 6525 is compatible with Windows 8.1. More troubleshooting may have to be attempted, before the issue is resolved.
Mario