Windows Installer doesn't support transparency.  You'll have to just work 
at it until it looks nice.  Limits of native / internal UI and while it's 
not the best, I've managed to get some pretty nicely branded MSIs out of 
it.

----------------------------------------
 From: "Tunney, Stephen" <stephen.tun...@nuance.com>
Sent: Wednesday, October 09, 2013 1:35 PM
To: "General discussion for Windows Installer XML toolset." 
<wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] Error code is 2858

JPG worked but now I get this crappy looking background around my image.  
Isn't there a way to specify the a specific colour as transparent or do I 
have to have my background match the colour of the dialog box?

-----Original Message-----
From: Tunney, Stephen [mailto:stephen.tun...@nuance.com] 
Sent: October-09-13 1:57 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error code is 2858

Negative on the animation of the GIF.

-----Original Message-----
From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
Sent: October-09-13 1:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error code is 2858

Is it an animated GIF?

If not why not use a BMP instead? I believe dialogs can only use BMP...

Steve

-----Original Message-----
From: Tunney, Stephen [mailto:stephen.tun...@nuance.com]
Sent: October-09-13 12:20 PM
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

----------------------------------------------------------------------------
--
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

----------------------------------------------------------------------------
--
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

------------------------------------------------------------------------------
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