OPENIDE windows installers update

This commit is contained in:
axiom
2025-03-07 19:07:24 +03:00
committed by Nikita Iarychenko
parent 7b68e06a97
commit b69093e211

View File

@@ -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
!addplugindir "${NSIS_DIR}\Plugins\x86-unicode"
@@ -440,7 +442,7 @@ Page custom uninstallOldVersionDialog
Page custom ConfirmDesktopShortcut
!define MUI_PAGE_HEADER_TEXT "$(choose_start_menu_folder)"
!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "JetBrains"
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "OpenIDE"
!insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER
!define MUI_ABORTWARNING
@@ -593,9 +595,9 @@ Function IncorrectSilentInstallParameters
!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
@@ -1241,9 +1243,9 @@ skip_ipr:
WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_WITH_VER}" \
"DisplayVersion" "${VER_BUILD}"
WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_WITH_VER}" \
"Publisher" "JetBrains s.r.o."
"Publisher" "OpenIDE"
WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_WITH_VER}" \
"URLInfoAbout" "https://www.jetbrains.com/products"
"URLInfoAbout" "https://www.openide.ru"
WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_WITH_VER}" \
"InstallType" "$baseRegKey"
WriteRegDWORD SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_WITH_VER}" \