I need to package few font files. ".PFM"

I created a base msi and added files to c:\windows\fonts directory.

Then in the font table under File_ column selected 6 font files. Do i need to add anything else? Registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" Or fonts table will create those keys?

I am getting 1907 could not register a font.

Thank you.


0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1

you will need to add the keys

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"fontname (TrueType)"="filename.ttf"

You would need to reboot to see the fonts.

Answered 11/13/2012 by: SMal.tmcc
Red Belt

  • http://blogs.technet.com/b/rspitz/archive/2010/09/25/how-to-install-a-font-from-the-command-line-on-windows-7.aspx
Please log in to comment

Answers

0

the problem is i do not see anything in the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts

I see an entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Type 1 Installer\Type 1 Fonts

And when i try to add it to my msi i do not see it in the registry after i install an msi.

Answered 11/13/2012 by: ogeccut
Black Belt

  • what os version?
Please log in to comment
0

Win7 x64

Answered 11/14/2012 by: ogeccut
Black Belt

  • they need to be added to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Fonts for x64
Please log in to comment
0

I added registry to Type 1 Fonts in Wow6432Node. Still no go. do i need to have infs and other files in the msi, or just .PFM?

Answered 11/14/2012 by: ogeccut
Black Belt

  • did more research and found that the type 1 fonts do not work well with this method
    this link suggests convert them to open type and then they will install with the above method.
    http://serverfault.com/questions/189914/windows-7-install-type-1-fonts-via-command-line
Please log in to comment
0

Thanks for the reply. Gives me something else to try. The link is saying that i need to convert the fonts to open type fonts. And a link to the site that does it. However site is not functioning. Does any one know of a tool to convert fonts?

Free and easy to use :)

Thank you.

Answered 11/15/2012 by: ogeccut
Black Belt

  • never used it but it is open source - http://voices.yahoo.com/use-fontforge-convert-fonts-otf-ttf-pfb-pfm-6391402.html
Please log in to comment
Answer this question or Comment on this question for clarity