From 5f875b09123342d230d3db47251661084655d067 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Thu, 4 May 2006 00:23:17 -0500 Subject: [PATCH] advpack: DelDirs should only remove a directory if it's empty. --- dlls/advpack/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/advpack/install.c b/dlls/advpack/install.c index 544915db458..2feadeebd27 100644 --- a/dlls/advpack/install.c +++ b/dlls/advpack/install.c @@ -87,7 +87,7 @@ static HRESULT del_dirs_callback(HINF hinf, PCWSTR field, void *arg) MAX_INF_STRING_LENGTH, &size)) continue; - if (DelNodeW(directory, 0)) + if (DelNodeW(directory, ADN_DEL_IF_EMPTY)) hr = E_FAIL; }