[wix-users] [EXTERNAL] - Re: Language condition on file?
henderso at opentext.com
Mon Mar 27 06:47:52 PDT 2017
While I'm certainly not the expert some others (like Phill) are, this sounds like you might use culture-specific files included in a set of culture-specific features (or possibly components), that are enabled or selected based on the culture chosen for the install. Does that make sense?
I currently have an installer that has an option to install French language files in addition to the default English, but the selection is based on a checkbox dialog. Not the same, but perhaps a similar situation.
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Friday, March 24, 2017 9:02 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [EXTERNAL] - Re: [wix-users] Language condition on file?
Or another approach is to have a single WiX setup project, in which you specify multiple cultures, as you indicated, but in the MediaTemplate element specify an external cab.
Then in the MsiPackage element used in a bundle chain (or through some
script) change the name of each msi to include the culture in the name of the msi and copy the msi and the cab for each language to a common output folder.
This results in an output folder which contains a single cab file (as the cab in each batch build is identical) and culture named msi files.
I have not tried your suggested approach of conditionally including culture specific files but I assume it may be possible. I use the above approach.
On Fri, Mar 24, 2017 at 2:39 AM, Persson, Magnus (SE-TLX) < magnus.persson at assaabloy.com> wrote:
> If I create a WiX project in VS2015 and add localization files for
> English and Spanish I will get two msi-files as a result. One English
> and one Spanish. This is fine.
> However, can I in the same WiX prtoject specify English files that
> only compile into the English msi-file and Spanish files that will
> only be included in the Spanish msi-file?
> Or do I have to create two WiX projects in VS2015 (one for each language).
> WiX Toolset Users Mailing List provided by FireGiant
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwICAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=yAhF6NGJ7EPmZkvswZOswwnYxaueKkO53V282tTn1P4&m=C9R-0zMvbjR5K-sjlmtIZbFZSGIxg8o1pbw1i4EUAbw&s=-i6LkzBGXO6-W4-m8ViL7HeQBa83jdGFL0_RaOUDmls&e=
More information about the wix-users