Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    File Versions are incorrect at 7.6.4+

    General Discussion
    2
    3
    392
    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.
    • KryptykHermit
      KryptykHermit last edited by

      Just realized while packaging 7.6.4, that the file version for notepad++.exe is now 7.64. Using a PowerShell script to detect the version as SCCM will not detect it using it’s internal detect method. Is this the versioning going forward? Or did someone just forget to add a decimal point?

      1 Reply Last reply Reply Quote 0
      • KryptykHermit
        KryptykHermit last edited by KryptykHermit

        Verified the same condition on 7.6.6 (shows as 7.66)

        [version]$requiredVersion = ‘7.66’
        $Path = “${ENV:ProgramFiles}\Notepad++”
        Try {
        [version]$installedVersion = (Get-Item -Path “$path\notepad++.exe” -ErrorAction “Stop”).VersionInfo.ProductVersion -as [version]
        If ($installedVersion -eq $requiredVersion) {
        Return 0
        } else {
        # remove for detection to work
        $installedVersion
        }
        } Catch {}

        Major Minor Build Revision
        ===== ===== ==== =======
        7 66 -1 -1

        Meta Chuh 1 Reply Last reply Reply Quote 0
        • Meta Chuh
          Meta Chuh @KryptykHermit last edited by Meta Chuh

          welcome to the notepad++ community, @KryptykHermit

          this has almost always been like that (except faulty versioning versions 7.6.1 to 7.6.3)
          file version will be 7.x.x.x
          product version will be 7.xx

          this product version scheme M.mm is also what the auto updater and the notepad++ update servers expect.

          if you have written your script based on 7.6.1 to 7.6.3, you will have to modify them accordingly.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors