Hey Petr, I saw an email from Eric St. John a while back with this example. Hope it helps.
Do a registry search for the current DPI setting: (I know this isn’t a WIX list, this is just easier than trying to show the RegLocator rows and should be intuitive) <Property Id="DPISETTING"> <RegistrySearch Id="DpiSettingSearch" Root="HKLM" Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI" Name="LogPixels" Type="raw" Win64="yes"/> </Property> Condition the image used for the banner: <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="120" Height="234" TabSkip="no" Text="Bmp.Left"> <Condition Action="hide">DpiSetting="#120"</Condition> </Control> <Control Id="Bitmap120" Type="Bitmap" X="0" Y="0" Width="120" Height="234" TabSkip="no" Text="Bmp.Left.120" Hidden="yes"> <Condition Action="show">DpiSetting="#120"</Condition> </Control> Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Tue, Feb 10, 2009 at 3:22 PM, Petr Moravsky <morav...@live.com> wrote: > I'm trying to customize my installer with a logo by adding WixUIDialogBmp > variable to WixUI_Minimal dialog set. I use a jpg logo sized 493x312 . The > issue is when the user turns on large fonts in Windows (120dpi), the > installer window size becomes 25% larger. The image gets stretched and > looks > horrible. Is there way to specify different images for different font > sizes? > Is there some other good workaround this issue? Is there a way to use > vector > graphics? In general, are there any guidelines for the format, color depth > and other properties of the image? Also on the unrelated note I'm wondering > if there is line concatenation in WiX of some sort. I have some pretty long > strings in my installer and I would like to cut them into several pieces, > so > that they all fit in editor window. Thank you. > > > > --Petr > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users