Hi Zong, I think you can try to search for the answer in the wix*.targets files (in c:\Program Files\MSBuild\Microsoft\WiX\v3.5\ folder). Here is a description of the "AssignCultures" target which seems to set the output folder for each culture.
" AssignCultures Determines the final list of culture groups to build based on either the Cultures property or those specified in .wxl files. Culture groups specified in the Cultures property must be specified as a semi-colon delimited list of groups, with comma-delimited cultures within a group. For example: <Cultures>en-US,en;en-GB,en</Cultures> This will build 2 targets, outputing to en-US and en-GB sub-folders. Light will first look for strings in the first culture (en-US or en-GB) then the second (en). Cultures of .wxl files will be used when the Culture property is not set. The culture of a .wxl file is determined by the Culture attribute in the WixLocalization element in the file Sets the OutputFolder metadata on each culture group. In most cases this is the same as the first culture in the culture group. When the Culture's property is unspecified and no .wxl files are provided this is the same as the output directory. When the Culture's property specifies a single culture group and no .wxl files are provided this is the same as the output directory. Updates the TargetPath and TargetPdbPath properties to be used in subsequent targets. [IN] @(EmbeddedResource) - The list of wxl files to use for localization. $(Cultures) - The list of culture groups to build. [OUT] @(CultureGroup) - The list of culture group strings with OutputFolder metadata $(TargetPath) - Property list of target link output MSIs/MSMs $(TargetPdbPath) - Property list of target output pdbs " -Maksim -----Original Message----- From: Zong Yang [mailto:zoy...@microsoft.com] Sent: Friday, June 24, 2011 4:26 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to set custom output folder for MSI wix project Hi, Does anyone know how to set a custom output folder for a MSI wix project? I have a pretty standard wix MSI project, it outputs to en-us,fr-fr, de-de folder automatically, however in order to be consistent with other projects, I would like to output the msi file to en, fr, de folder. Of course, I can do a post-build processing, like copy it from en-us to en folder, then delete the en-us folder. But beside this solution, is there another way to do this? Any input is greatly appreciated. Thanks, Zong ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users