Archive: Installing a font...


Installing a font...
Trying to install fonts with my setup file.

The software is installed in user mode but by an administrator using "Run As.."
The platform is XP Professional...

The font code looks like this...

SetOutPath $FONTS
File "Internal Fonts\LiberationSans-Bold.ttf"
AccessControl::GrantOnFile "LiberationSans-Bold.ttf" "(S-1-1-0)" "FullAccess"
AccessControl::SetFileOwner "LiberationSans-Bold.ttf" "(S-1-1-0)" "FullAccess"

System::Call "GDI32::AddFontResourceA(t) i ('LiberationSans-Bold.ttf') .s"
Pop $0

SendMessage ${HWND_BROADCAST} ${WM_FONTCHANGE} 0 0


But the fonts do not appear in the c:\windows\fonts\ directory ???

When I login as administrator and install it works fine.

I tried rebooting the system and still the user cannot see the fonts.

Please help .

Regards
Blue.


Advanced Font Installation