mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 05:22:57 +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)
|
BOOL CInstalledApplicationInfo::UninstallApplication(BOOL bModify)
|
||||||
{
|
{
|
||||||
|
if (!bModify)
|
||||||
|
WriteLogMessage(EVENTLOG_SUCCESS, MSG_SUCCESS_REMOVE, szDisplayName);
|
||||||
|
|
||||||
return StartProcess(bModify ? szModifyPath : szUninstallString, TRUE);
|
return StartProcess(bModify ? szModifyPath : szUninstallString, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -944,6 +944,9 @@ run:
|
||||||
shExInfo.lpParameters = L"";
|
shExInfo.lpParameters = L"";
|
||||||
shExInfo.nShow = SW_SHOW;
|
shExInfo.nShow = SW_SHOW;
|
||||||
|
|
||||||
|
/* FIXME: Do we want to log installer status? */
|
||||||
|
WriteLogMessage(EVENTLOG_SUCCESS, MSG_SUCCESS_INSTALL, InfoArray[iAppId].szName);
|
||||||
|
|
||||||
if (ShellExecuteExW(&shExInfo))
|
if (ShellExecuteExW(&shExInfo))
|
||||||
{
|
{
|
||||||
//reflect installation progress in the titlebar
|
//reflect installation progress in the titlebar
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue