We have an MSI and Bundle created in Wix. I need to localize both of these in such a way that language selection GUI will be popped-up and language can be selected by the user at run time. Would be really appreciated if anybody can help me on this.
For MSI, i am working on creating another bootstapper for bringing-up with language selection combobox and invoke the tranfomed MSI with the required transform(using command shell). I am still not sure about the feasibilty of this approach. I am facing issue in creating combo box in customized UI of bootstapper and invoking batch command to run this msi in the required language.
For Bundle - I am still working on finding a method. if anybody has any idea/samples for this.
It will be helpful if anybody can help me with this issue or provide me with an another alternative method to meet above requirement.
Thanks,
I guess this may help you: creating language selection dialog using WiX.
there is a limitation that custom UI for language selection is created using C# based custom bootstrapper. This may lead to the requirement of .Net framework on host machine.
The recommended method (and for that matter, the method used by most MS products), is as you describe.
MSIEXEC
, passingTRANSFORM=language.mst
as an argumentAfter the
MSIEXEC
process has started, all localization is finalized, so to speak. Any selection must go on outside the MSI system.See this codeproject article for an example.
UI selection for MSI
Bundle support only automatic base detection there is no support for UI selection