Community
    • Login

    URL to always download the current version of software

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 1.4k 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.
    • Jeff Thomas245J
      Jeff Thomas245
      last edited by

      I am using Microsoft System Center Config Mgr. (SCCM) 1802

      For other software packages I have scripts that will always download the latest “MSI installer” version of the software and that download “url” doesn’t change. How can i script the download of the latest version of this software.

      My script would look at that “url” and “get” the current notepad plus plus “msi” and i already have another script that i use to install that downloaded package into my operating system deployment task sequence.

      vbs script or powershell script either one will do. or do any of you use another app that accomplishes the same task of automating this software download?

      Any help with this will be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • chcgC
        chcg
        last edited by

        See https://notepad-plus-plus.org/repository/, there seems to be no link to the latest version. Seems the path has to be adapted manually or with some version check script.

        1 Reply Last reply Reply Quote 1
        • J TamJ
          J Tam
          last edited by J Tam

          1. The keeper of the repository could add a DOS JUNCTION (junction.exe) or a *nix symbolic link (ln -s) named LATEST_VERSION in the top level directory of the “repository/” host. Have you thought about writing code and submitting it?
          2. You could get the all-versions.html file, and parse it for the regexp: “Current Version”, then parse the line(s) the expression occurs on. This yields the canonical versionNumber. Now back-substitute this into the standard download URI and Robert is your aunt’s brother.
          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors