Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#424 closed task (fixed)

Add windows and mac installers to the LiveDVD

Reported by: camerons Owned by: warmerdam
Priority: normal Milestone:
Component: OSGeoLive Keywords:
Cc: timlinux, neteler, Jeff McKenna, live-demo@…, kyngchaos, springmeyer

Description (last modified by warmerdam)

Previous Arramagong Live DVD releases have had windows installers on them, which allow users to copy GIS applications onto their windows computer.

What we need is a script to copy these installers from (what location).

It is proposed that the following packages be included:

http://download.osgeo.org/qgis/win32/QGIS-1.2.0-0-No-GrassSetup.exe
http://home.gdal.org/tmp/vcredist_x86.exe
http://grass.osgeo.org/grass64/binary/mswindows/native/WinGRASS-6.4.0RC5-1-Setup.exe
http://maptools.org/dl/ms4w/ms4w_3.0_beta7.zip

Change History (23)

comment:1 by warmerdam, 15 years ago

Cc: timlinux neteler Jeff McKenna added
Description: modified (diff)
Owner: changed from frankw to warmerdam

I have taken the liberty of adding folks more knowledgable about the individual installers to indicate if they are the appropriate ones to provide.

comment:2 by Jeff McKenna, 15 years ago

  • it's the correct MS4W version to include

jeff

comment:5 by hamish, 15 years ago

Cc: kyngchaos added

