I am linking my wix source file against Wix UI dialog .wxs's provided along
with other Wix 2.0 source files to
provide a rich UI dialogs including a progress dialog.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
<Fragment>
<UI>
    <Dialog Id="ProgressDlg" Width="370" Height="270" Title="
$(loc.ProgressDlg_Title)" Modeless="yes">
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56"
Height="17" Default="yes" Cancel="yes" Text="$(loc.WixUICancel)">
            <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
        </Control>
...

I understand that we can link only one localization file (.wxl) per package
during link time, but this means that to support multiple languages,
we would have to have a booststrapper that decides (or lets user select)
which language to display during installation.
But for deployment reasons, I cannot use a bootstrapper.

Please correct me if I am wrong, but I think the basic UI works in a way
that 1) it detects the localization settings of the client machine 2)
displays
localized strings based on the settings found. Or does basic UI display
English messages only?

But assuming that the basic UI reads localized strings somehow from MSI
resources (msi.dll, ...) that come with the Windows OS,
would there be any way that I can read that localized string and then
replace "$(loc.WixUICancel)" shown in above code, for instance?

Basically, I was thinking about linking a english .wxl file during msi build
time, and then reading the localized string
from system resources and then replacing the english string with the
localized string during run time.
Is this even possible?
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to