Desktop update fails, wants network

Trying to update desktop version from to and get error “could not access network location .” Obviously not using a network. I have updated many times before. I tried to update to a different folder, but that had no effect. Any help appreciated.
Windows 11 Pro.

Where was your “Application data file” location in the past.

Update. After much toing and froing I came to the conclusion that the problem was a carry over from trying to remove Onedirve from my system. In the end I did a reinstallation of windows using a new (to me at least) process whereby windows is reinstalled without loss of data or programs. It solved the problem!