[osgeo4w-dev] Offline installer from cache not working
Jürgen E. Fischer
jef at norbit.de
Wed May 13 09:34:49 PDT 2026
On Wed, 13. May 2026 at 16:21:41 +0000, BADAWI Marwan wrote:
> On 13 May 2026 17:35, Jürgen E. Fischer wrote:
> > On Thu, 23. Apr 2026 at 11:01:38 +0000, BADAWI Marwan via osgeo4w-dev wrote:
> > No need to mess with installed.db. To fetch packages including dependencies on a connected machine run (qgis-full as example; corresponding with the QGIS Express install target):
>
> > mkdir packages
> > cd packages
> > curl -JLO https://download.osgeo.org/osgeo4w/v2/osgeo4w-setup.exe
> > osgeo4w-setup.exe --quiet-mode --autoaccept --arch x86_64 --local-package-dir %CD% --download -s https://download.osgeo.org/osgeo4w/v2 --packages qgis-full
>
> Then copy packages to the unconnected machine and run:
>
> cd packages
> osgeo4w-setup.exe --quiet-mode --autoaccept --arch x86_64 --local-package-dir %CD% --local-install --packages qgis-full
> Sorry for the spam, the installer is actually only downloading the qgis-full
> package but not any of the dependencies. That's why I was messing around with
> the installed.db in the first place. I couldn't find another way to have it
> install the dependencies to the packages I want (namely qgis and gdal).
> > > I tried installing offline with two different command lines:
> > > 1: osgeo4w-setup.exe --quiet-mode --arch x86_64 --autoaccept --no-desktop --local-install C:\OSGEO_CACHE --packages $PkgList
Because you didn't create a fresh directory and used the one you already
populated with everything except qgis-full? But that's was more of a side
note.
My main point was that you didn't specify a --local-package-dir in your offline
install.
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de
QGIS release manager (PSC) Germany Matrix: @jef:osgeo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/osgeo4w-dev/attachments/20260513/3b3491ec/attachment.sig>
More information about the osgeo4w-dev
mailing list