Home Forums Software InstaDMG Postinstall fails for Acrobat X Package

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #380299
    bostonmacosx
    Participant

    So I’m doing an install of Acrobat X pro.
    I’m using the script from the aministrative guide to serialize and install the package.
    It is failing the InstaDMG tree. It is just hanging up forever on the postinstall script.

    [code]
    #!/bin/sh

    unzipPkg() {
    rm -rf “/private/tmp/Adobe Acrobat X Pro Installer.pkg”
    unzip “/private/tmp/Adobe Acrobat X Pro Installer.pkg.zip” -d /private/tmp
    }

    installAcrobat() {
    installer -pkg “/private/tmp/Adobe Acrobat X Pro Installer.pkg” -target /
    rm -rf “/private/tmp/Adobe Acrobat X Pro Installer.pkg”

    if (test $? = 0) then
    echo “Acrobat X installed.” else
    echo “ERROR: Acrobat X installation failed.” exit 1
    fi
    }
    serializeAcrobat() {

    “/private/tmp/adobe_provisioning_tool.app/Contents/MacOS/adobe_provisioning_tool” -C -a “/Library/Application Support/Adobe/Acrobat 10 AMT/AMT” -s xxxx-xxxx-xxxx-xxxx-xxxx-xxxx

    if (test $? = 0) then
    echo “Acrobat X serialized.”
    else
    echo “ERROR: Acrobat X serialization failed.”
    fi
    }

    suppressAcrobatEULA() {
    “/private/tmp/adobe_provisioning_tool.app/Contents/MacOS/adobe_provisioning_tool” -S -a “/Library/Application Support/Adobe/Acrobat 10 AMT/AMT”
    if (test $? = 0) then
    echo “Acrobat X EULA suppressed.”
    else
    echo “ERROR: Acrobat X EULA suppression failed.”
    fi
    }

    suppressAdobeIDDialog() {

    “/private/tmp/adobe_provisioning_tool.app/Contents/MacOS/adobe_provisioning_tool” -R -a “/Library/Application Support/Adobe/Acrobat 10 AMT/AMT”

    if (test $? = 0) then
    echo “Acrobat X Adobe ID suppressed.”
    else
    echo “ERROR: Acrobat X Adobe ID suppression failed.”
    fi
    }

    unzipPkg
    installAcrobat
    serializeAcrobat
    suppressAcrobatEULA
    suppressAdobeIDDialog
    [/code]

    #380300
    Goldberg
    Participant

    Try to run it as part of a first boot script

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

Comments are closed