Archive: ChangeUI bitmap only in one page


ChangeUI bitmap only in one page
Hello,

I'm kinda new on nsis, and I have the folling problem:
I got to show a page with an image in the middle, so I read some threads and some tutorials, and copied my modern.exe ui to a myui.exe and modified the 105 dialog, to show an image, then i used !packhdr with resource hacker to set the image, it worked, but it showing that image on all pages, licence, install dir, install bar.
The problem is that I dont want it, the image should be showed only in one page, so i modified the 105 back to what it was, and edited the 108, to be like 105 with the image, how do i get my "custom page" to use dialog 108 not 105?

thx in advance


You can use LoadImage and STM_SETIMAGE to display the image just on that page. You'll have to extract it on runtime, load it and set it to the static control. You'll still have a placeholder for it on the other pages, but it won't actually show.

There's a Wiki page that shows you how to do that:

http://nsis.sourceforge.net/ModernUI...stalling_files


Thank for the help, but i can't download the modern_instpic.exe, the link seens to be broken, is there any mirror?


Seems like the website is down. But it's just the modified modern.exe anyway. You've already done that yourself.