Fix incorrect return code check.
This commit is contained in:
parent
760dae9abe
commit
d0c971a62c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue