IPublishedApp::Install method
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.
Syntax
HRESULT Install(
[in, unique] LPSYSTEMTIME pstInstall
);
Parameters
- pstInstall [in]
-
Type: LPSYSTEMTIME
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.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows XP, Windows 2000 Professional, Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also