[osgeo4w-dev] Offline installer from cache not working

Jürgen E. Fischer jef at norbit.de
Wed May 13 08:35:07 PDT 2026


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.norbit.de/osgeo4w/v2 --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
-------------- 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/03d18d2c/attachment.sig>


More information about the osgeo4w-dev mailing list