Some installation .EXEs hang when the Register Font actions is executed.
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)
Applies To Product: Wise Installation System 9.02.204.0 Windows NT-based operating systems
Logged in Littlebuggy (Altiris - Lindon, Plymouth) database
Imported Document Id
This is machine translated content
Login to Subscribe
Please login to set up your subscription.
Didn't find the article you were looking for? Try these resources.