diff options
Diffstat (limited to 'setup_native/source/win32/customactions/inst_msu')
-rw-r--r-- | setup_native/source/win32/customactions/inst_msu/inst_msu.cxx | 6 | ||||
-rw-r--r-- | setup_native/source/win32/customactions/inst_msu/inst_msu_msi.def | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx b/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx index fee4e6feb58b..91464fdd17de 100644 --- a/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx +++ b/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx @@ -326,7 +326,7 @@ private: // "InstMSUBinary" property and unpacks the binary with that name to a temporary file; sets // "cleanup_msu" and "inst_msu" properties to the full name of the extracted temporary file. These // properties will become "CustomActionData" property inside relevant deferred actions. -extern "C" UINT __stdcall UnpackMSUForInstall(MSIHANDLE hInstall) +extern "C" __declspec(dllexport) UINT __stdcall UnpackMSUForInstall(MSIHANDLE hInstall) { try { @@ -411,7 +411,7 @@ extern "C" UINT __stdcall UnpackMSUForInstall(MSIHANDLE hInstall) // Deferred action "inst_msu" that must be run from system account. Receives the tempfile name from // "CustomActionData" property, and runs wusa.exe to install it. Waits for it and checks exit code. -extern "C" UINT __stdcall InstallMSU(MSIHANDLE hInstall) +extern "C" __declspec(dllexport) UINT __stdcall InstallMSU(MSIHANDLE hInstall) { try { @@ -486,7 +486,7 @@ extern "C" UINT __stdcall InstallMSU(MSIHANDLE hInstall) // Rollback deferred action "cleanup_msu" that is executed on error or cancel. // It removes the temporary file created by UnpackMSUForInstall action. // MUST be placed IMMEDIATELY AFTER "unpack_msu" in execute sequence. -extern "C" UINT __stdcall CleanupMSU(MSIHANDLE hInstall) +extern "C" __declspec(dllexport) UINT __stdcall CleanupMSU(MSIHANDLE hInstall) { try { diff --git a/setup_native/source/win32/customactions/inst_msu/inst_msu_msi.def b/setup_native/source/win32/customactions/inst_msu/inst_msu_msi.def deleted file mode 100644 index 49ade9c0169e..000000000000 --- a/setup_native/source/win32/customactions/inst_msu/inst_msu_msi.def +++ /dev/null @@ -1,5 +0,0 @@ -LIBRARY "inst_msu_msi.dll" -EXPORTS - UnpackMSUForInstall - InstallMSU - CleanupMSU
\ No newline at end of file |