Thanks for the reply.
Before taking your answer, I took the issue to see why it can't write the information in that directory \ ProgramData \ Affinity. All Affinity programs were uninstalled and the laptop was reset. The first time I tried to see if the director had permission to change. Everything was perfect. There were also directors from Publisher and Photo who stayed there. I had the 90-day trial options. I came to the conclusion that it must be deleted in order to create a new Design director. I couldn't erase it. I used a small free program for forced deletion. I reset and the installation and activation went perfectly.