aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/Win32BuildSetup/genNsisInstaller.nsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi
index 387bc7ed1a..83016dbf7f 100644
--- a/project/Win32BuildSetup/genNsisInstaller.nsi
+++ b/project/Win32BuildSetup/genNsisInstaller.nsi
@@ -97,8 +97,9 @@ Section "${APP_NAME}" SecAPP
Var /GLOBAL INSTDIR_OLD
ReadRegStr $INSTDIR_OLD HKCU "Software\XBMC" ""
${IfNot} $INSTDIR_OLD == ""
- IfFileExists "$APPDATA\XBMC\*.*" 0 +2
+ IfFileExists "$APPDATA\XBMC\*.*" 0 +3
Rename "$APPDATA\XBMC\" "$APPDATA\${APP_NAME}\"
+ MessageBox MB_OK|MB_ICONEXCLAMATION|MB_TOPMOST|MB_SETFOREGROUND "Your current XBMC userdata folder was moved to the new ${APP_NAME} userdata location.$\n.This to make the transition as smooth as possible without any user interactions needed."
${IfNot} $INSTDIR_OLD == $INSTDIR
IfFileExists $INSTDIR_OLD\portable_data\*.* 0 +3