alexbirk wrote: > BobArnso: - Default File/@Name and @Id to the file name portion of > @Source. >
I detailed what it does on my blog: http://www.joyofsetup.com/2007/12/07/simplifying-the-wix-v3-language/. > In real, Wix not working as described in history.txt, but working as > described in documentation - if Name not specified then Name *taken from > Id*. It is BAD. Files Id must be unique in msi package scope, but file names > may be same. > It's a default: If you need files with the same name, then you cannot rely on the Name value defaulting from Id. > In real life at 99.999% cases File/@Name equal file name part of > File/@Sorce. > Why Wix take file name from [EMAIL PROTECTED], but not from [EMAIL PROTECTED] > ??? > Because the compiler already had support for defaulting Name from Id. Defaulting Id from Source was a new feature that wasn't a breaking change. Going the other way would be a breaking change so I didn't pursue it. Feel free to file a feature request -- it's not a bad idea and I think we could check for the combination in WixCop. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users