Question: how to fix an error occurred while attempting to create the directory?
Answer: Click Virus & threat protection. Click Virus & threat protection settings. Scroll down to Controlled folder access and temporarily switch to the OFF position. Try the installation again.