Lines Matching refs:handle
53 static std::_tstring GetMsiProperty( MSIHANDLE handle, const std::_tstring& sProperty ) in GetMsiProperty() argument
59 if ( MsiGetProperty( handle, sProperty.c_str(), szDummy, &nChars ) == ERROR_MORE_DATA ) in GetMsiProperty()
64 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
71 static void UnsetMsiProperty(MSIHANDLE handle, const std::_tstring& sProperty) in UnsetMsiProperty() argument
73 MsiSetProperty(handle, sProperty.c_str(), NULL); in UnsetMsiProperty()
76 static void SetMsiProperty(MSIHANDLE handle, const std::_tstring& sProperty, const std::_tstring&) in SetMsiProperty() argument
78 MsiSetProperty(handle, sProperty.c_str(), TEXT("1")); in SetMsiProperty()
81 extern "C" UINT __stdcall CheckInstallDirectory(MSIHANDLE handle) in CheckInstallDirectory() argument
83 std::_tstring sInstallPath = GetMsiProperty(handle, TEXT("INSTALLLOCATION")); in CheckInstallDirectory()
84 std::_tstring sOfficeHostnamePath = GetMsiProperty(handle, TEXT("OFFICEDIRHOSTNAME")); in CheckInstallDirectory()
90 UnsetMsiProperty( handle, TEXT("DIRECTORY_NOT_EMPTY") ); in CheckInstallDirectory()
105 SetMsiProperty( handle, TEXT("DIRECTORY_NOT_EMPTY"), TEXT("1") ); in CheckInstallDirectory()