mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[RAPPS] Restore event logging of install/uninstall actions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user