Home Forums Software InstaDMG Packages with pre and post scripts, etc

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #370888
    jasonpgignac
    Participant

    There are some packages that will not work in this script – ones that rely on a a pre or post script, for instance, or ones that demand that they be installed to an active system volume. For example (and it’s possible that this is just me), it seems to me that when I put in the pkg for the latest version of Quicktime, it fails. Has anyone else run into this? I don’t know that this is even something that can be ‘repaired’, but I’m curious if anyone has any good tests for checking if a script will be compliant. I’m thinking I’ll just have to take some of these and have them intall after the frist boot of the machine.

    #370922
    thegooch49
    Participant

    Hello, you are correct, some packages don’t work properly w/ instaDMG. Quicktime is a perfect example. If it’s included in the ‘AppleUpdates’ folder, it will not run. If you read through the log, you will find a line that says that it’s unable to install this update on a non-boot volume. The only workaround that might work, is to use logGen and pkgGen. A good article on this technique is below. I used it with success for the Developer Tools. It’s a huge install, and I figured it was worth it. Since quicktime is so small, I would just run it after the image is booted.

    http://blog.irisink.com/?p=106

    -Jeff

    #371646
    benfeea1
    Participant

    [QUOTE][u]Quote by: macshome[/u][p]If you set export CM_BUILD=CM_BUILD in the environment section of the script those packages should install.[/p][/QUOTE]

    Could you elaborate on that a little more.

    #371647
    Patrick Gallagher
    Participant

    [QUOTE][u]Quote by: benfeea1[/u][p][QUOTE][u]Quote by: macshome[/u][p]If you set export CM_BUILD=CM_BUILD in the environment section of the script those packages should install.[/p][/QUOTE]

    Could you elaborate on that a little more.[/p][/QUOTE]

    This is set by default now in version 1.3. Quicktime should install fine now with the new version.

    #371650
    Patrick Gallagher
    Participant

    [QUOTE][u]Quote by: macshome[/u][p] right now I’m staring at iTunes 7.6 and the iLifeMediaBrowser update to see if they could use repackaging.
    [/p][/QUOTE]

    iTunes has always been ok for me (I put this update as a netrestore postaction), but I seperate out the 3 pkg’s inside the itunes mpkg since that is what happens when you tell SU to download.

    #371652
    Patrick Gallagher
    Participant

    [QUOTE][u]Quote by: macshome[/u][p]I dumped the mpkg into my build train and at the end the script couldn’t eject the intermediary image as iTunesHelper was running on it. The build completed successfully, but I plan on adding process scanning to the cleanup handler.[/p][/QUOTE]

    I get that too. I also get a process from SAV that keeps it from ejecting. I just kill the processes.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Comments are closed