Community
    • Login

    x64 Updates

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 522 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Thor SparksT
      Thor Sparks
      last edited by Thor Sparks

      I have the x64 version installed and I am being notified that there is new version available. When I start the update, it warns that I have x64 installed but I am upgrading to an x86 version. This is happening for the current v8.6 update and for the prior update before v8.5.7.0. Not sure which version that was. (v8.5.7.0 update worked as intended. Updating my x64 version with an x64 version).
      Is there a setting somewhere that is allowing my app to consider x86 versions as a viable update or is this an issue with the posted updates for all?

      mkupperM 1 Reply Last reply Reply Quote 1
      • mkupperM
        mkupper @Thor Sparks
        last edited by mkupper

        @Thor-Sparks Can you post your ? / Debug Info data here?

        To check for updates Notepad++ launches GUP.exe and passes parameters to it with the current Notepad++ version plus if it’s x32 or x64. GUP.exe checks the https://notepad-plus-plus.org/update/getDownloadUrl.php web page, passing the version number and x32/64 on to it.

        If you have Notepad++ 8.5.3 for example the URLs should look like:

        https://notepad-plus-plus.org/update/getDownloadUrl.php?version=8.53&param=x86

        which returns:

        <GUP>
        <NeedToBeUpdated>yes</NeedToBeUpdated>
        <Version>8.6</Version>
        <Location>https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.6/npp.8.6.Installer.exe</Location>
        </GUP>
        

        and

        https://notepad-plus-plus.org/update/getDownloadUrl.php?version=8.53&param=x64

        which returns:

        <GUP>
        <NeedToBeUpdated>yes</NeedToBeUpdated>
        <Version>8.6</Version>
        <Location>https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.6/npp.8.6.Installer.x64.exe</Location>
        </GUP>
        

        For both of those the results looked correct.

        The version numbers used by the GUP system are formatted as #.## and not #.#.# which is why I used 8.53 for 8.5.3

        Since you have an error pop-up about x32/64 then leave the pop-up open and from a command prompt do

        cd /d %TEMP%
        dir /od
        

        The bottom of the directory listing should show some recent directories or files related to the installer being run. It should be npp.8.6.Installer.x64.exe in your case.

        To learn more about the update process see https://community.notepad-plus-plus.org/topic/17257/guide-how-to-correctly-check-for-available-notepad-updates-using-your-web-browser

        Thor SparksT 1 Reply Last reply Reply Quote 4
        • Thor SparksT
          Thor Sparks @mkupper
          last edited by Thor Sparks

          I’m not able to “at” you due to it being detected as a link.
          Thank you for your quick and very thorough response mkupper!
          It led me to discover that my work computer was using a 32bit install rather than the 64bit install I normally use.

          Notepad++ v8.5.7 (32-bit)
          Build time : Sep 6 2023 - 23:07:35

          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors