diff --git a/base/applications/rapps/geninst.cpp b/base/applications/rapps/geninst.cpp index d7cc3a678e0..9fff1d2b264 100644 --- a/base/applications/rapps/geninst.cpp +++ b/base/applications/rapps/geninst.cpp @@ -370,15 +370,12 @@ InstallFiles(const CStringW &SourceDirBase, const CStringW &Spec, { success = !ErrorBox(Info.Error); } - else - { - success = AddEntry(UNOP_EMPTYDIR, uninstpath); - } if (success) { success = InstallFiles(from, filespec, to); } + AddEntry(UNOP_EMPTYDIR, uninstpath); } } else