Could you send a screenshot of the error, and the installer_log, located in the user tempdir? Usually
C:\Users\your_username\AppData\Local\Temp\2\bitrock_installer_XXX. On which Windows version are you installing it, and which XAMPP version are you trying to install?
Please, click on if you think my answer was helpful