diff options
author | Memphiz <memphis@machzwo.de> | 2014-10-12 16:01:41 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2014-10-19 21:35:01 +0200 |
commit | 43fed63a6edf312ef31be8e9d472f7935707cd03 (patch) | |
tree | 814c2754f9ed5680b778adfd2f69109141f5230d /project/Win32BuildSetup/genNsisInstaller.nsi | |
parent | 8e7686c8f74dec910af253055f9e3e5f99437d9c (diff) |
[rebrand] - show migration info IF the configuration data was moved during installation and link the user to the wiki. Show this dialog only once.
Diffstat (limited to 'project/Win32BuildSetup/genNsisInstaller.nsi')
-rw-r--r-- | project/Win32BuildSetup/genNsisInstaller.nsi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi index 56a72a8ba0..a3d3c03181 100644 --- a/project/Win32BuildSetup/genNsisInstaller.nsi +++ b/project/Win32BuildSetup/genNsisInstaller.nsi @@ -109,6 +109,10 @@ Function HandleUserdataMigration ${AndIfNot} ${FileExists} "$APPDATA\${APP_NAME}\*.*" 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.$\nThis to make the transition as smooth as possible without any user interactions needed." + ;mark that it was migrated in the filesystem - kodi will show another info message during first Kodi startup + ;for really making sure that the user has read that message. + FileOpen $0 "$APPDATA\${APP_NAME}\.kodi_data_was_migrated" w + FileClose $0 ${EndIf} ${Else} ; old installation was found but not uninstalled - inform the user @@ -438,4 +442,4 @@ Function .onInit IntOp $0 ${SF_SELECTED} | ${SF_RO} SectionSetFlags ${SEC_DIRECTX} $0 StrCpy $CleanDestDir "-1" -FunctionEnd
\ No newline at end of file +FunctionEnd |