INSTALLSPEC

INSTALLSPEC union

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  *Reserved1;
  struct {
    GUID  Reserved1;
    DWORD Reserved2;
  } Reserved2;
} INSTALLSPEC;

Members

AppName

Structure that contains the following members.

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.

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.

Note  InstallApplication fails if the Type member of INSTALLDATA equals FILEEXT and there is no application deployed to the user with this file name extension.
 
Reserved1

This parameter is reserved and should not be used.

Reserved2

Structure that contains the following members.

Reserved1

This parameter is reserved and should not be used.

Reserved2

This parameter is reserved and should not be used.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Appmgmt.h

See also

Group Policy Overview
Group Policy Structures
INSTALLDATA
InstallApplication
UninstallApplication
GetManagedApplications

 

 

Show:
© 2016 Microsoft