<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Actually we need to pass local exist file. In other words, the
following <br>
<pre wrap="">&nbsp; &nbsp;!insertmacro InstallTTFFont \\\"$INSTDIR\\\\bin\\\\V100026_.TTF\\\"

must be replace on

</pre>
<pre wrap="">&nbsp; &nbsp;!insertmacro InstallTTFFont \\\"${CMAKE_CURRENT_SOURCE_DIR}\\\\fonts\\\\v100026_.ttf\\\"</pre>
The NSIS includes local exist file to setup and there is no need copy
this file into installation directory. <br>
<br>
Eric, thank you for you time !<br>
<br>
Eric Noulard &#1087;&#1080;&#1096;&#1077;&#1090;:
<blockquote
 cite="mid:cbe23c51002270225y1301be5bn69b6e6be66f23945@mail.gmail.com"
 type="cite">
  <pre wrap="">2010/2/27 Anatoly Shirokov <a class="moz-txt-link-rfc2396E" href="mailto:shirokov_a@mail.ru">&lt;shirokov_a@mail.ru&gt;</a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi there!

Does anybody know how to install own ttf fonts?

I have installed FontName but the following:
&nbsp;SET(CPACK_NSIS_CREATE_ICONS_EXTRA "
&nbsp; &nbsp;StrCpy \\\$FONT_DIR \\\$FONTS
&nbsp; &nbsp;!insertmacro InstallTTFFont \\\"$INSTDIR\\\\bin\\\\V100026_.TTF\\\"
&nbsp;")
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This looks ok.

[...]

  </pre>
  <blockquote type="cite">
    <pre wrap="">Error in macro InstallTTFFont on macroline 14

Error in script
"C:/Work/Test/cpack/build/_CPack_Packages/win32/NSIS/project.nsi" on line
694 -- aborting creation process
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This looks like an NSIS error in your nsis script may be you should
ask help on NSIS related mailing list?




  </pre>
</blockquote>
</body>
</html>