mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed outdated logic from win installer - comparing build numbers to install over an old one in some cases. Cleanup.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user