IPublishedApp::Install method (shappmgr.h)
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] LPSYSTEMTIME pstInstall
);
Parameters
[in] pstInstall
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
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional, Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shappmgr.h |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για