Put the long name in the Name attribute & drop the use of the LongName attribute as it's been deprecated since WiX 3.0 was created. WiX will generate a short name at compile time if you put a long name in the Name attribute or you can use the ShortName attribute to specify it if you feel the need. See http://wix.sourceforge.net/manual-wix3/wix_xsd_file.htm
Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Karthic Sampthkumar [mailto:karthic_sampthku...@mindtree.com] Sent: 09 September 2010 06:45 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Reg: Warning CNDL1044 Hi, I am using wix to create MSI packages. In the File Tag, I Use the attribute Name="ABCD~2.TXT". Compile shows the below warning <FilePath> (8165) : warning CNDL1044 : The File/@Name attribute's value 'ABCD~2.TXT' is an ambiguous short name because it ends with a '~' character followed by a number.Under some circumstances, this name could resolve to more than one file or directory name and lead to unpredictable results (for example 'MICROS~1' may correspond to 'Microsoft Shared' or 'Microsoft Foo' or literally 'Micros~1') I understand that this warning is no harm since I have added the longName attribute in the file tag with proper name. But I have too many files in the project, so its generates 1 warning for each file. Is there any way to suppress this warning or solve this warning Thank you Warm Regards, Karthic.GS http://www.mindtree.com/email/disclaimer.html ------------------------------------------------------------------------ ------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users