summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup_native/source/win32/customactions/reg4msdoc/msihelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/source/win32/customactions/reg4msdoc/msihelper.cxx b/setup_native/source/win32/customactions/reg4msdoc/msihelper.cxx
index 8ea769a84b8b..4728ecd5a53c 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/msihelper.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/msihelper.cxx
@@ -47,7 +47,7 @@ bool IsAllUserInstallation(MSIHANDLE handle)
std::wstring GetOfficeInstallationPath(MSIHANDLE handle)
{
std::wstring progpath;
- GetMsiProp(handle, TEXT("OfficeFolder"), progpath);
+ GetMsiProp(handle, TEXT("INSTALLLOCATION"), progpath);
return progpath;
}