WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > Animated Image
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Ender7584
Junior Member

Registered: Aug 2005
From:

Animated Image

Hey,

I don't really want to do this at all, but it's something that higher ups are forcing me to figure out. I know that there are other forum topics on this, but they dead end.

Has anyone made any kind of development regarding an animated image crammed anywhere inside the installer? Preferably gif format, but I'm desperate now and will settle for any image animation. I've tried to appease them with lots and lots of moving updating text, but it's not enough. They need an image.

I was thinking of somehow either using sendmessage to change the image over and over to a different one, but have no idea if that would even work. Has anyone tried it?

ANY information would be greatly appreciated.

Thank you,

Ender7584

Quick Link | Report this post to a moderator | IP: Logged

Ender7584 is offline Old Post 02-10-2006 11:10 PM
Click Here to See the Profile for Ender7584 Click here to Send Ender7584 a Private Message Find more posts by Ender7584 Add Ender7584 to your buddy list Edit/Delete Message Reply w/Quote
dienjd
Senior Member

Registered: Oct 2005
From:

Check out the embedded banner plugin:
http://nsis.sourceforge.net/wiki/Embedded_Banner

I've only tinkered with it a few minutes a while ago, but the description says GIF is supported, so you should be able to put an animated GIF on your UI.

Quick Link | Report this post to a moderator | IP: Logged

dienjd is offline Old Post 02-10-2006 11:31 PM
Click Here to See the Profile for dienjd Click here to Send dienjd a Private Message Click Here to Email dienjd Find more posts by dienjd Add dienjd to your buddy list Edit/Delete Message Reply w/Quote
Takhir
Major Dude

Registered: Feb 2004
From: Moscow, Russia

