[osgeo4w-dev] Offline installer from cache not working
BADAWI Marwan
marwan.badawi at scalian.com
Wed May 13 08:49:09 PDT 2026
Thanks for the tip Jurgen, I'll definitely try it out and let you know (after the 4-day weekend in France 😊 ).
However, won't "qgis-full" install everything? This defeats the purpose of installing only the packages we need, there will be a lot of bloat (we only need QGIS and GDAL). But hey, if this works, at least it's something!
Thanks,
Marwan
-----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/
> 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
More information about the osgeo4w-dev
mailing list