• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Package maker won't run script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Package maker won't run script


  • Subject: Package maker won't run script
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Thu, 3 Nov 2005 00:35:53 +0000

I've tried to get package maker to run a script.

I set the resources folder to be a folder I've named "Resources". In that folder is a single script named "preinstall". It has it's executable bit set. The preinstall script simply creates a file at the root directory, so that I can verify that it really did execute. It's a dummy testing script.

If I run my preinstall script from the terminal, it works.

Inside my built package, I see a folder named "Resources". Within this folder is a script named "preinstall". It's directly within "Resources", not within any sub-dir.

When I run my package, guess what happens. Well, everything is installed but the script is not run!

Why???

If I go to the terminal and try running the preinstall script, it runs just fine.

It's like the installer is ignoring the script.

I'm running OSX 10.4, PackageMaker 2.0.

Unless I can run scripts from PackageMaker, my installer won't be any good, so I'd have to find some other way to install this app, because I need to run scripts.


-- http://elfdata.com/plugin/

What does our work achieve, if it's not making the world a happier place?
http://www.whatnextjournal.co.uk/Pages/Next/Happiness.html
When's the last time you thought deeply about how to improve our lives?



_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Package maker won't run script
      • From: Christopher Ryan <email@hidden>
  • Prev by Date: Re: 10.4.3 disk image mount issue?
  • Next by Date: Package install problems
  • Previous by thread: Re: 10.4.3 disk image mount issue?
  • Next by thread: Re: Package maker won't run script
  • Index(es):
    • Date
    • Thread