Installs an application published by an application publisher. This method is invoked when the user selects Add or Add Later in Add/Remove Programs in Control Panel.
HRESULT Install( LPSYSTEMTIME pstInstall );
A pointer to a SYSTEMTIME structure that specifies the time the user elected to schedule installation through the Add Later button in Add/Remove Programs. This option is only available if the application supports scheduled installation (compare GetPossibleActions). If this parameter is NULL, the application should be installed immediately.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
|Minimum supported client||Windows XP, Windows 2000 Professional, Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|