• 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
Iceberg installation fails when using scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Iceberg installation fails when using scripts


  • Subject: Iceberg installation fails when using scripts
  • From: Beatrix Willius <email@hidden>
  • Date: Sat, 11 Aug 2012 15:44:12 +0200

Hi,

taking first steps with Iceberg I have a problem:

As soon as I add a script (both preflight and postflight) to my installer then I get the error message "Installation failed" when trying to install the package.

Where can I get information why the installation failed?

The scripts themselves are quite simple:

Postflight:
#/bin/sh
theschedule=`defaults read com.mothsoftware.mailarchiverx Schedule_TimeFrame`
thevalue='No Schedule'
if [ "$theschedule"=="$thevalue" ]; then echo ''; else open /Applications/Mail\ Archiver\ X/Mail\ Archiver\ X.app/Contents/Mail\ Archiver\ Scheduler.app; fi

Preflight:
#/bin/sh
thepid=`ps ux | awk '/Mail Archiver Scheduler/ && !/awk/ {print $2}'`
kill $thepid

I'm also a newbie in shell programming. The scripts themselves work. But do I need to do something special to the scripts? These are just text files that I gave execute permission.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals


 _______________________________________________
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: Iceberg installation fails when using scripts
      • From: Vikram Singh <email@hidden>
  • Prev by Date: Re: Addition of Canadian French to Packages
  • Next by Date: Re: Iceberg installation fails when using scripts
  • Previous by thread: Re: Addition of Canadian French to Packages
  • Next by thread: Re: Iceberg installation fails when using scripts
  • Index(es):
    • Date
    • Thread