EmbeddedBanner shows not animated gifs, you can change images from script only Animate control of InstallOptionsEx implements Windows Animation, but it not supports animated gif as well and require custom page (aren't it?). I remember attempts of animation control dynamic adding to INSTFILES page, but I cannot find it right now.

Quick Link | Report this post to a moderator | IP: Logged

Takhir is offline Old Post 02-11-2006 06:42 AM
Click Here to See the Profile for Takhir Click here to Send Takhir a Private Message Visit Takhir's homepage! Find more posts by Takhir Add Takhir to your buddy list Edit/Delete Message Reply w/Quote
Takhir
Major Dude

Registered: Feb 2004
From: Moscow, Russia

Animated GIF

May be this is not too complex with Juan Soulie code
I spent 2 hours with it and first draft attached. Transparency, image location and stretching are still in 'todo' list, but dll looks stable in simple cases.

Attachment: animgif.zip
This has been downloaded 732 time(s).

Quick Link | Report this post to a moderator | IP: Logged

Takhir is offline Old Post 02-12-2006 06:50 PM
Click Here to See the Profile for Takhir Click here to Send Takhir a Private Message Visit Takhir's homepage! Find more posts by Takhir Add Takhir to your buddy list Edit/Delete Message Reply w/Quote
zeeh3
Senior Member

Registered: Aug 2005
From: Brazil

Amazing Takhir! A question: does it only work in Instfile pages (Sections)?

Quick Link | Report this post to a moderator | IP: Logged

zeeh3 is offline Old Post 02-13-2006 02:08 PM
Click Here to See the Profile for zeeh3 Click here to Send zeeh3 a Private Message Find more posts by zeeh3 Add zeeh3 to your buddy list Edit/Delete Message Reply w/Quote
Takhir
Major Dude

Registered: Feb 2004
From: Moscow, Russia

MUI Welcome and finish pages are not sutable for additional images because dialog area is covered with other controls. But it is possible to draw gif on any page using show/leave functions.

Attachment: animgif.zip
This has been downloaded 663 time(s).

Quick Link | Report this post to a moderator | IP: Logged

Takhir is offline Old Post 02-13-2006 04:49 PM
Click Here to See the Profile for Takhir Click here to Send Takhir a Private Message Visit Takhir's homepage! Find more posts by Takhir Add Takhir to your buddy list Edit/Delete Message Reply w/Quote
zeeh3
Senior Member

Registered: Aug 2005
From: Brazil

It would be a very nice feature to put animated gifs at splash screens, at control 1046, at Field 1 in ioSpecial.ini, or other places outside dialog area, can it be done?

Quick Link | Report this post to a moderator | IP: Logged

zeeh3 is offline Old Post 02-13-2006 05:46 PM
Click Here to See the Profile for zeeh3 Click here to Send zeeh3 a Private Message Find more posts by zeeh3 Add zeeh3 to your buddy list Edit/Delete Message Reply w/Quote
Takhir
Major Dude

Registered: Feb 2004
From: Moscow, Russia

Another way is to update nsWeb plug-in (or some other code) for dynamic browser control creation on the installer windows (not on custom pages only), this worked with GIFs on INSTFILES in my tests (but I could not close MUI page without Tasks manager)

Quick Link | Report this post to a moderator | IP: Logged

Takhir is offline Old Post 02-13-2006 07:45 PM
Click Here to See the Profile for Takhir Click here to Send Takhir a Private Message Visit Takhir's homepage! Find more posts by Takhir Add Takhir to your buddy list Edit/Delete Message Reply w/Quote
Takhir
Major Dude

Registered: Feb 2004
From: Moscow, Russia

Browser control is good, but I like these 'hand made' things (17-th century ). Animated GIF with transparency and (optional) target window handle worked in my tests with attached plug-in. Image transparency color index value was just replaced with the color of the left top corner of the paint rectangle on the target window. Included Felix image is big (74 kB), but it is good for test. Later I'll fix bugs (if any) and create wiki page. Few MSVCRT dependencies still presents because of new/delete operators.

Attachment: animgif.zip
This has been downloaded 710 time(s).

Quick Link | Report this post to a moderator | IP: Logged

Takhir is offline Old Post 02-14-2006 09:36 AM
Click Here to See the Profile for Takhir Click here to Send Takhir a Private Message Visit Takhir's homepage! Find more posts by Takhir Add Takhir to your buddy list Edit/Delete Message Reply w/Quote
Takhir
Major Dude

Registered: Feb 2004
From: Moscow, Russia

AnimGif plug-in wiki page. Fixed bug - dialog field color extraction in the custom 'show' function.
Playing on the other windows (not pages) is a question of window handle getting, for example, might be good to test it with BGGradient window. But transparency support on not-page windows may be not correct.

Quick Link | Report this post to a moderator | IP: Logged

Takhir is offline Old Post 02-15-2006 09:13 AM
Click Here to See the Profile for Takhir Click here to Send Takhir a Private Message Visit Takhir's homepage! Find more posts by Takhir Add Takhir to your buddy list Edit/Delete Message Reply w/Quote
Takhir
Major Dude

Registered: Feb 2004
From: Moscow, Russia

I uploaded a new version with better GIF image disposal methods support (AFAI understood Murray/vanRyper ). New /FIT option, may be usefull for various screens dpi's, stretches image to fit window width or height (for example, left logo on Welcome page). And now with intermediate memory dc image for better drawing. AnimGif plug-in

Quick Link | Report this post to a moderator | IP: Logged

Takhir is offline Old Post 02-17-2006 09:40 AM
Click Here to See the Profile for Takhir Click here to Send Takhir a Private Message Visit Takhir's homepage! Find more posts by Takhir Add Takhir to your buddy list Edit/Delete Message Reply w/Quote
baskaran.vishnu
Junior Member

Registered: Apr 2006
From:

Problem with running Animated GIFs for custom page

Dear Takhir,

I have recently posted a message pertaining to loading an animated GIF Image for NSIS.

The E-mail link is as shown below;

http://forums.winamp.com/showthread.php?threadid=245291

Based on the content of the link, could you advice me on any possible solutions? I have also posted the scripts regarding the problem I am having in the link provided above.

I am using your AnimGif plugin along with the newadvsplash.dll plugin to run this implementation.

Would truly appreciate your help.

Thanks man.

Quick Link | Report this post to a moderator | IP: Logged

baskaran.vishnu is offline Old Post 05-04-2006 10:46 AM
Click Here to See the Profile for baskaran.vishnu Click here to Send baskaran.vishnu a Private Message Click Here to Email baskaran.vishnu Find more posts by baskaran.vishnu Add baskaran.vishnu to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 09:31 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > Animated Image
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON