Setup of an app hangs only after avast scan

Upon Avast scanning my setup.exe file (an installation file made using setup factory) and finishing the process, a busy pointer consistently appears whenever I attempt to execute setup.exe.

I have attempted to resolve the problem terminating the setup process, but these measures have proven unsuccessful.

The only way to have setup.exe running is to reboot my PC.

(I am using windows 10, avast 23.7.6074 (build 23.7.8348.789) )

Do you have any suggestions or ideas regarding this matter?

Maybe you should add his folder to the exceptions? Or add it to the list of allowed applications.

This is not an option because I am the developer of the product and I can’t require from my customers to add an exception!