REGISTER FONTS ACTION: Hangs installation on some NT based machines
|Article:TECH8654|||||Created: 2005-12-09|||||Updated: 2006-12-03|||||Article URL http://www.symantec.com/docs/TECH8654|
|NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.|
Some installation .EXEs hang when the Register Font actions is executed.
Product: Wise Installation System 9.02.204.0
Windows NT-based operating systems
When copying to the FONTs directory it does a SendMessage:(HWND_BROADCAST,WM_FONTCHANGE,0,0). The problem is on my DELL running XP, Dell's support program DAMon hangs and doesn't service it's message pump. The result is, our installer hangs after trying to copy fonts.
Instead you should use SendMessageTimeout so your program doesn't hang because of other ill behaved programs running on the system. If you look in MSDN under WM_SETTINGCHANGE, it recommends to use SendMessageTimeout to broadcast the change and not just SendMessage.
This issue has been resolved in Wise Package Studio 7.0 and Wise Installation Studio/Express 7.0.
Call the AddFontResource API manually using SendMessageTimeout instead of SendMessage (see http://www.chami.com/tips/delphi/010297D.html for basic information about manually installing fonts)
|Description||Logged in Littlebuggy (Altiris - Lindon, Plymouth) database|
Article URL http://www.symantec.com/docs/TECH8654