Properly get the old install path. Fixes #4806 now.

This commit is contained in:
Andreas 2015-04-29 19:06:27 +02:00
parent 1e2fa10747
commit 150270aa54
1 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,10 @@ SetCompressor /SOLID lzma
Name "${PRODUCT_NAME}"
OutFile "${PRODUCT_NAME}Setup-@CLEMENTINE_VERSION_SPARKLE@.exe"
InstallDir "${PRODUCT_INSTALL_DIR}"
; Get the path where Clementine was installed previously and set it as default path
InstallDirRegKey ${PRODUCT_UNINST_ROOT_KEY} ${PRODUCT_UNINST_KEY} "UninstallString"
ShowInstDetails show
ShowUnInstDetails show
@NORMAL@RequestExecutionLevel admin