From 03e786c049b6668e2605f58086ae4d8489a5e992 Mon Sep 17 00:00:00 2001 From: "Vladimir.Orlov" Date: Thu, 10 Mar 2016 17:13:54 +0300 Subject: [PATCH] removed outdated logic from win installer - comparing build numbers to install over an old one in some cases. --- build/conf/nsis/idea.nsi | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/build/conf/nsis/idea.nsi b/build/conf/nsis/idea.nsi index 2b5bd492af2f..c7a62e0dbcae 100644 --- a/build/conf/nsis/idea.nsi +++ b/build/conf/nsis/idea.nsi @@ -247,32 +247,6 @@ Function VersionSplit FunctionEnd Function OnDirectoryPageLeave - StrCpy $IS_UPGRADE_60 "0" - ${InstDirState} "$INSTDIR" $R0 - IntCmp $R0 1 check_build skip_abort skip_abort -check_build: - FileOpen $R1 "$INSTDIR\build.txt" "r" - IfErrors do_abort - FileRead $R1 $R2 - FileClose $R1 - IfErrors do_abort - ${VersionSplit} ${MIN_UPGRADE_BUILD} $R3 $R4 $R5 - ${VersionSplit} ${MAX_UPGRADE_BUILD} $R6 $R7 $R8 - ${VersionSplit} $R2 $R9 $R2 $R0 - StrCmp $R9 $R3 0 do_abort - IntCmp $R2 $R4 0 do_abort - IntCmp $R0 $R5 do_accept do_abort - - StrCmp $R9 $R6 0 do_abort - IntCmp $R2 $R7 0 0 do_abort - IntCmp $R0 $R8 do_abort do_accept do_abort - -do_accept: - StrCpy $IS_UPGRADE_60 "1" - FileClose $R1 - Goto skip_abort - -do_abort: ;check ; - if there are no files into $INSTDIR (recursively) just excepted property files ; - if property files have the same installation time.