Recommendations on updating from UE/UES ≤ v2024.0.0.28 to ≥ v2024.0.0.35

Recommendations on updating from UE/UES ≤ v2024.0.0.28 to ≥ v2024.0.0.35

6,635551
Grand MasterGrand Master
6,635551

    14:59 - 13 days ago#1

    I have some recommendations on upgrading or updating from UltraEdit for Windows or UEStudio v2024.0.0.28 to v2024.0.0.35. It is possible to simply update to currently latest version of UE/UES but following the recommendations below results in a cleaner upgrade/update of UE/UES.

    Attention: %ProgramFiles% and %APPDATA% as used below multiple times are environment variable references. Open a command prompt window and run set ProgramFiles and set APPDATA to get displayed the directory paths of these two environment variables.

    First make sure that an upgrade/update is legitimated by the used license at all. There can be used the built-in Check for updates menu item respectively button. But do not immediately run the update on the dialog window opens which tells you that an update is available which is valid for the used license.

    Then close all instances of UltraEdit and UEStudio. Download the suitable installer (EXE or MSI) of the new version of UltraEdit / UEStudio from the UltraEdit download page and the UEStudio download page.

    UltraEdit for Windows and UEStudio v2024.0.0.35 are installed with an updated tag list file taglist.uet (ANSI encoded) in the program files folder of UE/UES and an updated syntax highlighting wordfile javascript.uew (ANSI encoded) for JavaScript in the subfolder wordfiles in the program files folder of UE/UES. These two files are not directly used by UE/UES started by a user. There are used instead TAGLISTU.uet (UTF16-LE encoded with BOM) and javascript.uew (ANSI encoded) in the subfolder wordfiles in the application data folder of UE/UES. The two files are updated with the UltraEdit script properties and methods introduced already with UE/UES v2024.0.0.28.

    The two files in the application data folder tree can be customized at any time by a user. They are never updated for that reason by UE/UES on first startup of UE/UES after an upgrade/update on already existing in the application directory tree even if the corresponding files in the program files folder tree are newer than those in the application data folder tree. They are only copied to the application data folder tree on entire application data folder respectively the entire subfolder wordfiles in the application data folder does not exist on startup of UltraEdit / UEStudio.

    I recommend making a backup of these two files first. Open a command prompt window and run the following commands by selecting and copying them here and pasting them with a right click into the command prompt window:

    Code: Select all

    if exist "%APPDATA%\IDMComp\UltraEdit\TAGLISTU.uet" copy "%APPDATA%\IDMComp\UltraEdit\TAGLISTU.uet" "%APPDATA%\IDMComp\UltraEdit\TAGLISTU.uet.bak"
    if exist "%APPDATA%\IDMComp\UltraEdit\wordfiles\javascript.uew" copy "%APPDATA%\IDMComp\UltraEdit\wordfiles\javascript.uew" "%APPDATA%\IDMComp\UltraEdit\wordfiles\javascript.uew.bak"
    if exist "%APPDATA%\IDMComp\UEStudio\TAGLISTU.uet" copy "%APPDATA%\IDMComp\UEStudio\TAGLISTU.uet" "%APPDATA%\IDMComp\UEStudio\TAGLISTU.uet.bak"
    if exist "%APPDATA%\IDMComp\UEStudio\wordfiles\javascript.uew" copy "%APPDATA%\IDMComp\UEStudio\wordfiles\javascript.uew" "%APPDATA%\IDMComp\UEStudio\wordfiles\javascript.uew.bak"
    
    Uninstall now UltraEdit and UEStudio without deactivating the license (uncheck this uninstaller option) and without removal of the application settings (keep this uninstaller option unchecked). Restart Windows to complete the uninstall process.

    An uninstall of the program files of UltraEdit / UEStudio should be done because of UE/UES ≥ v2024.0.0.35 are installed with files which have a different file name. For example, the ICU library files icu??68.dll of ICU version 68.2 are replaced by icu??74.dll of ICU version 74.2. The installer of UE/UES ≥ v2024.0.0.35 does not automatically uninstall first the three files icu??68.dll before the three new files icu??74.dll are installed together with the other updated program files. There would exist all six library files in the program files folder of UE/UES on doing a simple update installation without doing first a compete uninstall although the older three files are no longer used and just occupy hard disk space. (The uninstaller removes all six DLL files on running them later if there is done a simple update without an uninstall before.) There are not installed anymore three other library files and one executable with UE/UES ≥ v2024.0.0.35.

    After the installation of the new version, open a command prompt window and run the following commands. Please adjust the program files folder path on having changed the installation path during the installation.

    Code: Select all

    if exist "%ProgramFiles%\IDM Computer Solutions\UltraEdit\taglist.uet" copy /Y "%ProgramFiles%\IDM Computer Solutions\UltraEdit\taglist.uet" "%APPDATA%\IDMComp\UltraEdit\TAGLISTU.uet"
    if exist "%ProgramFiles%\IDM Computer Solutions\UltraEdit\wordfiles\javascript.uew" copy /Y "%ProgramFiles%\IDM Computer Solutions\UltraEdit\wordfiles\javascript.uew" "%APPDATA%\IDMComp\UltraEdit\wordfiles\"
    if exist "%ProgramFiles%\IDM Computer Solutions\UEStudio\taglist.uet" copy /Y "%ProgramFiles%\IDM Computer Solutions\UEStudio\taglist.uet" "%APPDATA%\IDMComp\UEStudio\TAGLISTU.uet"
    if exist "%ProgramFiles%\IDM Computer Solutions\UEStudio\wordfiles\javascript.uew" copy /Y "%ProgramFiles%\IDM Computer Solutions\UEStudio\wordfiles\javascript.uew" "%APPDATA%\IDMComp\UEStudio\wordfiles\"
    
    Start now UE/UES and click
    • in ribbon mode on eighth ribbon tab Layout on the check box item Tags
    • in toolbar/menu mode with contemporary menus in eighth menu Layout on the menu item Tags
    • in toolbar/menu mode with traditional menus in sixth menu View in submenu Views/lists in submenu Lists on the menu item Tag list.
    Right click into the opened list view Tag List for opening its context menu and click on the context menu item Modify Tags. The window can be increased in width and height. The fully qualified file name of the used tag list file is displayed in this window. The default is the file TAGLISTU.uet in the application data directory of UltraEdit / UEStudio. A completely different, customized tag list file is used if there is displayed the file name of a different file. The created backup file TAGLISTU.uet.bak can be simply deleted in this case. Click on button OK without making any modification in the dialog window. That action results in UE/UES converting the tag list file now from ANSI to UTF-16 LE with BOM.

    Open Advanced - Settings or Configuration - Editor display - Syntax Highlighting and look on full directory path for wordfiles. A different directory with most likely fully customized wordfiles is used if there is displayed a directory path which is not %APPDATA%\IDMComp\UltraEdit\wordfiles. The created backup file javascript.uew.bak can be simply deleted in this case.

    There should be opened in UE/UES the files TAGLISTU.uet and TAGLISTU.uet.bak from the UE/UES application data folder and a file comparison should be executed with UC Lite or UC Prof. to verify the changes. If the tag list file was indeed customized in the past, the customizations should be merged into the new default tag list file and best verified if being finally listed in the Tag List view. Then the backup file TAGLISTU.uet.bak can be deleted as no longer needed.

    There should be opened in UE/UES the files javascript.uew and javascript.uew.bak from the subfolder wordfiles in the UE/UES application data folder and a file comparison should be executed with UC Lite or UC Prof. to verify the changes. If the tag list file was indeed customized in the past, the customizations should be merged into the new default syntax highlighting wordfile for JavaScript and best verified by opening a JavaScript file containing the custom words. Then the backup file javascript.uew.bak can be deleted as no longer needed.
    Best regards from an UC/UE/UES for Windows user from Austria