• 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
Re: Package Maker in Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package Maker in Panther


  • Subject: Re: Package Maker in Panther
  • From: Takaaki Naganoya <email@hidden>
  • Date: Fri, 26 Dec 2003 15:41:30 +0900

On 03.12.3 11:05 AM, "Christopher Nebel" <email@hidden> wrote:

> On Dec 2, 2003, at 9:52 AM, Martha Espinosa wrote:
>
>> I am creating an installer package and want to include an applescript
>> to run before the installer. I've tried everything and can't resolve.
>
> The installer will run various shell scripts (technically, executables)
> with specific names in the package as part of the install process; you
> could create a shell script that calls osascript(1) and make that your
> preinstall script. See
> <http://developer.apple.com/documentation/DeveloperTools/Conceptual/
> SoftwareDistribution/Concepts/sd_pre_post_processing.html> for details
> of all the scripts and how they're arranged. There isn't any explicit
> support in PackageMaker for this; you simply have to add the
> appropriate files to the package resources.

I could launch "postflight" AppleScript when application had been installed.
No perl or shell script was needed.

The AppleScript is to be saved as application.

The most important point is the mode of file.
The mode is to be "555".

----------
-r-xr-xr-x 1 root wheel 13780 26 Dec 15:12 postflight
----------

If the mode is wrong, we could not execute "postflight" script application.


--
Takaaki Naganoya
Director
Newt On Division/EIG K.K.
http://eig.jp/kotodama/
ichat: email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Package Maker in Panther (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Scripting a Web-based form
  • Next by Date: [OT] Shell scripting
  • Previous by thread: Re: Package Maker in Panther
  • Next by thread: mounting an osx volume from an os9 machine
  • Index(es):
    • Date
    • Thread