APPACTIONFLAGS enumeration (shappmgr.h)
Specifies application management actions supported by an application publisher. These flags are bitmasks passed to IShellApp::GetPossibleActions.
Syntax
typedef enum _tagAppActionFlags {
APPACTION_INSTALL = 0x1,
APPACTION_UNINSTALL = 0x2,
APPACTION_MODIFY = 0x4,
APPACTION_REPAIR = 0x8,
APPACTION_UPGRADE = 0x10,
APPACTION_CANGETSIZE = 0x20,
APPACTION_MODIFYREMOVE = 0x80,
APPACTION_ADDLATER = 0x100,
APPACTION_UNSCHEDULE = 0x200
} APPACTIONFLAGS;
Constants
APPACTION_INSTALL Value: 0x1 Indicates that the application can be installed. Published applications always set this bit. |
APPACTION_UNINSTALL Value: 0x2 Not applicable to published applications. |
APPACTION_MODIFY Value: 0x4 Not applicable to published applications. |
APPACTION_REPAIR Value: 0x8 Not applicable to published applications. |
APPACTION_UPGRADE Value: 0x10 Not applicable to published applications. |
APPACTION_CANGETSIZE Value: 0x20 Not applicable to published applications. |
APPACTION_MODIFYREMOVE Value: 0x80 Not applicable to published applications. |
APPACTION_ADDLATER Value: 0x100 Indicates that the application supports scheduled installation. If this bit is set, then the Control Panel's Add or Remove Programs application presents the user an Add Later button. If you select Add Later, you are prompted to select the desired time of installation. The IPublishedApp::Install method is then called with the installation time. |
APPACTION_UNSCHEDULE Value: 0x200 Obsolete. |
Remarks
The Add or Remove Programs application in Control Panel uses only APPACTION_INSTALL and APPACTION_ADDLATER for published applications.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | shappmgr.h |