There is another thread that talks about where user files are created.
The short version is that if 5.2 is the first version you install on a computer %localappdata% is used. If older versions of Gramps have been installed %appdata% will still be used for 5.2