adding William to the cc list, as OSX issues will be pretty much the same. (hope you don't mind :)

comment:6 by hamish, 15 years ago

Cameron wrote:

I'd love it if someone could work out the process for adding a directory to an ISO image, either by using an option in remastersys (preferred option) or retrospectively afterwards.

It is my understanding that an ISO image is a complete filesystem and as such can not be edited in place or appended to.

The method for adding content is thus:

  • mount the ISO as a read-only filesystem.

You can do this as root with

 mount -t iso9660 -o loop cdrom.iso /mnt/point/

or as a regular user with

fuseiso -p cdrom.iso /mnt/point.$$
# to unmount:
fusermount -u /mnt/point.$$ 
  • once mounted cp -r the whole thing (perhaps tar | tar to preserve attributes??) over to a dir on your regular filesystem.
  • then add the extra files to your local copy.
  • finally use mkisofs to create a new ISO.

caveat: I've never tried this and I don't know how well it works or if it works at all. treat as a random web search hit.

Hamish

comment:7 by wildintellect, 15 years ago

It's way easier than that, see my email http://n2.nabble.com/Adding-Windows-Mac-installers-tt3709629.html#a3709629

Low down, drop the files into the ISOTMP folder that remastersys uses before you run it and everything in there gets on the disc.

comment:8 by camerons, 15 years ago

Summary: Add windows installers to the LiveDVDAdd windows and mac installers to the LiveDVD

A list of windows installers is at: https://@svn.osgeo.org/osgeo/livedvd/gisvm/trunk/bin/load_win_installers.sh

If someone wants to create a similar script for mac installers, then we can try adding them to 2.0beta5.

comment:9 by kyngchaos, 15 years ago

Is it possible to specify an organization of files and subfolders? For my OSX packages, it would be good to rename and organize installers to specify an order of installation. (I guess with this wget method it's not possible to extract the installers off the disk images.) From an email offlist when I was brought into the loop (a bit different now that I have Snow Leopard installers - all Leopard + Snow):

1 Base Packages (Frameworks)
   1_UnixImageIO_Framework-1.0.32a.dmg (UnixImageIO_Framework-1.0.32a.dmg)
   2_PROJ_Framework-4.6.1-4.dmg (PROJ_Framework-4.6.1-4.dmg)
   3_GEOS_Framework-3.1.1-4.dmg (GEOS_Framework-3.1.1-4.dmg)
   4_SQLite3_Framework-3.6.17-3.dmg (SQLite3_Framework-3.6.17-3.dmg)
   5_spatialite_tools-2.3.1.zip (spatialite_tools-2.3.1.zip)
   6_FreeType_Framework-2.3.9-2.dmg (FreeType_Framework-2.3.9-2.dmg)
   7_GDAL_Framework-1.6.2-3.dmg (GDAL_Framework-1.6.2-3.dmg)
   8_rgdal-0.6.12-1.zip (rgdal-0.6.12-1.zip)
2 Support Packages
   PHP5-5.2.10-3.dmg
   PostgreSQL-8.3.8-1.dmg
3 End-User Packages
   GRASS-6.4-RC5-3-Leo.dmg
   GRASS-6.4-RC5-2-Snow.dmg
   MapServer-5.4.2-2.dmg
   pgRouting-1.0.3-3(PG8.3).dmg
   PostGIS-1.4.0-4(PG8.3).dmg
   Qgis-1.3.0-1-Leopard.dmg
   Qgis-1.3.0-2-Snow.dmg

(all URLs base: http://www.kyngchaos.com/files/software/unixport/)

The frameworks especially need that specific order. The support and end-user packages don't need renaming.

comment:10 by springmeyer, 15 years ago

Cc: springmeyer added

William, Thats a good idea. As well perhaps a single script to install them all in the right order could be provided (maybe wrapped in an applescript clickable icon) ?

I frequently stitch together something like this to batch install your frameworks:

    mkdir scratch
    cd scratch
    curl -O http://www.kyngchaos.com/files/software/unixport/PROJ_Framework-4.6.1-3.dmg
    hdiutil attach PROJ_Framework-4.6.1-3.dmg
    sudo installer -pkg /Volumes/*/*.mpkg -target "/"
    hdiutil detach /Volumes/PROJ*
    
    curl -O http://www.kyngchaos.com/files/software/unixport/GEOS_Framework-3.1.1-2.dmg
    hdiutil attach GEOS_Framework-3.1.1-2.dmg
    sudo installer -pkg /Volumes/*/*.mpkg -target "/"
    hdiutil detach /Volumes/GEOS*
    
    curl -O http://www.kyngchaos.com/files/software/unixport/UnixImageIO_Framework-1.0.31.dmg
    hdiutil attach UnixImageIO_Framework-1.0.31.dmg
    sudo installer -pkg /Volumes/*/*.mpkg -target "/"
    hdiutil detach /Volumes/Unix*
    
    curl -O http://www.kyngchaos.com/files/software/unixport/SQLite3_Framework-3.6.16-1.dmg
    hdiutil attach SQLite3_Framework-3.6.16-1.dmg
    sudo installer -pkg /Volumes/*/*.mpkg -target "/"
    hdiutil detach /Volumes/SQ*
    
    curl -O http://www.kyngchaos.com/files/software/unixport/GDAL_Framework-1.6.1-8.dmg
    hdiutil attach GDAL_Framework-1.6.1-8.dmg
    sudo installer -pkg /Volumes/*/*.mpkg -target "/"
    hdiutil detach /Volumes/GDAL*
    
    # We're going to install the full server here, but you could install just the 'PostgreSQL client'
    curl -O http://www.kyngchaos.com/files/software/unixport/PostgreSQL-8.3.7-1.dmg
    hdiutil attach PostgreSQL-8.3.7-1.dmg
    sudo installer -pkg /Volumes/*/*.mpkg -target "/"
    hdiutil detach /Volumes/Postgr*
    
    curl -O http://www.kyngchaos.com/files/software/unixport/PostGIS-1.3.6-1.dmg
    hdiutil attach PostGIS-1.3.6-1.dmg
    sudo installer -pkg /Volumes/*/*.mpkg -target "/"
    hdiutil detach /Volumes/PostGIS*

comment:11 by kyngchaos, 15 years ago

I think the numbering should be enough. I'm thinking of remaking the old all-frameworks installer as a GDAL complete or similar name (FreeType would remain a single installer). But I don't think I'll be able to do that in time for this live DVD.

Note that your /Volumes/*/*.mpkg usage is potentially dangerous as it will run the installers on (the top level) any mounted disks.

comment:12 by hamish, 15 years ago

I'll have a mac script ready soon.

comment:13 by hamish, 15 years ago

Mac installer download script added as:

source:livedvd/gisvm/trunk/bin/load_mac_installers.sh

All wget downloads seemingly received ok 'cept for qgis-snow.

total disk use: 305 mb

@ ~ 100K/s = 51 minutes (may want to run it concurrently!)

only problem I see is that Qgis-1.3.0-2-Snow.dmg is only 6000 bytes!

?? I'm not sure if wget -c works with -O ??

Hamish

comment:14 by hamish, 15 years ago

William wrote:

From an email offlist when I was brought into the loop (a bit different now that I have Snow Leopard installers - all Leopard + Snow):

is the above list not up to date? which packages?

thanks, Hamish

comment:15 by hamish, 15 years ago

qgis-1.3 snow:

This topic does not exist yet

You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by using the Create this page button.

comment:16 by kyngchaos, 15 years ago

I think I changed the wrong URL when updating for a new standalone Qgis package. Fixed now for Snow - it should be "Qgis-1.3.0-1-Snow.dmg".

is the above list not up to date? which packages?

The list is up to date. It's just that when I first emailed the list I hadn't updated for Snow Leopard yet.

comment:17 by wildintellect, 15 years ago

Files end up on ISO in the top level now, and the folder appear on at least windows can someone test to make sure it also shows up on a Mac. Also need to test that the installers work and there are adequate instructions.

comment:18 by kyngchaos, 15 years ago

Maybe I'm not doing something right - downloaded the beta5 iso (it was in two parts) and joined it. Mount image on OSX (no need to burn to DVD first). I see:

casper
isolinux
md5sum.txt
preseed
README.diskdefines

If I'm supposed to boot off the DVD to see the Mac files, then that is no good. I think most people looking for the OSX installers are going to pop the DVD in their Macs and expect to find the files right there (in a clearly marked folder). The only way booting from the DVD would work is if the system has HFS+ file system support so the installers can be copied to the Mac's HD.

in reply to:  18 comment:19 by hamish, 15 years ago

Replying to kyngchaos:

Maybe I'm not doing something right

just a timing issue, beta5 is actually a couple of days old. The build currently in progress should include them.

They will be in a folder off the main root of the DVD called "MacInstallers". IIUC there should be the main index.html documentation explaining what the different programs are there as well.

regards, Hamish

comment:20 by hamish, 15 years ago

Resolution: fixed
Status: newclosed

comment:22 by kyngchaos, 15 years ago

OK, finally got it downloaded. I see the Mac files now, a few random tests mounting disk images running installers checked OK.

Looks like the Udig zip got buggered - it's named "-O".

comment:23 by wildintellect, 15 years ago

Yes, we we're aware and it was 1 of many fixes that went into 2.0.1 immediate bugfix release. svn was also updated to remove the offending extra -O

Please download the newest version.

Note: See TracTickets for help on using tickets.