Home Forums Software InstaDMG Seeing setup assistant unexpectedly

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #374831
    mleacy
    Participant

    I created a payload-free package with the following script as a postflight:

    [code]#!/bin/bash

    touch /private/var/db/.AppleSetupDone
    chown root:wheel /private/var/db/.AppleSetupDone
    chmod 600 /private/var/db/.AppleSetupDone

    touch /Library/Receipts/.SetupRegComplete
    chown root:admin /Library/Receipts/.SetupRegComplete
    chmod 400 /Library/Receipts/.SetupRegComplete

    exit 0[/code]

    After applying the image to a machine, I get the setup assistant. What have I done wrong?

    Thanks in advance!

    #374833
    mleacy
    Participant

    I found clearReg, and using that, I don’t get the setup assistant. It seems you have to preceed your paths with “$3”.

    #374962
    Patrick Fergus
    Participant

    You answered your own question, but look here:

    [url]http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html[/url]

    at the table that’s headed with “Some information is passed by the installer to these scripts when they are launched”. That should give you a bit more insight into variables you can use.

    – Patrick

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

Comments are closed