Tapatalk

UltraEdit only using UltraCompare Lite

UltraEdit only using UltraCompare Lite

231
Basic UserBasic User
231

    Nov 30, 2016#1

    Hello

    I have the full versions of UltraEdit and UltraCompare, but Compare in UltraEdit is only using UltraCompare Lite and not the Professional version.

    How can I force UltraEdit to use UltraCompare Professional?

    Thanks

    19176
    MasterMaster
    19176

      Nov 30, 2016#2

      Hi,

      both are 64-bit (or 32-bit)? On my machines UE 64-bit uses UC Prof. 64-bit if installed.

      BR, Fleggy

      231
      Basic UserBasic User
      231

        Nov 30, 2016#3

        Hello, both products are installed as 64 bit.

        19176
        MasterMaster
        19176

          Nov 30, 2016#4

          Have you tried to reinstall UC? I don't know how UE checks UC Prof. availability but I think that reinstallation should repair it.

          6,685587
          Grand MasterGrand Master
          6,685587

            Nov 30, 2016#5

            First, copying the program files of UltraEdit or UltraCompare from another computer is not installing the applications. UltraEdit and UltraCompare work with just copying the program files for the shareware testing period and unlimited after activating the license, but those registry keys added by the installers of UC and UE are missing which are used by both applications to detect existence of the other application.

            Second, I install UC and UE always for all users of the computer although I'm the only human user using the computers with by default only one user account. This requires administrator privileges for the installation as the installers of UE or UC add registry keys to HKEY_LOCAL_MACHINE (HKLM) on installing for all users of the computer. For that reason I don't know how registration is done by the installers when installing UC and UE just for current user without administrator privileges which means no write access to HKLM.

            Bird201, do you have really executed the installers of UltraCompare and UltraEdit?

            Do you have installed UC or UE or perhaps even both for current user only?

            I suggest also opening Windows Control Panel - Programs and Features, navigate to UltraCompare and select it, click on button Change and choose Repair as fleggy suggested already if there is such an option which depends on version of UC and UE respectively their installers not mentioned in your posts until now.

            I know how to add the UltraCompare registry keys required for UltraEdit to detect installed UC Professional. I have even a batch file which toggles those keys for easy switching between UC Lite and UC Prof. for testing purposes. But you need administrator privileges for making those changes in Windows registry and I need the real program files path of UltraCompare on your computer.
            Best regards from an UC/UE/UES for Windows user from Austria

            231
            Basic UserBasic User
            231

              Nov 30, 2016#6

              Hello Mofi, thanks for your reply.

              Yes I have installed both products, I have not copied them. I requested admin rights to my PC to install them. I will ask for admin rights again and check to see if I have installed for just me, or for all users.

              I am not at work at the moment, so I will find out the install path and let you know. Thanks for your help!

              19176
              MasterMaster
              19176

                Nov 30, 2016#7

                Hi,

                so you installed both programs using your account (not as an administrator) with temporarily assigned administrator privileges?

                I think it should work but I am not a security expert...

                Maybe it should be worthy to ask IDM about recommended installation procedure in the situation like this.

                BR, Fleggy

                6,685587
                Grand MasterGrand Master
                6,685587

                  Dec 01, 2016#8

                  The Microsoft article Application Registration explains registration of applications on Windows.

                  The installers of all applications developed by IDM Computer Solutions, Inc. do that application registration.

                  What must be taken into account during installation process for correct application registration:
                  1. Bit width of Windows - 32-bit or 64-bit - on which the application is installed.

                    The bit width of Windows can be seen in Windows Control Panel - System which can be opened since Windows 95 by pressing Win+Break (pressing and holding Windows key and additionally pressing key Break (German: Pause) which on notebooks often requires pressing additionally the key Fn for Break key code). 32-bit Windows does not show any information about bit width in this window. 64-bit Windows display 64 in block with operating system information.

                    The bit width of the processor does not matter. On a computer with a 64-bit processor there can be installed nevertheless 32-bit Windows which means 64-bit applications can't be used although the CPU would support them.
                  2. Bit width of application

                    Only 32-bit applications can be installed on 32-bit Windows. But it is possible to install 32- or 64-bit applications on 64-bit Windows.

                    The bit width of the application on 64-bit Windows determine to which registry keys the application has access according to Microsoft article Registry Keys Affected by WOW64 (WOW = Windows on Windows).
                  3. Installation for current user only or all users

                    An installation done for current user only does not require an elevation to a user account with enhanced privileges which means everyone can install the application just for usage by own user account. This means write access is only possible to HKEY_CURRENT_USER registry hive for the installer.

                    An installation for all users requires either administrator privileges (user account has administrator rights) or elevation to special user account Trusted Installer (Windows Vista and later Windows) with a user prompt if the application should be really installed with the enhanced privileges the Trusted Installer account has. This means write access is also possible to HKEY_LOCAL_MACHINE registry hive for the installer.
                  4. Installation folder

                    By default 32-bit applications on 32-bit Windows and 64-bit applications on 64-bit Windows are installed to %ProgramFiles% which expands on Windows Vista and later Windows usually to C:\Program Files.

                    By default 32-bit applications on 64-bit Windows are installed to %ProgramFiles(x86)% which expands on 64-bit Windows Vista and later 64-bit Windows usually to C:\Program Files (x86).

                    But the user installing an IDM Computer Solutions, Inc. purchased application has the possibility to specify during installation any other installation directory than the default which I always use on my computers simply to have them all installed in same directory on all of my computers.
                  5. Name of executable file

                    Sometimes the name of the executable file depends on bit width of the application. For example 32-bit UltraEdit has uedit32.exe while 64-bit UltraEdit has as file name uedit64.exe.

                    However, the application registration must be done with the name of the executable of the application.
                  There are 4 different possible keys on which an application can be registered in Windows registry.
                  1. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths

                    is for 32-bit applications on 32-bit Windows or 64-bit applications on 64-bit Windows installed for all users.
                  2. HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths

                    is for 32-bit applications on 64-bit Windows installed for all users.
                  3. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths

                    is for 32-bit applications on 32-bit Windows or 64-bit applications on 64-bit Windows installed for current user only.
                  4. HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths

                    is for 32-bit applications on 64-bit Windows installed for current user only.
                  The application is registered by adding to the appropriate registry key one more key with name of the executable file with the default string of this key being file name of executable with full path. Optionally one more string value can be added with name Path containing only the path to the application's executable. The installers of IDM applications add the Path string value, too.

                  UltraCompare, UltraEdit, UEStudio, UltraSentry and UltraFinder use those application registration information to detect existence of other IDM applications.

                  Example registry file for manually registering 64-bit UltraCompare installed on a 64-bit Windows for all users with using default installation folder with program files folder for 64-bit Windows applications being located on drive C: as on usual Windows installations.

                  REGEDIT4

                  [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\uc.exe]
                  @="C:\\Program Files\\IDM Computer Solutions\\UltraCompare\\uc.exe"
                  "Path"="C:\\Program Files\\IDM Computer Solutions\\UltraCompare\\"

                  [HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths\uc.exe]
                  @="C:\\Program Files\\IDM Computer Solutions\\UltraCompare\\uc.exe"
                  "Path"="C:\\Program Files\\IDM Computer Solutions\\UltraCompare\\"


                  The second key with Wow6432Node\ makes sure that even a 32-bit UltraEdit can detect and run 64-bit UltraCompare on 64-bit Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP on which Microsoft\Windows\CurrentVersion\App Paths is just redirected and not shared as on Windows 7 and Windows Server 2008 R2 and later Windows versions.

                  Copying the 8 lines above into a text file, saving the file for example as RegisterUltraCompare.reg after adapting all paths, file names and keys according to the criteria listed above and double clicking this registry file to import into Windows registry results in making the application registration manually.

                  The installers of the IDM products add some more registry keys to Windows registry. But the application registration under App Paths is the absolute minimum required for the IDM applications to detect other installed IDM applications.

                  To be continued ...
                  Best regards from an UC/UE/UES for Windows user from Austria

                  231
                  Basic UserBasic User
                  231

                    Dec 07, 2016#9

                    Mofi, thank you for this excellent help. It is a very comprehensive post that I'm sure will help others also.

                    Both products were installed for all users, and I have determined that uc.exe was missing its registry keys. I have installed these keys, and I now have the desired behaviour when launching Ultracompare from Ultraedit.