This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Dialog text color in InstallScript MSI???
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 07, 2010
04:24 PM
InstallScript 2010 Custom Bitmap Header.
Hi guys - i want to change the banner (header) bitmap image on all dialogs.
(I have Highlighted it in red the attachment image)
I am using Installscript - I have found info on how to change it with MSI but not Installscript.
Any Ideas? - any help would be great! 🙂
How do i change the bitmap at the top of the install dialogs to a custom bitmap.
Thanks in Advance.
(I have Highlighted it in red the attachment image)
I am using Installscript - I have found info on how to change it with MSI but not Installscript.
Any Ideas? - any help would be great! 🙂
How do i change the bitmap at the top of the install dialogs to a custom bitmap.
Thanks in Advance.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 08, 2010
02:00 PM
You can use the DialogSetInfo function to provide an alternate bitmap by passing DLG_INFO_ALTIMAGE for the nInfoType parameter. Note that this will also affect the welcome and finish dialogs, so this should not be called until after the welcome dialog has been displayed and should be disabled before the finish dialog is displayed (if you do not want the bitmap specified to be displayed on the welcome and finish dialogs).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 08, 2010
10:07 PM
Thanks Josh
I tried that
DialogSetInfo (DLG_INFO_ALTIMAGE, SUPPORTDIR ^ "leftlogo.bmp" + ";1;0;;0,0,0", TRUE);
But it only seems to be changing the banner on the Left..
How do i change the banner on the top?
Please note im using BlueTC Skin.
Thanks in advance.
I tried that
DialogSetInfo (DLG_INFO_ALTIMAGE, SUPPORTDIR ^ "leftlogo.bmp" + ";1;0;;0,0,0", TRUE);
But it only seems to be changing the banner on the Left..
How do i change the banner on the top?
Please note im using BlueTC Skin.
Thanks in advance.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 09, 2010
08:02 AM
Try setting the bit map image using after the following statements
//{{IS_SCRIPT_TAG(License_File_Path)
szLicenseFile = SUPPORTDIR ^ "License.rtf";
DialogSetInfo ( DLG_INFO_ALTIMAGE, SUPPORTDIR ^"ss.bmp",TRUE );
Exit the DialogSetInfo function to restore to the default image after the License dialogue box
DialogSetInfo( DLG_INFO_ALTIMAGE, "", -1 );
//{{IS_SCRIPT_TAG(License_File_Path)
szLicenseFile = SUPPORTDIR ^ "License.rtf";
DialogSetInfo ( DLG_INFO_ALTIMAGE, SUPPORTDIR ^"ss.bmp",TRUE );
Exit the DialogSetInfo function to restore to the default image after the License dialogue box
DialogSetInfo( DLG_INFO_ALTIMAGE, "", -1 );
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 09, 2010
01:01 PM
Skinned dialogs do not have any images in the header/banner area of the dialog (compared to the non-skinned dialog in the attached screenshot). The banner area is a solid color filled rectangle described in the skin.ini used to build the skin (the skin customization kit describes the various regions on a skin).
If an image is needed for the header/banner for skinned dialogs, a custom skin would need to be created to describe the image, it's position, and attributes for the skin.
For non-skinned dialogs, calling DialogSetInfo with DLG_INFO_ALTIMAGE can be used to change the image used on the dialog header/banner.
If an image is needed for the header/banner for skinned dialogs, a custom skin would need to be created to describe the image, it's position, and attributes for the skin.
For non-skinned dialogs, calling DialogSetInfo with DLG_INFO_ALTIMAGE can be used to change the image used on the dialog header/banner.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 09, 2010
07:21 PM
Understood - thanks Josh
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2010
08:07 AM
I use DialogSetInfo to display my custom banner, but my banner is in black color, so it hides the text, could you please help how to display the text in white color? I use installscript MSI.