INSTALLSPEC union (appmgmt.h)
The INSTALLSPEC structure specifies a group policy application by its user-friendly name and group policy GUID or by its file name extension. The Spec member of the INSTALLDATA structure provides this information to the InstallApplication function.
Syntax
typedef union _INSTALLSPEC {
struct {
WCHAR *Name;
GUID GPOId;
} AppName;
WCHAR *FileExt;
WCHAR *ProgId;
struct {
GUID Clsid;
DWORD ClsCtx;
} COMClass;
} INSTALLSPEC;
Members
AppName
Structure that contains the following members.
AppName.Name
The user-friendly name of the application as it appears in Add or Remove Programs and the Group Policy Object Editor. You can obtain the name by calling GetManagedApplications.
AppName.GPOId
The GUID for the group policy object in which the application exists. You can obtain the group policy object GUID by calling GetManagedApplications.
FileExt
The file name extension, such as .jpg, of the application to be installed.
ProgId
This parameter is reserved and should not be used.
COMClass
This parameter is reserved and should not be used.
COMClass.Clsid
This parameter is reserved and should not be used.
COMClass.ClsCtx
This parameter is reserved and should not be used.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Header | appmgmt.h |