Is it possible in my Compiler extension to add an attribute to an existing
wix element, like the bal:Overridable attribute was added?

I created a xsd and added to my extension, which adds my new attribute to
the util:User element.  While I did not implement the underlying parsing
code or the CA yet, when add the myext:My

<util:User Id="SrvActCfg" .... myx:MyAttribute="yes" />

error CNDL0202: The util:User element contains an unsupported extension
attribute ' myx:MyAttribute'.  The util:User element does not currently
support extension attributes. ...

So based on this message I am not sure if this plan is totally unsupported
and I must add a new element, or if I just have a xsd definition issue
somewhere.

At a higher level my plan was to figure out how to use a semi-custom action,
based on Bob's blog to modify the information related to user account in the
msi db at runtime.  The reason is that when I install a service I may or may
not actually need to create the user, and depending on whether the passed in
account name is our default name I would want to hide it from the welcome
screen.  Some other account name should not be hidden from the welcome
screen (and a few other business tweaks at run time).

Thank you for any thoughts.


                 >



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Adding-an-extension-attribute-like-bal-Overridable-but-myext-Attribute-tp7598987.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to