PDA

View Full Version : skins and bitmaps



phess420
07-18-2005, 02:26 PM
Is there any way to modify an entire skin? I am using the olive skin and all I would like to do is replace the computer icon with our company logo. Right now I have to go into the SdWelcome dialog and create a Bitmap area and delete the text area, then point my logo there. Id have to do that for each screen for each installer. Just looking for an easier way. I appreciate any replies. Thanks.

RobertDickau
07-18-2005, 07:00 PM
Perhaps this will do what you want---

DialogSetInfo(DLG_INFO_ALTIMAGE, SUPPORTDIR^"filename.bmp", TRUE);

---where "filename.bmp" is a file you drop into the Support Files view...

phess420
07-19-2005, 08:42 AM
Thank you I will give this a shot. Could you tell me exactly where to put this in my installscript?

RobertDickau
07-19-2005, 08:53 AM
Any time before the first dialog box appears, so perhaps in OnBegin or OnShowUI?

phess420
07-19-2005, 08:58 AM
It says onbegin is for non-UI settings. I tried it right before the Dlg_SdWelcome on the OnFirstUIBefore and I got errors regarding the SUPPORT and it was looking for a numeric value, the build could not complete.

RobertDickau
07-19-2005, 09:04 AM
Sorry, SUPPORT should be SUPPORTDIR.

phess420
07-19-2005, 09:11 AM
That was it!! Thank you!!! Now can you tell me where I can find how to do such things in the installscript? That just made this so easy!

phess420
07-19-2005, 12:52 PM
For whatever reason my bitmap is slightly off on the screens. It just needs to be lowered slightly but I have no idea how to do that or where its being controlled. I am just simply pointing to that image. I have tried changing its size but that has not helped. I have attached a screenshot. I appreciate any ideas. Thank you!!

The V Man
07-25-2005, 01:38 AM
Hi phess420,

Have you tried the InstallShield custom skin kit?

The 'skin.ini' file controls the settings.

Regards.