Jump to content

Make OSGeo4W Offline Installer


Lurker

Recommended Posts

maybe the most complete packages for opensource GIS software is OSGeo4W installer, its cover all GIS Software (Qgis, uDig, Grass, web-mapping, etc)

but this is an online installer, that we can choose from the repository the software that we ONLY need, but what for computer that do not have internet ?

of course we need to make offline package repository, that you can ship it to other PC and install it without internet, but at the building of this repository, we need pretty fast connection, here the step :

1. Get the OSGeo4W installer exe file.

2. Run it, and choose Advanced Install

3. Choose 'Download Without Installing'

4. Set the Local Package Directory to something like C:\osgeoPackages

5. Set your internet connection parameters to your local needs

6. Choose the packages you need. (Choose all packages to make complete packages)

7. Hit Next and wait for it all to be downloaded.

Now you have a package repository you can ship to another machine along with the installer exe file and do an unattended install. Assuming the repository is in the same place and the setup exe is in your path, from the windows CMD prompt do:

osgeo4w-setup.exe -q --local-install --root c:\OSGeo4w -l "c:\osgeoPackages\http:%3a%2f%2fdownload.osgeo.org%2fosgeo4\release"

which you can obviously put in a .bat file.

enjoy the offline installer

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Disable-Adblock.png

 

If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist