Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#537 closed defect (fixed)

Installer does not update when running the installer from command line

Reported by: Chau Owned by: osgeo4w-dev@…
Priority: major Component: Installer
Version: Keywords:
Cc:

Description

I have a batch script which I use to daily update my OSGeo installation which uses the following commands:

osgeo4w-setup-x86_64.exe ^
    --advanced ^
    --download ^
    --upgrade-also ^
    --autoaccept ^
    --quiet-mode

It seems to correctly download the updated packages but it fails to update them afterwards.

Running the installer manually without selecting anything in the package screen and just continue completes the installation using the previously downloaded packages.

I would expect the installer to automatically perform the installation after downloading the updated packages - at least that is what I expect the '--upgrade-also' to mean.

Change History (3)

comment:1 by jef, 5 years ago

--download switches from 'download & install' to 'download only'. So leaving it out should help.

Last edited 5 years ago by jef (previous) (diff)

comment:2 by Chau, 5 years ago

I thought the --download option was to force download from the internet and not local. The --upgrade-also kind of makes sense too in that regard: Download AND update.

That aside I have tried removing the --download part and the installer upgraded my installation (which was already downloaded). I will test if both the download and upgrade works without the --download option when new upgraded packages arrives at OSGeo.

comment:3 by jef, 5 years ago

Resolution: fixed
Status: newclosed

--upgrade-also not only installs the selected packages, but also upgrades the already installed packages.

Last edited 5 years ago by jef (previous) (diff)
Note: See TracTickets for help on using tickets.