Archive: AnimGif makes my installer hang up


AnimGif makes my installer hang up
So, I thought it'd be fun to replace the icon in the directory-page with an animated gif, which works fine, except that the installer suddenly requires 47 CPU as shown in Windows Task Manager and that the installer hangs up completely so I have to kill it with Windows Task Manager.

PageEx directory
PageCallbacks directoryPre directoryShow directoryLeave
PageExEnd

Function directoryShow
FindWindow $0 "#32770" "" $HWNDPARENT ;hides the orignal icon successfully
GetDlgItem $1 $0 1031
ShowWindow $1 0

SetOutPath $PLUGINSDIR
File jazzblink.gif
AnimGif::play /NOUNLOAD /HALIGN=0 /VALIGN=0 "$PLUGINSDIR\jazzblink.gif"
FunctionEnd

Function directoryLeave
AnimGif::stop
Delete "$PLUGINSDIR\jazzblink.gif"
FunctionEnd


What am I doing wrong? This is the gif: http://jazzjackrabbit.net/gry/jazzblink.gif

So I tried to add a few sleeps, but that didn't make any difference...


May be icon (1031? 1039?) is not really hidden ?
Can you attach min size test script?


Here goes


Yes, this is why I added AnimGifPe ;) Looks OK with it. http://nsis.sourceforge.net/AnimGif_plug-in - second link.


I replaced the dll and recompiled, but the installer still hangs up :\

To be clear: the gif looks fine, but the installer freezes


I could see 50% (Core Duo) CPU load with AnimGif, but AnimGifPe was OK for me on Vista. Attached.


I can't click anything in the installer (using your attached exe)


I could reproduce the situation with AnimGifPe after I minimized installer window and could not restore it. Simple way I can offer right now is to use MUI - just re-tested Example1 worked fine. Later I'll try to find time for this issue.