Lines Matching refs:handle

52     string GetMsiProperty(MSIHANDLE handle, const string& sProperty)  in GetMsiProperty()  argument
58 if (MsiGetProperty(handle, sProperty.c_str(), szDummy, &nChars) == ERROR_MORE_DATA) in GetMsiProperty()
63 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
69 inline bool IsSetMsiProperty(MSIHANDLE handle, const string& sProperty) in IsSetMsiProperty() argument
71 return (GetMsiProperty(handle, sProperty).length() > 0); in IsSetMsiProperty()
74 inline void UnsetMsiProperty(MSIHANDLE handle, const string& sProperty) in UnsetMsiProperty() argument
76 MsiSetProperty(handle, sProperty.c_str(), NULL); in UnsetMsiProperty()
79 inline void SetMsiProperty(MSIHANDLE handle, const string& sProperty, const string&) in SetMsiProperty() argument
81 MsiSetProperty(handle, sProperty.c_str(), TEXT("1")); in SetMsiProperty()
85 extern "C" UINT __stdcall GetUserInstallMode(MSIHANDLE handle) in GetUserInstallMode() argument
87 string sOfficeInstallPath = GetMsiProperty(handle, TEXT("INSTALLLOCATION")); in GetUserInstallMode()
93 UnsetMsiProperty( handle, TEXT("INVALIDDIRECTORY") ); in GetUserInstallMode()
94 UnsetMsiProperty( handle, TEXT("ISWRONGPRODUCT") ); in GetUserInstallMode()
95 UnsetMsiProperty( handle, TEXT("PATCHISOLDER") ); in GetUserInstallMode()
96 UnsetMsiProperty( handle, TEXT("ALLUSERS") ); in GetUserInstallMode()
116 SetMsiProperty( handle, TEXT("INVALIDDIRECTORY"), TEXT("YES") ); in GetUserInstallMode()
137 SetMsiProperty( handle, TEXT("ISWRONGPRODUCT"), TEXT("YES") ); in GetUserInstallMode()
143 string ProductMajor = GetMsiProperty(handle, TEXT("PRODUCTMAJOR")); in GetUserInstallMode()
150 SetMsiProperty( handle, TEXT("ISWRONGPRODUCT"), TEXT("YES") ); in GetUserInstallMode()
158 string isPatch = GetMsiProperty(handle, TEXT("ISPATCH")); in GetUserInstallMode()
162 string ProductMinor = GetMsiProperty(handle, TEXT("PRODUCTBUILDID")); in GetUserInstallMode()
180 SetMsiProperty( handle, TEXT("PATCHISOLDER"), TEXT("YES") ); in GetUserInstallMode()
202 SetMsiProperty( handle, TEXT("ALLUSERS"), szValue ); in GetUserInstallMode()