2.2.3.2.3 Package Creation Message
This message creates a PackageRegistration object in Active Directory and an application advertise script file in the file system of the Group Policy server. The LDAP portion of the message MUST be an LDAP addRequest message, as specified in [RFC2251].
Parameter |
Value |
---|---|
entry |
The software package DN that corresponds to the GPO DN. This MUST be a DN of the form CN=<PackageId>,CN=Packages,CN=Class Store,<scoped gpo dn>, where <scoped gpo dn> is a scoped GPO DN and <PackageId> is a GUID string, as defined in [RFC4122] section 3. The GUID portion of the DN MUST be generated by using the standard GUID generation algorithm, as specified in [C706] section 3.1.20, uuid_create() function. |
attributes |
The attributes defined in section 2.2.2.4.1 Software Installation Search Reply Attributes MUST be supplied in the attributeList of this addRequest message along with the values that are wanted by the policy administrator. The semantics of the attributes are the same as those specified for the PackageRegistration object in the Software Installation Search Reply message. The exception to the attributes defined in the Software Installation Search Reply message is that the objectGUID attribute MUST NOT be specified in the attributes field as part of this message. |
The attributes member is itself a sequence of attribute name and value pairs. The following table specifies these pairs and their meanings.
Attribute name |
Value |
Meaning |
---|---|---|
objectClass |
MUST be the directory string value packageRegistration. |
The name of the Active Directory object class type to create through this message. |
displayName |
MUST be the directory string name of the package to be created. |
The name of the package. |
Note that the msiScriptName attribute MUST always be present and that it MUST be specified with the following semantics.
Parameter |
Value |
---|---|
msiScriptName |
A directory string that MUST be one of the following values:
|
The remote file access portion of the message is an application advertise script file. Using the algorithm in [C706] Appendix A "Universal Unique Identifier", a unique GUID is generated for the name of the application advertise script file.