|
701 | 701 |
|
702 | 702 | <xs:element name="Group"> |
703 | 703 | <xs:annotation> |
| 704 | + <xs:documentation>Group for all kinds of (usergroup) things. When it is not nested under a component it is included in the MSI so it can be referenced by other elements such as the GroupRef element under a User element (to add the User to the Group). When it is nested under a Component element, the Group will be created on install and can also be used for reference.</xs:documentation> |
704 | 705 | <xs:appinfo> |
| 706 | + <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" /> |
705 | 707 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" /> |
706 | 708 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" /> |
707 | 709 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Package" /> |
| 710 | + <xse:seeAlso ref="GroupRef" /> |
708 | 711 | </xs:appinfo> |
709 | | - <xs:documentation> |
710 | | - Finds user groups on the local machine or specified Active Directory domain. The local machine will be |
711 | | - searched for the group first then fallback to looking in Active Directory. This element is not capable |
712 | | - of creating new groups but can be used to add new or existing users to an existing group. |
713 | | - </xs:documentation> |
714 | 712 | </xs:annotation> |
715 | 713 | <xs:complexType> |
716 | 714 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 715 | + <xs:element ref="GroupRef" minOccurs="0" maxOccurs="unbounded" /> |
717 | 716 | <xs:any namespace="##other" processContents="lax"> |
718 | 717 | <xs:annotation> |
719 | 718 | <xs:documentation> |
|
730 | 729 | </xs:attribute> |
731 | 730 | <xs:attribute name="Name" type="xs:string" use="required"> |
732 | 731 | <xs:annotation> |
733 | | - <xs:documentation>A [Formatted](https://learn.microsoft.com/en-us/windows/win32/msi/formatted) string that contains the name of the group to be found.</xs:documentation> |
| 732 | + <xs:documentation>A [Formatted](https://learn.microsoft.com/en-us/windows/win32/msi/formatted) string that contains the name of the group.</xs:documentation> |
734 | 733 | </xs:annotation> |
735 | 734 | </xs:attribute> |
736 | 735 | <xs:attribute name="Domain" type="xs:string"> |
737 | 736 | <xs:annotation> |
738 | 737 | <xs:documentation>An optional [Formatted](https://learn.microsoft.com/en-us/windows/win32/msi/formatted) string that specifies the domain for the group.</xs:documentation> |
739 | 738 | </xs:annotation> |
740 | 739 | </xs:attribute> |
| 740 | + <xs:attribute name="RemoveOnUninstall" type="wxs:YesNoTypeUnion"> |
| 741 | + <xs:annotation> |
| 742 | + <xs:documentation>Indicates whether the group should be removed or left behind on uninstall.</xs:documentation> |
| 743 | + </xs:annotation> |
| 744 | + </xs:attribute> |
| 745 | + <xs:attribute name="FailIfExists" type="wxs:YesNoTypeUnion"> |
| 746 | + <xs:annotation> |
| 747 | + <xs:documentation>Indicates if the install should fail if the group already exists.</xs:documentation> |
| 748 | + </xs:annotation> |
| 749 | + </xs:attribute> |
| 750 | + <xs:attribute name="UpdateIfExists" type="wxs:YesNoTypeUnion"> |
| 751 | + <xs:annotation> |
| 752 | + <xs:documentation>Indicates if the group properties should be updated if the group already exists.</xs:documentation> |
| 753 | + </xs:annotation> |
| 754 | + </xs:attribute> |
| 755 | + <xs:attribute name="CreateGroup" type="wxs:YesNoTypeUnion"> |
| 756 | + <xs:annotation> |
| 757 | + <xs:documentation>Indicates whether or not to create the group. Group creation can be skipped if all that is desired is to add group memberships.</xs:documentation> |
| 758 | + </xs:annotation> |
| 759 | + </xs:attribute> |
| 760 | + <xs:attribute name="Vital" type="wxs:YesNoTypeUnion"> |
| 761 | + <xs:annotation> |
| 762 | + <xs:documentation>Indicates whether failure to create the group or add the group to another group fails the installation. The default value is "yes".</xs:documentation> |
| 763 | + </xs:annotation> |
| 764 | + </xs:attribute> |
| 765 | + <xs:attribute name="Comment" type="xs:string"> |
| 766 | + <xs:annotation> |
| 767 | + <xs:documentation>Optional comment to set on the group.</xs:documentation> |
| 768 | + </xs:annotation> |
| 769 | + </xs:attribute> |
| 770 | + <xs:attribute name="RemoveComment" type="wxs:YesNoTypeUnion"> |
| 771 | + <xs:annotation> |
| 772 | + <xs:documentation>Indicates whether remove the comment from the group. The default value is "no".</xs:documentation> |
| 773 | + </xs:annotation> |
| 774 | + </xs:attribute> |
741 | 775 | <xs:anyAttribute namespace="##other" processContents="lax"> |
742 | 776 | <xs:annotation> |
743 | 777 | <xs:documentation> |
|
751 | 785 |
|
752 | 786 | <xs:element name="GroupRef"> |
753 | 787 | <xs:annotation> |
754 | | - <xs:documentation>Used to join a user to a group</xs:documentation> |
| 788 | + <xs:documentation>Used to join a user / group to a group</xs:documentation> |
755 | 789 | </xs:annotation> |
756 | 790 | <xs:complexType> |
757 | 791 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
1853 | 1887 | <xs:attribute name="Id" type="xs:string" /> |
1854 | 1888 | <xs:attribute name="Name" type="xs:string" use="required"> |
1855 | 1889 | <xs:annotation> |
1856 | | - <xs:documentation>A [Formatted])(https://learn.microsoft.com/en-us/windows/win32/msi/formatted) string that contains the name of the user account.</xs:documentation> |
| 1890 | + <xs:documentation>A [Formatted](https://learn.microsoft.com/en-us/windows/win32/msi/formatted) string that contains the name of the user account.</xs:documentation> |
1857 | 1891 | </xs:annotation> |
1858 | 1892 | </xs:attribute> |
1859 | 1893 | <xs:attribute name="Domain" type="xs:string"> |
1860 | 1894 | <xs:annotation> |
1861 | | - <xs:documentation>A [Formatted])(https://learn.microsoft.com/en-us/windows/win32/msi/formatted) string that contains the local machine or Active Directory domain for the user.</xs:documentation> |
| 1895 | + <xs:documentation>A [Formatted](https://learn.microsoft.com/en-us/windows/win32/msi/formatted) string that contains the local machine or Active Directory domain for the user.</xs:documentation> |
1862 | 1896 | </xs:annotation> |
1863 | 1897 | </xs:attribute> |
1864 | 1898 | <xs:attribute name="Password" type="xs:string"> |
|
0 commit comments