Opened 3 years ago

Last modified 3 years ago

#687 new enhancement

Install specific package version via command line

Reported by: peetwhittaker Owned by: osgeo4w-dev@…
Priority: minor Component: Installer
Version: Keywords:
Cc:

Description

Using the network installer, is it possible to specify the version of the packages to be installed? Something like the following would be very handy:

osgeo4w-setup-x86_64.exe --autoaccept --quiet-mode --site http://download.osgeo.org/osgeo4w --packages icu-libs=56.1-3

This would allow us to roll back to the previous version (I believe only the previous version is kept?) in a more automated manner.

Change History (2)

comment:1 by jef, 3 years ago

No, why not upgrade to 56.1-5?

comment:2 by peetwhittaker, 3 years ago

I just used that package as an example (we've already upgraded to 56.1-5 - thanks for the quick fix!).

It would be useful in situations where the fix is not/cannot be deployed as quickly. It would also bring parity between the CLI and the GUI (where you can install the previous version).

Perhaps the syntax could just be something like the following (again, just using icu-libs as an example):

--packages icu-libs=prev

Note: See TracTickets for help on using tickets.