chocolateypackages
chocolateypackages copied to clipboard
Install dejavufonts for all users
Install-Fonts
function seems to choose per user directory (c:\user\<username>\appdata\local\microsoft\windows\fonts
) instead of (c:\windows\fonts
) since Windows 10 build 1809
The documentation, updated this month, suggests it's still in C:\Windows\Fonts, but also sounds like it's possible for it to change?
0x14 (20). Virtual folder that contains installed fonts. A typical path is C:\Windows\Fonts.
Let me experiment :)
Sorry it seems like you are right, and Install-Fonts
still copies into C:\Windows\Fonts
, I checked $target.Self
.
Now I wonder If it was Libreoffice which broke my fonts after choco upgrade all
Sorry, It lied to me) It still copies in wrong directory The problem Is likely because it asks me whether to replace it, and I say no Also I have UAC on highest setting (but running PowerShell as Admin)
@AnthonyMastrean Can you test with UAC on highest setting/when font is already installed (force install)?
Tested on my machine. UAC on highest setting. Running from Admin PowerShell. Installed dejavufonts. Then force installed again and tried both Yes and No when asked to replace. Nothing shows up in %LOCALAPPDATA%