Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-14199

Desktop shortcut and installer names are weird

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 3.4.10, 3.4.11, 3.4.12
    • General
    • None
    • Minor

    Description

      Hi, Atlassian folks,

      A couple minor naming and identification issues with the Sourcetree installation stuff.

      Some of the names used by items in the Sourcetree installer and the things it creates have weird names. This includes the identification of the installer program itself, and the desktop shortcut.

      This is for Sourcetree Enterprise 3.4.12, but I've noticed this going on for a while with other versions and non-Enterprise, too. I'm running on Windows 11 Enterprise Multi-Session, but have noticed these things on regular Windows 10 Pro, Windows Server 2019, and I think Windows Server 2022 as well.

      For the Enterprise MSI installer version, file SourcetreeEnterpriseSetup_3.4.12.msi:

      • With 3.4.12, When requesting elevation during the install process (when you click the "Install" button with the shield icon and a Windows "do you want to allow this program to make changes to your computer?" screen pops up to ask for Administrator rights), the program is identified by name as "13ce64.msi" or "13cf77.msi" or some other weird random-looking name, that seems to vary between runs. Same with 3.4.11.
      • 3.4.10 and the few versions before that I tried don't have the weird file names, and identify the file by its regular actual path as stored on the machine. But they say it's from "an unknown publisher" and there's no certificate or signing details. That file name is more understandable in that it's easier to tell which program on my computer is requesting elevation, but it seems less trustworthy.

      Did you just start signing the Enterprise MSI installers in version 3.4.11? Maybe you need to use the `/d` option to `signtool` as discussed in this Stack Overflow answer? https://stackoverflow.com/questions/4315840/the-uac-prompt-shows-a-temporary-random-program-name-for-msi-can-the-correct-na?]

      • Similar issue with uninstallation. When doing an uninstall from the Windows Control Panel and it prompts for elevation, it identifies the program as like "C:\Windows\Installer\334948.msi" (for Sourcetree 3.4.9 I tested just now) or "...\334a5a.msi" for Sourcetree 3.4.10, or "334b69.msi" (with now path, just the base file name).
      • Sourcetree Enterprise 3.4.12 (and some previous versions) create a desktop shortcut whose comment is "Description of Test Setup".
      • Regular (non-Enterprise) user Sourcetree 3.4.10 and 3.4.12 create a desktop shortcut whose comment is "SourceTree" with a capital "T"; I think you usually style it "Sourcetree".
      • If you have both regular Sourcetree and Sourcetree Enterprise installed, they look about the same in the "Programs and Features" Control Panel's default view, so it's hard to tell which to select if you want to uninstall or otherwise act on one of them. One is "SourceTree" version "3.4.12", and the other is "Sourcetree" version "3.4.12.0" (with the zero), but I don't know which of those indicates Enterprise. (You need to go in to the column selector, choose More, and add Location, and then know that the Enterprise version is installed under the main %PROGRAMFILES% (and may show with a blank Location instead here) and user is under the user's %APPDATA%. Kind of an advanced move. But I guess if you're using Enterprise you're maybe advanced already?) Maybe the Name of one of them should be "Sourcetree Enterprise"? 
        • The "SourceTree" one is non-Enterprise user Sourcetree, I think.
        • The installation Location being blank is a minor bummer too. 

      I'm attaching some various screenshots.

      Thanks for considering this! (And sorry for my bad Jira formatting here.)

      Cheers,
      Andrew

       

       

       

       

       

       

       

       

       

      Attachments

        1. image-2023-05-12-09-43-21-164.png
          image-2023-05-12-09-43-21-164.png
          42 kB
        2. image-2023-05-12-09-43-21-212.png
          image-2023-05-12-09-43-21-212.png
          37 kB
        3. image-2023-05-12-09-43-21-271.png
          image-2023-05-12-09-43-21-271.png
          57 kB
        4. image-2023-05-12-09-43-21-326.png
          image-2023-05-12-09-43-21-326.png
          40 kB
        5. image-2023-05-12-09-43-21-399.png
          image-2023-05-12-09-43-21-399.png
          75 kB
        6. image-2023-05-12-09-43-21-467.png
          image-2023-05-12-09-43-21-467.png
          69 kB
        7. image-2023-05-12-09-43-21-537.png
          image-2023-05-12-09-43-21-537.png
          73 kB
        8. image-2023-05-12-09-43-21-604.png
          image-2023-05-12-09-43-21-604.png
          63 kB
        9. image-2023-05-12-09-43-21-681.png
          image-2023-05-12-09-43-21-681.png
          60 kB
        10. image-2023-05-12-09-43-21-772.png
          image-2023-05-12-09-43-21-772.png
          66 kB
        11. image-2023-05-12-09-43-21-852.png
          image-2023-05-12-09-43-21-852.png
          80 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              9630500507bd Andrew Janke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: