简体   繁体   中英

How do I disable font registration in an Installshield (2016) msi project?

We are using InstallShield 2016 for developing our msi. We have an issue wherein, ttf fonts carried by our msi are getting installed in system. We do not want fonts to get registered. We simply want to carry them. But since they get registered, other applications like Outlook, skype, chrome start using them. This creates problems for us during uninstallation.

So our requirement is to carry the fonts, but not to get them registered. Since InstallShield by default registers the ttf fonts, how can we disable this behavior?

What I have tried:

Got some suggestion on stackoverflow but they are not relevant to InstallShield 2016. Please provide us a step-by-step guide.

I would try one or more of the following:

  • Condition out the RegisterFonts action in the InstallExecuteSequence (and InstallUISequence if your installations are not silent). This is as simple as putting "1=0" in the Condition column for the associated action.

  • Ensure the Directory of the Component containing the font file(s) is NOT set as FontsFolder.

  • Delete all entries in the Fonts table so that they dont register (note that they will still exist in the File table after this).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM