[osgeo4w-dev] Offline installer from cache not working
BADAWI Marwan
marwan.badawi at scalian.com
Wed May 13 09:21:41 PDT 2026
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).
-----Original Message-----
From: osgeo4w-dev <osgeo4w-dev-bounces at lists.osgeo.org> On Behalf Of BADAWI Marwan via osgeo4w-dev
Sent: 13 May 2026 18:07
To: Jürgen E. Fischer <jef at norbit.de>; osgeo4w-dev at lists.osgeo.org
Subject: Re: [osgeo4w-dev] Offline installer from cache not working
Well, --packages qgis-full is not downloading anything... I also tried --categories qgis-full just in case, no luck either.
-----Original Message-----
From: osgeo4w-dev <osgeo4w-dev-bounces at lists.osgeo.org> On Behalf Of Jürgen E. Fischer via osgeo4w-dev
Sent: 13 May 2026 17:35
To: osgeo4w-dev at lists.osgeo.org
Subject: Re: [osgeo4w-dev] Offline installer from cache not working
Hi Marwan,
On Thu, 23. Apr 2026 at 11:01:38 +0000, BADAWI Marwan via osgeo4w-dev wrote:
> Then I created a local cache folder using the package list from the
> installed.db file using the following command: osgeo4w-setup.exe
> --quiet-mode --arch x86_64 --autoaccept --no-desktop --download
> --local-package-dir C:\OSGEO_CACHE --site
> http://www.n/
> %2F&data=05%7C02%7Cmarwan.badawi%40scalian.com%7C68f44ae8386c478af04d0
> 8deb109a038%7C0e4d90efb8ef49ea87127a63f4b52a4a%7C0%7C1%7C6391428520831
> 68003%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAw
> MCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdat
> a=vPMqZG0f97B4YCNRGp5dzd3WUpNKbitzlnfAxXyFkQ8%3D&reserved=0
> orbit.de%2Fosgeo4w%2Fv2&data=05%7C02%7Cmarwan.badawi%40scalian.com%7Cb
> 7d35f2f47e148ba809e08deb1053a63%7C0e4d90efb8ef49ea87127a63f4b52a4a%7C0
> %7C1%7C639142833192048957%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy
> dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%
> 3D%7C0%7C%7C%7C&sdata=RXSEWeO55TPrpPC6x2QIsgcAeJimJVd3A1Ddk9Wukxk%3D&r
> eserved=0 --packages $PkgList
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
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
_______________________________________________
osgeo4w-dev mailing list
osgeo4w-dev at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
More information about the osgeo4w-dev
mailing list