Problem installing latest version of Audacity

I tried to install the latest version of Audacity (3.2.4) under Windows 10 (64-bit), but got the error below (see screen shot).

It would seem to be a permissions problem, but I can open File Explorer, navigate to C:\Users\david\AppData\Local\Temp, and create a sub-directory manually, so why can’t the install procedure do the same?

I’ve been using Audacity for about 20 years now, and have updated it many times (I was trying to upgrade from v3.2.1, which was working fine), but never encountered this issue before. Any idea what the problem might be?
Audacity.png

EDIT: I mean “C:\Users\user\AppData\Local\Temp”

Are you logged in as “david”?

No, that was a mistake (I was thinking of my account on another computer). I was logged in as ‘user’.

I think that normally you should be prompted to grant permission to the installer. Did that happen?
Where did you obtain Audacity from?

If you mean “Do you want to allow this app to make changes to your device”, then yes, I gave permission (if I hadn’t, the installer would have simply exited without doing anything).

I obtained it from here:

https://www.audacityteam.org/download/windows/

Strangely enough, I tried installing it again and this time it worked. At least, it seems to be working so far.

Maybe you weren’t actually logged in as “user”?

Yes, I actually was logged in as ‘user’. If I wasn’t logged in as ‘user’, why would the installer be writing to the ‘user’ directory (see screen print)? That doesn’t make any sense at all.