removed outdated logic from win installer - comparing build numbers to install over an old one in some cases. Cleanup.

This commit is contained in:
Vladimir.Orlov
2016-03-11 11:20:44 +03:00
parent de766d6474
commit dc3c17019c
+2 -10
View File
@@ -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