cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
annetteqa
Level 4

Dialog Graphic

I am using Installshield 2009 and have an Installscript MSI project. I am trying to change the graphic that is at the top of the dialogs. Currently it contains an Installshield graphic - but when I look in the Direct Editor or the Dialog Editor it shows as a text ControlID_52 and contains
@10550,10551;1;0;;0,128,128 . I've removed it and tried putting in my own bmp but I can't seem to get a bmp file with the correct sizing so that it shows as a similar size to the graphic that was there. Can anyone provide me with the correct specifications on what the bmp should be?

Also - is there any way in this version and type of project to get the background on the dialogs to be white instead of grey? Although there are skins provided none have a white background.
Labels (1)
0 Kudos
(3) Replies
J_anitha
Level 8

For changing skin background color, you'll have to work on skin customization.
Install Skin Customization Kit for IS2009, the help file installed with the kit will tell you how to do it.
0 Kudos
annetteqa
Level 4

So I've followed the instructions using some sample graphics and was trying to build it to take a look but I am getting a generic "can't produce the skin" message. Can anyone figure out what might be wrong?

[SKINS]
VERSION=1

[ALL]
TEXTCOLOR=0,0,0
RECTS=2
RECT1=0,51,102
RECT1POS=0,0
RECT1AREA=460,35
RECT2=61,102,171
RECT2POS=0,35
RECT2AREA=460,280
IMAGES=3
IMAGE1=BitmapId_103.bmp
IMAGE1POS=0,35
IMAGE1OPT=SCALE,UPPER_LEFT
IMAGE2=Top.gif
IMAGE2POS=0,35
IMAGE2OPT=SCALE,HCENTER,UPPER_LEFT
IMAGE3=Console.gif
IMAGE3POS=0,0
IMAGE3OPT=SCALE,LOWER_LEFT
BUTTONSUP=ButtonNormal.gif
BUTTONSDOWN=ButtonPushed.gif
BUTTONSOPT=SCALE,TRANSPARENT
BUTTONSTXTCLR=0,0,0
BUTTONSDISTXTCLR=96,104,112

[SdBitmap]
RECTS=1
RECT1=220,220,220
RECT1POS=0,0
RECT1AREA=460,280
IMAGES=1
IMAGE1POS=0,0
IMAGE1OPT=SCALE,LOWER_LEFT

[SdAskOptionsList-001b]
BUTTONS=5
BUTTON1=12
BUTTON1POS=195,283
BUTTON2=1
BUTTON2POS=275,283
BUTTON3=9
BUTTON3POS=380,283
BUTTON4=100
BUTTON4POS=287,246
BUTTON5=101
BUTTON5POS=364,246
0 Kudos
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

The banner bitmap on standard dialogs (i.e. non-skinned dialogs; skinned dialogs do not have a bitmap in the "banner" area) can be changed with the DialogSetInfo function using the DLG_INFO_ALTIMAGE type for the nInfoType parameter. Note that this will also affect the bitmap displayed on the welcome and finish dialogs, so DialogSetInfo should be called after SdWelcome and again before SdFinish to restore the default bitmap if needed.
0 Kudos