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:
   <Directory Id="Dir1" Name="WebApp1">
     ...
     <File Id="web.config.1" Source=”C:\Build\WebApp1\web.config” />
   </Directory>

   <Directory Id="Dir2" Name="WebApp2">
     ...
     <File Id="web.config.2" Source=”C:\Build\WebApp2\web.config” />
   </Directory>

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/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to