Previous Topic: Frequently Asked QuestionsNext Topic: About Variables, Parameters, and Client Parameters


Some Fonts are not Present on the Target Computer after Installing Word 97

Symptom:

I receive an error message stating that some fonts cannot be found on the target computer after installing an SXP product containing fonts

Solution:

The sxpfonts utility will be very handy to solve this problem. Sxpfonts.exe can be used to immediately activate fonts on Windows NT/2000/XP and Windows 9x/Me when installing fonts with the Software Management Installer. The same applies to an uninstallation.

To activate fonts using the sxpfonts utility

  1. Add an actions.sxp archive file and the sxpfonts.exe utility to the package.
  2. For each new font, enter three lines in the actions.sxp. See the description of the actions.sxp file for an example for sxpfonts.

    Use the sxpfonts.exe utility as follows:

    sxpfonts.exe command path
    
    Command

    The command to be entered here can be either an install or an uninstall command which is preceded by a hyphen:

    -i Install fonts

    -d Deinstall fonts

    Path

    Absolute font path

    The exit codes of the sxpfonts.exe utility are as follows:

    0 = Ok

    1 = Invalid command line

    2 = Add font resource failed

    3 = Remove font resource failed