Forum Replies Created

Viewing 15 posts - 1 through 15 (of 37 total)
  • Author
    Posts
  • in reply to: Removing pkg receipts in 10.6 #379333
    benfeea1
    Participant

    Bump —

    Come on. I cannot be the Mac admin who wants to do this.

    in reply to: Removing pkg receipts in 10.6 #378796
    benfeea1
    Participant

    Think about a payload free package used to uninstall something.
    You would use a post-flight script to rm all the files and directories associated with the software.
    In the end you really would not want or need a receipt for the uninstaller pkg hanging around..

    This question is not really about InstaDMG or image deployment per say. It is more of a package creation question. But I know all the packaging expertise is found in this forum.

    in reply to: Removing pkg receipts in 10.6 #378793
    benfeea1
    Participant

    I agree. pkgutil –forget com.myorg.somepackage is the way to go.
    However, it does not work from a postflight script, because the receipt has not been written yet.
    Chicken and the egg.

    in reply to: WWDC 2010 #378494
    benfeea1
    Participant

    The real question is will there be a Thirsty Bear AFP548 WWDC party?
    That is the real reason I attend WWDC.

    Eric

    in reply to: 10.6 Snow Leopard InstallerChoices.xml #377541
    benfeea1
    Participant

    Inconclusive results for far.
    The new InstallerChoices.xls is technically working so far, but I still have some issues. I feel like I have only peeled away one layer of this onion.

    More info to come.

    in reply to: Snow Leopard, instadmg and hidden folders becoming visible #377511
    benfeea1
    Participant

    You must be running 10.6.x to use instaDMG to build a 10.6 image.

    in reply to: Targeting a user home folder #377489
    benfeea1
    Participant

    Spider,

    “you could install it to the User Template folder, but not recommended”

    This may need to be a new topic, but what is the recommend alternative to modifying the User Template folder?

    in reply to: regular expression for postflight script #377373
    benfeea1
    Participant

    larkost,

    You are a very wise Marklar. That worked perfectly.

    #!/bin/bash
    # postflight script
    # Installer.app Environmental Positional Variables.
    # $0 Script path
    # $1 Package path
    # $2 Default location
    # $3 Target volume
    # Declare the Enviromental Positional Variables so the can be used in function calls.
    ScriptPath=$0
    PackagePath=$1
    DefaultLocation=$2
    TargetVolume=$3
    PackageName=$( /usr/bin/basename “$PackagePath” )

    RemovePackageReceipt () {
    rm -rf “${TargetVolume}/Library/Receipts/${PackageName}”
    echo removed “${TargetVolume}/Library/Receipts/${PackageName}”
    }

    RemovePackageReceipt

    in reply to: Advice on Offline Backups #376230
    benfeea1
    Participant

    Check out CrashPlan. [url]www.crashplan.com[/url]
    I am backing up 750 systems to two separate destinations.

    in reply to: Does 10.5.6 support new MacBook Wheel? #375112
    benfeea1
    Participant

    One Button.
    Endless possibilities.

    in reply to: Best way to determine Portable or Desktop? #375015
    benfeea1
    Participant

    I use this bit of code.

    hardwaretype=`/usr/sbin/system_profiler SPHardwareDataType | grep Model`
    if echo $hardwaretype | grep -i Book;
    then
    echo This is a Mac Portable
    else
    echo this is NOT a Mac Portable
    fi

    in reply to: New Mac Laptops 10.5.5 Build 9F2112 #374478
    benfeea1
    Participant

    Yeah, I was planning on a separate build until 10.5.6.

    in reply to: Images not bootable #374373
    benfeea1
    Participant

    As a wise man once said, “What changed before nothing changed?”
    What packages did you add to your build train? I bet you added a new custom package, or one of Apple’s updates recently.

    I have several build trains. The most important one is the base build train. This train ONLY has the Apple updates, and a few select custom packages.
    I put packages in the base build train to test them first.

    in reply to: Add “Java for Mac OS X 10.5 Update 2” to the train? #374355
    benfeea1
    Participant

    “This release of J2SE 5.0 and J2SE 1.4.2 supports all Intel and PowerPC-based Macs. Java SE 6 is available on 64-bit, Intel-based Macs only.”

    I was thinking that if I build on an Intel Mac, this would end up installing “Java SE 6” which is not necessarily supported by non-64-bit or non-Intel-based Macs. Would that be bad?

    in reply to: Network install of CS3 #373173
    benfeea1
    Participant

    I still prefer Iceberg. I have a template already setup in Iceberg with my logos and scripts.
    I use Composer to gather the files / do the delta. Composer is very efficient at gathering all the correct components of an install. I don’t mind paying 99.00 to save my sanity.

Viewing 15 posts - 1 through 15 (of 37 total)