From 4e76f3ccc482e71fef9af2a8a58737c52bea193d Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 22 Jan 2016 15:39:53 -0800 Subject: [PATCH] use RMDir for removal of old SC dirs --- cmake/templates/NSIS.template.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 0154d690b7..bdf2b50b3c 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -688,8 +688,8 @@ Section "-Core installation" ;Delete any server-console files installed before it was placed in sub-folder ;This is temporary and can be removed once users who had the initial installer have updated Delete "$INSTDIR\server-console.exe" - Delete "$INSTDIR\locales" - Delete "$INSTDIR\resources\app" + RMDir /r "$INSTDIR\locales" + RMDir /r "$INSTDIR\resources\app" Delete "$INSTDIR\resources\atom.asar" Delete "$INSTDIR\build-info.json" Delete "$INSTDIR\content_resources_200_percent.pak"