Re: [WiX-users] Wix3: File/@Name as part of @Source
Alexander Biryukov wrote: > Bob, while it feature is NEW, you can improve it without damage of > bracking changes. > The breaking change would be that Name currently defaults to Id. > If you cannot improve this feature withot "Feature request", i will create > it. > Please do. Otherwise it's likely to get lost in e-mail. -- 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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix3: File/@Name as part of @Source
Thank you Bob for reply. Bob Arnson <[EMAIL PROTECTED]> wrote: > 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. Yes, i need change Id, but in current feature realization i also need change Name. Typically target file name is same to source file name, but not same to Id. See below example: ... ... In current wix realization i also need to set Name attribute. It not simplify setup developing in this cases. > 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. > Bob, while it feature is NEW, you can improve it without damage of bracking changes. If you cannot improve this feature withot "Feature request", i will create it. -- Alexander Biryukov - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix3: File/@Name as part of @Source
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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Wix3: File/@Name as part of @Source
Last version wix-3.0.3621 add new feature - auto fill File/@Name field. But some difference confuse me. Changes from histoty.txt : BobArnso: - Default File/@Name and @Id to the file name portion of @Source. Changes from Wix chm documentation (about attribute File/@Name): ... if this attribute is omitted then it is defaulted to the value of the Id attribute. 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. 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] ??? -- View this message in context: http://www.nabble.com/Wix3%3A-File-%40Name-as-part-of-%40Source-tp14526294p14526294.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users