Fix incorrect return code check.

This commit is contained in:
Aric Stewart 2004-12-22 18:15:50 +00:00 committed by Alexandre Julliard
parent 760dae9abe
commit d0c971a62c
1 changed files with 1 additions and 1 deletions

View File

@ -659,7 +659,7 @@ UINT ACTION_DoTopLevelINSTALL(MSIPACKAGE *package, LPCWSTR szPackagePath,
}
check = PACKAGE_GetProperty(package, cszSourceDir);
if (check)
if (!check)
{
MSI_SetPropertyW(package, cszSourceDir, path);
HeapFree(GetProcessHeap(), 0, check);