mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 17:54:16 +01:00
MDEV-30374 Windows, MSI - do not cache error, if install directory changes.
If installation directory is not empty, MSI would shows a popup informing user about it. The error message is stored as MSI property INSTALLDIRERROR. Fixed the bug that the error was not cleared, when the user changes directory in installer UI.
This commit is contained in:
parent
56c9b0bca0
commit
5aa58a0d39
1 changed files with 4 additions and 0 deletions
|
@ -202,7 +202,11 @@ extern "C" UINT __stdcall CheckInstallDirectory(MSIHANDLE hInstall)
|
|||
swprintf(msg,countof(msg), L"Installation directory '%s' exists and is not empty. Choose a "
|
||||
"different install directory",path);
|
||||
WcaSetProperty(L"INSTALLDIRERROR", msg);
|
||||
goto LExit;
|
||||
}
|
||||
|
||||
WcaSetProperty(L"INSTALLDIRERROR", L"");
|
||||
|
||||
LExit:
|
||||
ReleaseStr(path);
|
||||
return WcaFinalize(er);
|
||||
|
|
Loading…
Add table
Reference in a new issue