[wix-users] Language condition on file?
PhillHogland+wix at gmail.com
Fri Mar 24 18:02:28 PDT 2017
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
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
More information about the wix-users