chocolateypackages icon indicating copy to clipboard operation
chocolateypackages copied to clipboard

Install dejavufonts for all users

Open nazar554 opened this issue 6 years ago • 5 comments

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

nazar554 avatar Dec 21 '18 13:12 nazar554

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 :)

AnthonyMastrean avatar Dec 21 '18 17:12 AnthonyMastrean

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

nazar554 avatar Dec 21 '18 18:12 nazar554

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)

nazar554 avatar Dec 21 '18 18:12 nazar554

@AnthonyMastrean Can you test with UAC on highest setting/when font is already installed (force install)?

nazar554 avatar Dec 27 '18 18:12 nazar554

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%

AnthonyMastrean avatar Jan 12 '19 02:01 AnthonyMastrean