msi: Don't fail if the directory already exists in MsiCreateAndVerifyInstallerDirectory.
This commit is contained in:
parent
86f077b163
commit
cafbad3feb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue