aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2014-10-02 14:45:06 +0200
committerMemphiz <memphis@machzwo.de>2014-10-02 14:46:44 +0200
commita94dae1a02af25c231bdb973dc5fe8085cb61677 (patch)
tree16319c72a303d3a1e4cacda1543a1986e9187985
parent6226e75e49e2a987fcb3cafec8f03a05b16ee6cc (diff)
[win32/nsis] - use ${APP_NAME} were possible
-rw-r--r--project/Win32BuildSetup/genNsisInstaller.nsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi
index c57b129177..56a72a8ba0 100644
--- a/project/Win32BuildSetup/genNsisInstaller.nsi
+++ b/project/Win32BuildSetup/genNsisInstaller.nsi
@@ -143,7 +143,7 @@ FunctionEnd
Function HandleOldKodiInstallation
Var /GLOBAL INSTDIR_KODI
- ReadRegStr $INSTDIR_KODI HKCU "Software\Kodi" ""
+ ReadRegStr $INSTDIR_KODI HKCU "Software\${APP_NAME}" ""
;if former Kodi installation was detected in a different directory then the destination dir
;ask for uninstallation
@@ -152,7 +152,7 @@ Function HandleOldKodiInstallation
${IfNot} $CleanDestDir == "0"
${AndIfNot} $INSTDIR_KODI == ""
${AndIfNot} $INSTDIR_KODI == $INSTDIR
- MessageBox MB_YESNO|MB_ICONQUESTION "A previous Kodi installation in a different folder was detected. Would you like to uninstall it?" IDYES true IDNO false
+ MessageBox MB_YESNO|MB_ICONQUESTION "A previous ${APP_NAME} installation in a different folder was detected. Would you like to uninstall it?" IDYES true IDNO false
true:
DetailPrint "Uninstalling $INSTDIR_KODI"
SetDetailsPrint none
@@ -183,7 +183,7 @@ FunctionEnd
Function DeinstallKodiInDestDir
${If} $CleanDestDir == "1"
- DetailPrint "Uninstalling former Kodi Installation in $INSTDIR"
+ DetailPrint "Uninstalling former ${APP_NAME} Installation in $INSTDIR"
SetDetailsPrint none
ExecWait '"$INSTDIR\uninstall.exe" /S _?=$INSTDIR'
SetDetailsPrint both