在Vista中安装TTF字体 [英] TTF Font Installation in Vista

查看:145
本文介绍了在Vista中安装TTF字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试使我的字体安装程序Vista兼容.如http://msdn2.microsoft.com/en-us/library/ms533960.aspx中所述,无法再安装TTF文件.
复制到windows \ fonts目录以拒绝访问"结束;错误.有人可以给我提示如何在Vista中永久安装字体吗?

谢谢
Michael

解决方案

您需要被提升为做到这一点;如果您是手动执行此操作,请以管理员身份运行cmd提示符,然后尝试.如果您是通过程序执行此操作,则可以将字体安装移动到安装程序中-假定以提升的方式运行-或将功能从主应用程序exe分离到用requireAdministrator表示的内容中.


Hello all,

I'm trying to make my Font Installtion Program Vista compatible. Installation of a TTF file doesn't work anymore as described in http://msdn2.microsoft.com/en-us/library/ms533960.aspx.
Copying to the windows\fonts directory ends in a "Access denied" error. Can anybody give me a hint how to install a font permanently in vista.

Thanks
Michael

解决方案

You'll need to be elevated to do that; if you're doing this manually, run a cmd prompt as administrator and then try.  If you're doing this from a program, you can move the font installation into the installer - assuming that runs elevated - or separate the functionality from the main app exe into something manifested with requireAdministrator.


这篇关于在Vista中安装TTF字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