mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[RAPPS] Restore event logging of install/uninstall actions
This commit is contained in:
parent
264aaa9e05
commit
ae426744a9
2 changed files with 6 additions and 0 deletions
|
@ -138,6 +138,9 @@ BOOL CInstalledApplicationInfo::RetrieveIcon(ATL::CStringW& IconLocation)
|
|||
|
||||
BOOL CInstalledApplicationInfo::UninstallApplication(BOOL bModify)
|
||||
{
|
||||
if (!bModify)
|
||||
WriteLogMessage(EVENTLOG_SUCCESS, MSG_SUCCESS_REMOVE, szDisplayName);
|
||||
|
||||
return StartProcess(bModify ? szModifyPath : szUninstallString, TRUE);
|
||||
}
|
||||
|
||||
|
|
|
@ -944,6 +944,9 @@ run:
|
|||
shExInfo.lpParameters = L"";
|
||||
shExInfo.nShow = SW_SHOW;
|
||||
|
||||
/* FIXME: Do we want to log installer status? */
|
||||
WriteLogMessage(EVENTLOG_SUCCESS, MSG_SUCCESS_INSTALL, InfoArray[iAppId].szName);
|
||||
|
||||
if (ShellExecuteExW(&shExInfo))
|
||||
{
|
||||
//reflect installation progress in the titlebar
|
||||
|
|
Loading…
Reference in a new issue