i have created multilanguage installer using wix. running installer command line using command "msiexec /i myinstaller.msi transforms=":1041" , working fine. have created language selection dialog using bootstrapper. how can pass selected language wix installer launch per selected language? got idea following links:
- can localize wix msi , bundle using language selection ui @ runtime?
- http://wix.tramontana.co.hu/tutorial/transforms/morphing-installers
my bundle has <msipackage sourcefile="myinstaller.msi" displayinternalui="yes" >
i have screen result of custom ui using burn wix toolset:

i want somehow execute command msiexec /i myinstaller.msi transforms=":1041" if select japanese or msiexec /i myinstaller.msi transforms=":1031" if select german , press ok.
please tell me should problem. there other way this? if yes, please tell me. code sample better help.
finally got solution. bootstrapper ui language selection can created described here. after that, wrote following code in button click event launch msi in selected language:
bootstrapper.engine.stringvariables["commandargs"] = ":1031"; bootstrapper.engine.plan(wix.launchaction.install); break; .... .... this.close(); //outside of switch statement break; the above code use commandargs msi property.then added following code bundle.wxs file
<msipackage id="mypackage" sourcefile="myinstaller.msi" displayinternalui="yes"> <msiproperty name="transforms" value="[commandargs]"/> </msipackage> worked exaclty way wanted. code same launching msi command line using following command
msiexec /i myinstaller.msi transforms=":1031" the issue is taking time launch msi after language selected above ui.
Installer - Creating Language Selection Dialog Using Wix - >>>>> Download Now
ReplyDelete>>>>> Download Full
Installer - Creating Language Selection Dialog Using Wix - >>>>> Download LINK
>>>>> Download Now
Installer - Creating Language Selection Dialog Using Wix - >>>>> Download Full
>>>>> Download LINK Eh