Hi,
You could try apt for osgeo4w. Matt Wilkie maintains it on GitHub 
(https://github.com/maphew/apt) and as a Osgeo4w package 
(https://trac.osgeo.org/osgeo4w/wiki/pkg-apt).

It is a package installer for the command line with many options. For example 
-m to specify a different mirror, which also can be a file ressource (file://) 
and -d to download packages without installing them.

You'll find that tool only in the 32bit tree off the repository, but it has a 
flag to install also 64bit packages. At least it is compatible with 
osgeo4w-setup.

Andreas

Dr. Andreas Müller, FB VI, Kartographie
Am 19. Okt. 2018, um 13:32, Stefan Blumentrath 
<[email protected]<mailto:[email protected]>> schrieb:
Dear all,


A quick user question regarding osgeo4w-setup.exe commandline options:


For installation in my organisation I download all packages I am interested in 
to a network share. From there colleagues can install stuff and we intend to 
provide the installation as Powershell / commandline install through the 
SoftwareCenter (which works fine).


However, the list of packages is quite long, and synchronising the download and 
installation command is an extra effort (that means also content in 
SoftwareCenter would have to be updated too in case of new packages…). My 
question is now:
1) Is it possible to install all packages from local directory without listing 
all packages with -P? Maybe using categories (-C) would at least reduce the 
length of the command and avoid listing single packages?
2) Is there a flag / command line option for upgrading all newer packages in 
the local directory (and not installing all packages listed)? The -g flag 
(“upgrade-also”) suggests that everything would be installed that is listed 
with -P flags and I would like to be able to do an “upgrade only” command...


Thanks in advance for any suggestions esp. with regards to question 2...


Kind regards,
Stefan
_______________________________________________
osgeo4w-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev

Reply via email to