mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
OPENIDE windows installers update
(cherry picked from commit be30f61aebddbc7af8a313827e99bb853a47278c) (cherry picked from commitc3a921943b) (cherry picked from commitae686d48f0)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
; Modified by Dmitrij Pochepko at 2025 as part of the OpenIDE project (https://openide.ru).
|
||||
; Any modifications are available on the same license terms as the original source code.
|
||||
Unicode true
|
||||
ManifestDPIAware true
|
||||
SetCompressor lzma
|
||||
@@ -40,10 +42,10 @@ OutFile "${OUT_DIR}\${OUT_FILE}.exe"
|
||||
InstallDir "${DEFAULT_INST_DIR}"
|
||||
|
||||
!define /date CURRENT_YEAR "%Y"
|
||||
VIAddVersionKey /LANG=0 "CompanyName" "JetBrains s.r.o."
|
||||
VIAddVersionKey /LANG=0 "CompanyName" "OpenIDE"
|
||||
VIAddVersionKey /LANG=0 "FileDescription" "${MUI_PRODUCT} Windows Installer"
|
||||
VIAddVersionKey /LANG=0 "FileVersion" "${VER_BUILD}"
|
||||
VIAddVersionKey /LANG=0 "LegalCopyright" "Copyright 2000-${CURRENT_YEAR} JetBrains s.r.o."
|
||||
VIAddVersionKey /LANG=0 "LegalCopyright" "Copyright 2025-${CURRENT_YEAR} OpenIDE"
|
||||
VIAddVersionKey /LANG=0 "ProductName" "${MUI_PRODUCT}"
|
||||
VIAddVersionKey /LANG=0 "ProductVersion" "${MUI_VERSION_MAJOR}.${MUI_VERSION_MINOR}"
|
||||
VIFileVersion ${FILE_VERSION_NUM}
|
||||
@@ -208,7 +210,7 @@ Page custom uninstallOldVersionDialog
|
||||
Page custom ConfirmDesktopShortcut
|
||||
|
||||
!define MUI_PAGE_HEADER_TEXT "$(choose_start_menu_folder)"
|
||||
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "${MANUFACTURER}"
|
||||
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "OpenIDE"
|
||||
!insertmacro MUI_PAGE_STARTMENU Application $startMenuFolder
|
||||
|
||||
!define MUI_PAGE_HEADER_TEXT "$(installing_product)"
|
||||
@@ -272,9 +274,9 @@ Function silentConfigReader
|
||||
!define msg1 "How to run installation in silent mode:$\n"
|
||||
!define msg2 "<installation> /S /CONFIG=<path to silent config with file name> /D=<install dir>$\n$\n"
|
||||
!define msg3 "Examples:$\n"
|
||||
!define msg4 "Installation.exe /S /CONFIG=d:\download\silent.config /D=d:\JetBrains\Product$\n"
|
||||
!define msg4 "Installation.exe /S /CONFIG=d:\download\silent.config /D=d:\OpenIDE\Product$\n"
|
||||
!define msg5 "Run installation in silent mode with logging:$\n"
|
||||
!define msg6 "Installation.exe /S /CONFIG=d:\download\silent.config /LOG=d:\JetBrains\install.log /D=d:\JetBrains\Product$\n"
|
||||
!define msg6 "Installation.exe /S /CONFIG=d:\download\silent.config /LOG=d:\OpenIDE\install.log /D=d:\OpenIDE\Product$\n"
|
||||
MessageBox MB_OK|MB_ICONSTOP "${msg1}${msg2}${msg3}${msg4}${msg5}${msg6}"
|
||||
${LogText} "ERROR: silent installation: incorrect parameters."
|
||||
Abort
|
||||
@@ -492,7 +494,7 @@ FunctionEnd
|
||||
; $R6(out) - the 'Top' position for the new checkbox
|
||||
Function getTopPosition
|
||||
IntOp $R9 $R8 - 1
|
||||
${If} $R9 = $control_fields
|
||||
${If} $R9 = $control_fields
|
||||
!insertmacro INSTALLOPTIONS_READ $R6 "UninstallOldVersions.ini" "Field $R8" "Top"
|
||||
${Else}
|
||||
!insertmacro INSTALLOPTIONS_READ $R6 "UninstallOldVersions.ini" "Field $R9" "Bottom"
|
||||
|
||||
Reference in New Issue
Block a user