• 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: Postflight action (create alias) not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Postflight action (create alias) not working


  • Subject: Re: Postflight action (create alias) not working
  • From: Iceberg-Dev <email@hidden>
  • Date: Tue, 21 Apr 2009 12:34:20 +0200


On Apr 21, 2009, at 2:29 AM, Andrew Peckover wrote:

Hi,

I'm using OS 10.5.6 and PackageMaker 3.0.3 (174).

In the Distribution --> Actions tab, I have specified two Postinstall actions, "Show file in Finder" and "Create Alias". For Create Alias, I am pointing to "component" and have selected "MyProgram.app". I have also tried specifying the "absolute path".

There are no warnings or errors when I build the package, but the postinstall actions don't work.

As a test, I tried the Open URL postflight action, and that *did* work.

Could you tell us what path you set for the alias?

From what I see, PackageMaker uses an AppleScript script that communicates with the Finder to create the alias. This is not a good solution IMHO as this assumes too much regarding the environment.


_______________________________________________ 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: Postflight action (create alias) not working
      • From: "Andrew Peckover" <email@hidden>
References: 
 >Postflight action (create alias) not working (From: "Andrew Peckover" <email@hidden>)

  • Prev by Date: Re: Environment variables available only from Cocoa apps
  • Next by Date: Re: Postflight action (create alias) not working
  • Previous by thread: Postflight action (create alias) not working
  • Next by thread: Re: Postflight action (create alias) not working
  • Index(es):
    • Date
    • Thread