Skip to content

Commit

Permalink
MDEV-13106 : Fix check for empty directory in MSI installer
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Jun 19, 2017
1 parent b9a326b commit 472c2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win/packaging/ca/CustomAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ extern "C" UINT __stdcall CheckDirectoryEmpty(MSIHANDLE hInstall,
empty= true;
for(;;)
{
if (wcscmp(data.cFileName, L".") || wcscmp(data.cFileName, L".."))
if (wcscmp(data.cFileName, L".") && wcscmp(data.cFileName, L".."))
{
empty= false;
break;
Expand Down

0 comments on commit 472c2d9

Please sign in to comment.