From dc3c17019cd97bb08cdcb5caeb6f04984b1c1ba2 Mon Sep 17 00:00:00 2001 From: "Vladimir.Orlov" Date: Fri, 11 Mar 2016 11:20:44 +0300 Subject: [PATCH] removed outdated logic from win installer - comparing build numbers to install over an old one in some cases. Cleanup. --- build/conf/nsis/idea.nsi | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/build/conf/nsis/idea.nsi b/build/conf/nsis/idea.nsi index c7a62e0dbcae..479913054dc6 100644 --- a/build/conf/nsis/idea.nsi +++ b/build/conf/nsis/idea.nsi @@ -248,18 +248,10 @@ FunctionEnd Function OnDirectoryPageLeave ;check - ; - if there are no files into $INSTDIR (recursively) just excepted property files - ; - if property files have the same installation time. + ; - if there are no files into $INSTDIR (recursively) StrCpy $9 "$INSTDIR" Call instDirEmpty - StrCmp $9 "not empty" abort 0 - Push "Complete" - Push "$INSTDIR\bin\${PRODUCT_EXE_FILE}.vmoptions" - Push "$INSTDIR\bin\idea.properties" - ${StrRep} $0 ${PRODUCT_EXE_FILE} ".exe" "64.exe.vmoptions" - Push "$INSTDIR\bin\$0" - Call compareFileInstallationTime - StrCmp $9 "Modified" abort skip_abort + StrCmp $9 "not empty" abort skip_abort abort: MessageBox MB_OK|MB_ICONEXCLAMATION "$(empty_or_upgrade_folder)" Abort