diff options
-rw-r--r-- | src/xsd/util.xsd | 52 |
1 files changed, 43 insertions, 9 deletions
diff --git a/src/xsd/util.xsd b/src/xsd/util.xsd index 1b649f48..c0a9e44a 100644 --- a/src/xsd/util.xsd +++ b/src/xsd/util.xsd | |||
@@ -701,19 +701,18 @@ | |||
701 | 701 | ||
702 | <xs:element name="Group"> | 702 | <xs:element name="Group"> |
703 | <xs:annotation> | 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 | <xs:appinfo> | 705 | <xs:appinfo> |
706 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" /> | ||
705 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" /> | 707 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" /> |
706 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" /> | 708 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" /> |
707 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Package" /> | 709 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Package" /> |
710 | <xse:seeAlso ref="GroupRef" /> | ||
708 | </xs:appinfo> | 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 | </xs:annotation> | 712 | </xs:annotation> |
715 | <xs:complexType> | 713 | <xs:complexType> |
716 | <xs:choice minOccurs="0" maxOccurs="unbounded"> | 714 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
715 | <xs:element ref="GroupRef" minOccurs="0" maxOccurs="unbounded" /> | ||
717 | <xs:any namespace="##other" processContents="lax"> | 716 | <xs:any namespace="##other" processContents="lax"> |
718 | <xs:annotation> | 717 | <xs:annotation> |
719 | <xs:documentation> | 718 | <xs:documentation> |
@@ -730,7 +729,7 @@ | |||
730 | </xs:attribute> | 729 | </xs:attribute> |
731 | <xs:attribute name="Name" type="xs:string" use="required"> | 730 | <xs:attribute name="Name" type="xs:string" use="required"> |
732 | <xs:annotation> | 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 | </xs:annotation> | 733 | </xs:annotation> |
735 | </xs:attribute> | 734 | </xs:attribute> |
736 | <xs:attribute name="Domain" type="xs:string"> | 735 | <xs:attribute name="Domain" type="xs:string"> |
@@ -738,6 +737,41 @@ | |||
738 | <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> | 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 | </xs:annotation> | 738 | </xs:annotation> |
740 | </xs:attribute> | 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 | <xs:anyAttribute namespace="##other" processContents="lax"> | 775 | <xs:anyAttribute namespace="##other" processContents="lax"> |
742 | <xs:annotation> | 776 | <xs:annotation> |
743 | <xs:documentation> | 777 | <xs:documentation> |
@@ -751,7 +785,7 @@ | |||
751 | 785 | ||
752 | <xs:element name="GroupRef"> | 786 | <xs:element name="GroupRef"> |
753 | <xs:annotation> | 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 | </xs:annotation> | 789 | </xs:annotation> |
756 | <xs:complexType> | 790 | <xs:complexType> |
757 | <xs:choice minOccurs="0" maxOccurs="unbounded"> | 791 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
@@ -1853,12 +1887,12 @@ | |||
1853 | <xs:attribute name="Id" type="xs:string" /> | 1887 | <xs:attribute name="Id" type="xs:string" /> |
1854 | <xs:attribute name="Name" type="xs:string" use="required"> | 1888 | <xs:attribute name="Name" type="xs:string" use="required"> |
1855 | <xs:annotation> | 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 | </xs:annotation> | 1891 | </xs:annotation> |
1858 | </xs:attribute> | 1892 | </xs:attribute> |
1859 | <xs:attribute name="Domain" type="xs:string"> | 1893 | <xs:attribute name="Domain" type="xs:string"> |
1860 | <xs:annotation> | 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 | </xs:annotation> | 1896 | </xs:annotation> |
1863 | </xs:attribute> | 1897 | </xs:attribute> |
1864 | <xs:attribute name="Password" type="xs:string"> | 1898 | <xs:attribute name="Password" type="xs:string"> |