summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx')
-rw-r--r--setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx b/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx
index 9f7080984293..5c68659950ef 100644
--- a/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx
+++ b/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx
@@ -28,7 +28,7 @@
#include <systools/win32/uwinapi.h>
#include "../tools/seterror.hxx"
-extern "C" UINT __stdcall CheckInstallDirectory(MSIHANDLE handle)
+extern "C" __declspec(dllexport) UINT __stdcall CheckInstallDirectory(MSIHANDLE handle)
{
std::wstring sInstallPath = GetMsiPropertyW(handle, L"INSTALLLOCATION");
std::wstring sOfficeHostnamePath = GetMsiPropertyW(handle, L"OFFICEDIRHOSTNAME");