I every one!!!!
I'm developing a InstallScript MSI project and i have a problem.
I want put images in the left for each dialog.
when begin my project have the follow code that put the first image in the first dialog:
DialogSetInfo(DLG_INFO_ALTIMAGE,SUPPORTDIR ^ "Copy of left_bkgrnd.bmp",TRUE);
Now... in the next dialog, i use the same code for put the new image in the dialog, but not working.
How I do the image change?
I need your help....is very important for my make it.
Thanks
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Images in Custom Dialog
Started by
rmartinez
, Oct 13 2009 15:42
4 replies to this topic
Posted 14 October 2009 - 06:49
You don't need to call DialogSetInfo for each dialog. Call it once and it should stay in effect for the rest of your setup.
Stefan Krüger
InstallSite.org twitter facebook
Posted 14 October 2009 - 17:07
Ok, my friend ! ! !
that's exactly what I have, but I need every dialogue has a different image...
How I do it?
I am very grateful !!!!!!!!!!!!!!!!!!!!!!!!!!!!
that's exactly what I have, but I need every dialogue has a different image...
How I do it?
I am very grateful !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Posted 15 October 2009 - 10:20
I see. How does it fail? Does it simply fail to replace the image? Or does it display an error message? Did you check the return value from DialogSetInfo?
To make sure it isn't an issue with the other bitmaps: did you try to use your second image in the first call to DialogSetInfo?
Did you try calling
DialogSetInfo(DLG_INFO_ALTIMAGE,SUPPORTDIR ^ "Copy of left_bkgrnd.bmp",FALSE);
before you set the next image with TRUE?
To make sure it isn't an issue with the other bitmaps: did you try to use your second image in the first call to DialogSetInfo?
Did you try calling
DialogSetInfo(DLG_INFO_ALTIMAGE,SUPPORTDIR ^ "Copy of left_bkgrnd.bmp",FALSE);
before you set the next image with TRUE?
Stefan Krüger
InstallSite.org twitter facebook