summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--windows/nsis-plugins/src/msiutil/msiutil.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/windows/nsis-plugins/src/msiutil/msiutil.cpp b/windows/nsis-plugins/src/msiutil/msiutil.cpp
index 4374832505..b4d8f92521 100644
--- a/windows/nsis-plugins/src/msiutil/msiutil.cpp
+++ b/windows/nsis-plugins/src/msiutil/msiutil.cpp
@@ -125,6 +125,7 @@ void __declspec(dllexport) NSISCALL SilentInstall
ss << L"Install failed: " << installResult;
pushstring(ss.str().c_str());
pushint(NsisStatus::GENERAL_ERROR);
+ return;
}
pushstring(L"");
@@ -189,9 +190,10 @@ void __declspec(dllexport) NSISCALL SilentUninstall
if (ERROR_SUCCESS != installResult)
{
std::wstringstream ss;
- ss << L"Install failed: " << installResult;
+ ss << L"Uninstall failed: " << installResult;
pushstring(ss.str().c_str());
pushint(NsisStatus::GENERAL_ERROR);
+ return;
}
pushstring(L"");