Home Forums Software InstaDMG Creating Payload-Free Packages?? How-To Needed..

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #371205
    simbimbo
    Participant

    I really need help creating a Payload-Free Package. I understand the concept, but not the step by step process. If someone could help, that would be great.

    Thanks

    Steve

    #371224
    Patrick Fergus
    Participant

    I’m using Iceberg to create the packages since that’s what I’m familiar with–there may be better tools in Leopard, but I haven’t had a chance to explore them.

    You probably already have a shell script you want to run, so grab Iceberg:

    [url]http://s.sudre.free.fr/Software/Iceberg.html[/url]

    Create a new “Package” project. Tip open the disclosure triangle and select “Scripts” (there seems to be a GUI issue, you may need to select “Settings” and then “Scripts” before the available “Installation Scripts” appears correctly). Under “Installation Scripts”, check “postflight” and “Choose…” your script. Keep an eye on exactly what your shell script assumes about the environment it’s running in–even though Installer is targeting /Volumes/Instadmg_Target, postflights run with a root of “/”. To rewrite the scripts appropriately, see the variables listed at “Some information is passed by the installer to these scripts when they are launched” here:

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

    Also, you may need to install a single dummy file to make the package work–I’ve seen reports that packages will complain if they don’t have files to drop. A “touch”ed file at /private/tmp is sufficient for me.

    – Patrick

    #371240
    simbimbo
    Participant

    Thanks for the responses. I think the part that wasn’t making sense to me was summed up in a single statement.” Also, you may need to install a single dummy file to make the package work–I’ve seen reports that packages will complain if they don’t have files to drop. A “touch”ed file at /private/tmp is sufficient for me.” I was not understanding the fact that I needed a single dummy file to drop.

    Thanks for the help.

    Steve

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

Comments are closed