1 #pragma once 2 3 #ifdef _MSC_VER 4 #pragma warning(push, 1) /* disable warnings within system headers */ 5 #endif 6 #define WIN32_LEAN_AND_MEAN 7 #include <windows.h> 8 #include <msiquery.h> 9 #ifdef _MSC_VER 10 #pragma warning(pop) 11 #endif 12 13 #include <string> 14 15 std::string GetOfficeInstallationPath(MSIHANDLE handle); 16 std::string GetOfficeProductName(MSIHANDLE handle); 17 std::string GetQuickstarterLinkName(MSIHANDLE handle); 18 std::string GetProcessImagePath( DWORD dwProcessId ); 19