From b69093e21169820da785764519495f053e74be9e Mon Sep 17 00:00:00 2001 From: axiom Date: Fri, 7 Mar 2025 19:07:24 +0300 Subject: [PATCH] OPENIDE windows installers update --- build/conf/nsis/idea.nsi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/build/conf/nsis/idea.nsi b/build/conf/nsis/idea.nsi index 938ef7f6d620..47b23cd30b55 100644 --- a/build/conf/nsis/idea.nsi +++ b/build/conf/nsis/idea.nsi @@ -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 " /S /CONFIG= /D=$\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}" \