On 26-Jan-15 10:38, Phill Hogland wrote:
> I want to extend the behavior of the util:User element to hide the service
> account from the logon screen.  If I am going at this the wrong way, what is
> the correct approach?
The best approach is probably the custom attribute. In WiX v3.x, 
extensibility is opt-in on the part of the element and we kept expanding 
that during the v3.x lifetime. Extensibility should probably be the 
default. Feel free to file a bug for User.

> Also in Compiler.cs I noticed the following comments at the end of parsing
> the Component element:
>                          // CompilerExtension must return a key path type, so
> the component key path is either set or not (no automatic selection).
> In searching the wix code I notice that only the DependencyCompiler and hte
> UtilCompiler (only when parsing the Source attribute) sets the
> ComponentKeypathType, so I assume that the case is overstated in the
> comment.
The intent of the comment is to say extension elements cannot 
participate in WiX's choose-the-best-keypath logic. If an extension 
element sets a key path, it must do so explicitly by using the 
ParseElement override that returns ComponentKeypathType.

-- 
sig://boB
http://joyofsetup.com/


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to