I'm afraid the provided link hasn't helped me solve my problem. I am trying to
get the bootstrapper and the MSI to both be translated into the same language.
When the user enters the -lang 1046 as a command line parameter for the
bootstrapper, the bootstrapper is correctly switching to the localized
1046\thm.wxl and 1046\license.rtf. But I can't seem to figure out how to get
access to the selected language so that I can perform the correct transform on
the MSI. It would be nice if I could just access the -lang value directly, but
I was not able to find a way to do this. (I have tested both the bootstrapper
localization and the MSI transforms. Both localizations work when called
explicitly so I know it is just a matter of finding the right way to select the
transform.) After failing to get access to the -lang argument, I tried was to
create all my localized strings in the bootstrapper and pass them into the MSI
as properties.<MsiPackage Id="msi_English" SourceFile="../Installer/bin/$
(var.Configuration)/en-us/app.msi" DisplayInternalUI="yes"/> <MsiProperty
Name="String1" Value="!(loc.String1)"/> </MsiPackage> This failed because it
appears the !(loc.String1) in the MsiProperty doesn't use the localized string,
it uses the default string. I also tried using a localized string as the
install condition, but had the same problem. The default string is used, not
the localized one. <MsiPackage Id="msi_English"
SourceFile="../Installer/bin/$(var.Configuration)/en-us/app.msi"
DisplayInternalUI="yes" InstallCondition="(NOT !(loc.Language) =
"1046")"/> <MsiPackage Id="msi_Portuguese"
SourceFile="../Installer/bin/$(var.Configuration)/en-us/app.msi"
DisplayInternalUI="yes" InstallCondition="(!(loc.Language) =
"1046")"> <Payload Id="pt_mst"
SourceFile="../Installer/bin/$(var.Configuration)/en-us/pt-br.mst"/>
<MsiProperty Name="TRANSFORMS" Value="pt-br.mst"/> </MsiPackage> Thanks again.
____________________________________________________________
Protect what matters
Floods can happen anywhere. Learn your risk and find an agent today.
http://thirdpartyoffers.juno.com/TGL3131/54e388bd7c3438bd4883st03vuc
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users