Feature Requests item #1441687, was opened at 2006-03-02 13:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1441687&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compiler
Group: None
Status: Open
Priority: 5
Submitted By: Andreas Häber (ahaeber)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support Implemented Categories for Class element

Initial Comment:
Currently the Class element supports two attributes,
SafeForInitializing and SafeForScripting, which adds
information to the registry at
HKCR\CLSID\{GUID}\Implemented Categories noting that
this class supports these two categories.

AFAIK there ain't any support for adding other
'implemented categories' information, except through
Registry element.

In my opinion this could be better supported by letting
the Class element have a child element named
ImplementedCategories. The ImplementedCategories type
should be a sequence of one or more ComponentCategory
and/or ComponentCategoryRef values.

The ComponentCategory type let users register any
component category they like (see HKCR\Component
Categories), and ComponentCategoryRef allows some
well-known comp. cats to be accessible out of the box
(such as the two mentioned above, the .NET Category and
a few more).

This solution is both flexible and user friendly,
because you can use it for all possible component
categories and in addition you can select the
pre-defined component categories as well. In addition
it allows you to install/uninstall Component Categories
more easily as an extra bonus :)

Example:
<Class Id="..." etc>
 <ImplementedCategories>
  <ComponentCategory Id="{Guid}" Name="MyCategory"/>
  <ComponentCategoryRef Id=".NET Category"/>
 </ImplementedCategories>
</Class>

(or maybe the ImplementedCategory should be a simple
sequence of ComponentCategoryRef elements instead,
giving you something like this instead:

<ComponentCategory Id="{Guid}" Name="MyCategory"/>
<Class Id="Guid" etc>
 <ImplementedCategories>
   <!-- Reference one of the users categories -->
   <ComponentCategoryRef Id="{Guid}"/>
   <!-- Reference a well-known component category -->
   <ComponentCategoryRef Id=".NET Category"/>
 </ImplementedCategories>
</Class>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1441687&group_id=105970


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to