diff --git a/ba/ba1700.cpp b/ba/ba1700.cpp index 7a254f914..53f26103b 100755 --- a/ba/ba1700.cpp +++ b/ba/ba1700.cpp @@ -573,7 +573,7 @@ bool TInstaller_mask::move_file(const TFilename& src, const TFilename& dst) cons { TFilename dest = dst; const int reboot = needs_reboot(dest); - if (reboot > NEW_MENU) + if (reboot > NEW_MENU && dst.exist()) { dest.rtrim(1); dest << '_'; @@ -588,7 +588,7 @@ bool TInstaller_mask::move_file(const TFilename& src, const TFilename& dst) cons { subdir.add(dirs.get(c)); if (subdir.right(1) == ":" ) - subdir << '\\'; + subdir << SLASH; if (!subdir.exist() ) // build destination directory make_dir(subdir); @@ -943,7 +943,7 @@ bool TInstaller_mask::install(const TString& module, int patchlevel) src = path; src.add(dst); const int reboot = needs_reboot(dst); - if (reboot > NEW_MENU) + if (reboot > NEW_MENU && dst.exist()) { dst.rtrim(1); dst << '_';