Lines Matching refs:handle

27 bool GetMsiProp(MSIHANDLE handle, LPCTSTR name, /*out*/std::wstring& value)  in GetMsiProp()  argument
31 if (MsiGetProperty(handle, name, dummy, &sz) == ERROR_MORE_DATA) in GetMsiProp()
37 MsiGetProperty(handle, name, buff, &sz); in GetMsiProp()
44 void SetMsiProp(MSIHANDLE handle, LPCTSTR name) in SetMsiProp() argument
46 MsiSetProperty(handle, name, TEXT("1")); in SetMsiProp()
49 void UnsetMsiProp(MSIHANDLE handle, LPCTSTR name) in UnsetMsiProp() argument
51 MsiSetProperty(handle, name, TEXT("")); in UnsetMsiProp()
54 bool IsSetMsiProp(MSIHANDLE handle, LPCTSTR name) in IsSetMsiProp() argument
57 GetMsiProp(handle, name, val); in IsSetMsiProp()
61 bool IsMsiPropNotEmpty(MSIHANDLE handle, LPCTSTR name) in IsMsiPropNotEmpty() argument
64 GetMsiProp(handle, name, val); in IsMsiPropNotEmpty()
68 bool IsAllUserInstallation(MSIHANDLE handle) in IsAllUserInstallation() argument
70 return IsSetMsiProp(handle, TEXT("ALLUSERS")); in IsAllUserInstallation()
73 std::wstring GetOfficeInstallationPath(MSIHANDLE handle) in GetOfficeInstallationPath() argument
76 GetMsiProp(handle, TEXT("INSTALLLOCATION"), progpath); in GetOfficeInstallationPath()
80 std::wstring GetOfficeExecutablePath(MSIHANDLE handle) in GetOfficeExecutablePath() argument
82 std::wstring exepath = GetOfficeInstallationPath(handle); in GetOfficeExecutablePath()
87 std::wstring GetProductName(MSIHANDLE handle) in GetProductName() argument
90 GetMsiProp(handle, TEXT("ProductName"), prodname); in GetProductName()
94 bool IsModuleInstalled(MSIHANDLE handle, LPCTSTR name) in IsModuleInstalled() argument
98 MsiGetFeatureState(handle, name, &current_state, &future_state); in IsModuleInstalled()
102 bool IsModuleSelectedForInstallation(MSIHANDLE handle, LPCTSTR name) in IsModuleSelectedForInstallation() argument
106 MsiGetFeatureState(handle, name, &current_state, &future_state); in IsModuleSelectedForInstallation()
110 bool IsModuleSelectedForDeinstallation(MSIHANDLE handle, LPCTSTR name) in IsModuleSelectedForDeinstallation() argument
114 MsiGetFeatureState(handle, name, &current_state, &future_state); in IsModuleSelectedForDeinstallation()
118 bool IsCompleteDeinstallation(MSIHANDLE handle) in IsCompleteDeinstallation() argument
121 GetMsiProp(handle, TEXT("REMOVE"), rm); in IsCompleteDeinstallation()