Commit cafbad3f authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Don't fail if the directory already exists in MsiCreateAndVerifyInstallerDirectory.

parent 86f077b1
......@@ -3810,7 +3810,7 @@ UINT WINAPI MsiCreateAndVerifyInstallerDirectory(DWORD dwReserved)
lstrcatW(path, installerW);
if (!CreateDirectoryW(path, NULL))
if (!CreateDirectoryW(path, NULL) && GetLastError() != ERROR_ALREADY_EXISTS)
return ERROR_FUNCTION_FAILED;
return ERROR_SUCCESS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment