XAMPP not installing


I am trying to install XAMPP so that I can set up wordpress on my machine.

It gets almost to the end and I get this message:

"Windows cannot find '-n'. Make sure you've typed the name correctly, then try again."

I have just tried installing again and get the same message, plus another message (please see attachment).

Are you able to help please?