1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-03 19:02:56 +02:00

TWK-410: possible fix

This commit is contained in:
Dominik Schmidt
2011-08-21 03:22:40 +02:00
committed by Christian Muehlhaeuser
parent bc3bcc708f
commit d217e7fae0

View File

@@ -203,7 +203,7 @@ Function PageReinstall
IntCmp $R0 ${VER_MINOR} build_check new_version older_version
build_check:
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionBuild"
IntCmp $R0 ${VER_BUILD} new_version older_version
IntCmp $R0 ${VER_BUILD} same_version new_version older_version
new_version:
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "An older version of Tomahawk is installed on your system. It is recommended that you uninstall the current version before installing. Select the operation you want to perform and click Next to continue."