2858: The data for the bitmap [2] is not valid.

I'd assume it's the older OS's which are having issues.  Odds are you are using 
something in the image (Alpha channel / transparency) or a format that that OS 
doesn't support. You could try a different format. From the MSI SDK, the Bitmap 
control displays a bitmap or JPEG static picture file.  I see no mention of 
GIF's.



-----Original Message-----
From: Tunney, Stephen [mailto:stephen.tun...@nuance.com] 
Sent: Wednesday, October 09, 2013 11:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Error code is 2858

Hello everyone,

I'm getting this error as a debug message when attempting to display two GIF 
images in a UI.

I have attached them to this email.  Below is the dialog utilizing those files. 
 Some OSes show the images ok.  Others do not.  Any suggestions would be 
helpful as I have Google'd and nothing is coming up yet:

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Fragment>
    <Binary Id="FirewallEnabledBmp" 
SourceFile="$(var.SolutionDir)Enabled-transparent.gif" />
    <Binary Id="FirewallDisabledBmp" 
SourceFile="$(var.SolutionDir)Disabled-transparent.gif" />

    <Property Id="SET_FIREWALL_RULES" Value="0" Admin="yes" Secure="yes"/>

    <UI>
      <PropertyRef Id="SET_FIREWALL_RULES"/>
      <Dialog Id="EQ_FirewallQuestionDlg" Width="370" Height="270">
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="!(loc.WixUIBack)" />
        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="!(loc.WixUINext)" />
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
          <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
        </Control>
        <Control Id="Description" Type="Text" X="25" Y="23" Width="280" 
Height="15" Transparent="yes" NoPrefix="yes" 
Text="!(loc.EQ_FirewallQuestionDlg_SubTitle)" />
        <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" 
Transparent="yes" NoPrefix="yes" Text="!(loc.EQ_FirewallQuestionDlg_Title)" />
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" TabSkip="no" Text="!(loc.EQ_FirewallQuestionDlg_BannerBitmap)" />
        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" 
Height="0" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Type="Bitmap" Id="EnableFirewall" Width="48" Height="48" 
X="15" Y="65" Text="FirewallEnabledBmp" />
        <Control Type="Bitmap" Id="DisableFirewall" Width="48" Height="48" 
X="15" Y="136" Text="FirewallDisabledBmp" />
        <Control Type="RadioButtonGroup" Property="SET_FIREWALL_RULES" 
Id="FirewallSelectionRadioButtonGroup" Width="290" Height="100" X="70" Y="65">
          <RadioButtonGroup Property="SET_FIREWALL_RULES">
            <RadioButton 
Text="!(loc.EQ_FirewallQuestionDlg_EnabledRadioButtonText)" Height="17" 
Value="1" Width="200" X="0" Y="0" />
            <RadioButton 
Text="!(loc.EQ_FirewallQuestionDlg_DisabledRadioButtonText)" Height="17" 
Value="0" Width="200" X="0" Y="70" />
          </RadioButtonGroup>
        </Control>
        <Control Type="Text" Id="EnabledDescription" Width="260" Height="40" 
X="90" Y="90" Text="!(loc.EQ_FirewallQuestionDlg_EnabledDescription_Text)" />
        <Control Type="Text" Id="DisabledDescription" Width="260" Height="50" 
X="90" Y="160" Text="!(loc.EQ_FirewallQuestionDlg_DisabledDescription_Text)" />
      </Dialog>
    </UI>
  </Fragment>
</Wix>

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to