Home Forums Software InstaDMG FirstBoot script – Use it to install further packages?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #380161
    mgb123
    Participant

    I have a handful of packages that, for reasons I don’t understand completely- as I’m no packaging expert, refuse to install correctly as part of the build.

    In some cases, there’s no app bundle in the apps folder, in other cases the bundle is there but the app doesn’t function properly.

    I’d like to deep dive on those issues at some point – but my immediate question is – can I just have those packages install as part of a first boot script? Or perhaps a second boot script? Like my firstboot script would run, and one of the lines would be for it to copy another launchd item in, and that launchd item would call the next script etc?

    Would that work? What sort of commands would be necessary to prompt a command line install of a pkg file?

    #380169
    Tim Sutton
    Participant

    This idea works fine. I use it to install our site-provisioned Sophos or other small packages that are picky and cause problems when repacked.

    In your firstboot, run:

    installer -pkg /path/to/your/pkg/file -target /

    #380180
    dead2sin
    Participant

    It won’t let me post due to “spam”. Read this:[url] http://pastie.org/1388757%5B/url%5D

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

Comments are closed