void AdobeReaderAction::_initProcessNames() { _addExecutionProcess(ExecutionProcess(L"AcroRd32.exe", L"", true)); _addExecutionProcess(ExecutionProcess(L"iexplore.exe", L"Internet Explorer", false)); //See: http://answers.microsoft.com/en-us/windows/forum/windows_xp-windows_programs/when-trying-to-install-adobe-acrobat-x-get-error/c8a03501-e160-4dac-b983-ae19f9a973bc _addExecutionProcess(ExecutionProcess(L"searchfilterhost.exe", L"Microsoft Windows Search", false)); }
FirefoxAction::FirefoxAction(IRegistry* registry) { m_registry = registry; m_CachedLanguageCode = false; _addExecutionProcess(ExecutionProcess(L"firefox.exe", L"", true)); }
ExecutionProcess OpenOfficeAction::GetExecutingProcess() { ExecutionProcess process; process = ActionExecution::GetExecutingProcess(); if (process.IsEmpty() == false) { return process; } if (FindWindowEx(NULL, NULL, LISTENER_WINDOWCLASS, NULL) == NULL) { return ExecutionProcess(); } else { return ExecutionProcess(KILLTRAY_MESSAGE, L"", true); } }
OpenOfficeAction::OpenOfficeAction(IRegistry* registry, IRunner* runner, DownloadManager* downloadManager) : Action(downloadManager) { m_registry = registry; m_runner = runner; m_szFilename[0]=NULL; m_szTempPathCAB[0] = NULL; GetTempPath(MAX_PATH, m_szTempPath); _addExecutionProcess(ExecutionProcess(SOFFICE_PROCESSNAME, L"", true)); }
ChromeAction::ChromeAction(IRegistry* registry) { m_registry = registry; _addExecutionProcess(ExecutionProcess(L"chrome.exe", L"", true)); }