thanks Bo, your example is very helpful.
2014-03-03 17:43 GMT+08:00 Bo Zhang [fabbricadigitale] < b.zh...@fabbricadigitale.it>: > Hello, I think you can combine Condition element with UserLanguageID > property. For a list of properties see at > > http://msdn.microsoft.com/en-us/library/aa370905%28VS.85%29.aspx > > so, > > <Component Id="SomeComponent" GUID="XXXX" Directory="GOHERE"> > <Condition> UserLanguageID = 2052</Condition> > <File Id="SomeFile" SourceFile="SomeSourcefile" /> > </Component> > > See a list of locales: > http://msdn.microsoft.com/en-US/goglobal/bb964664.aspx > > But you need to verify if it is working. > > -----Messaggio originale----- > Da: Bin Yin [mailto:ybdes...@gmail.com] > Inviato: sabato 1 marzo 2014 11.06 > A: wix-users@lists.sourceforge.net > Oggetto: [WiX-users] if(language==en-US) logic? > > is there any logic in WiX as: > > if (OSLanguage==en-US) > { > copy file1 to dir1 > } > else if(OSLanguage==zh-CN) > { > copy file2 to dir2 > } > else if(OSLanguage==de-DE) > { > copy file3 to dir3 > } > else > { > copy file4 to dir4 > } > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users