keepassxc-org icon indicating copy to clipboard operation
keepassxc-org copied to clipboard

Dynamic MSI Installer download for sysadmin

Open FamousFour opened this issue 1 year ago • 2 comments

Summary

While individual static URLs for the current version MSI installer are available, I wondered if you could add a dynamic URL on the website that always returns the latest stable version installer on the website similar to this from Mozilla:

https://download.mozilla.org/?product=Thunderbird-msi-latest-ssl&os=win64&lang=en-US (The above always delivers the latest release version of Thunderbird ESR)

Examples

Something like: https://keepassxc.org/download/dynamic?file=KeePassXC&platform=Win64&format=MSI&stream=stable

So whenever my patch manager calls this URL it get's a fresh MSI installer of the up-to-date version.

Context

I am a sysadmin covering a SMB with 20-30 systems deployed. I would like to use KeePassXC as a password manager and sharing platform for our internal network, however in order to keep the software up to date easily I have to be able to pull the 'latest' stable MSI installer automatically from a URL. This would be an enormous help for automated system admin.

FamousFour avatar Jul 17 '23 11:07 FamousFour

Our website is a static site so the best you'll get is a client side redirect which likely won't work in your situation. We could use .htaccess to do a url rewrite, but that isn't sustainable for us. Recommend you look into GitHub api to detect when a new release is posted and download it.

droidmonkey avatar Jul 17 '23 14:07 droidmonkey

https://github.com/keepassxreboot/keepassxc/releases/latest always points to the latest release. You then have to extract the MSI link from there or use the API.

phoerious avatar Aug 07 '23 08:08 phoerious