• 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: Call a javascript function from onConclusion pkg-ref's attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Call a javascript function from onConclusion pkg-ref's attribute


  • Subject: Re: Call a javascript function from onConclusion pkg-ref's attribute
  • From: Bill Coderre <email@hidden>
  • Date: Wed, 19 Jan 2011 13:24:03 -0800

No, you cannot do that. onConclusion takes constants like "RequireRestart" etc.

What are you trying to accomplish?

On Jan 19, 2011, at 1:00 PM, Youssef wrote:
> hi there,
> is it possible to call a javascript function from within onConclusion attribute of pkg-ref in distribution.xml?
> for example , can I make a call to "checkIfWeShouldRestart()" function like this:
> ...
> <pkg-ref version="1.5"  auth="Root"  id="${project1}.pkg" installKBytes="${size}"  onConclusion="checkIfWeShouldRestart()">file:./Contents/Packages/${pr2}</pkg-ref>....
>
> I did some test, but my function was never called ! did I miss something ?
>
> thanks in advance.
>
> --many
> _______________________________________________
> 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

 _______________________________________________
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

References: 
 >Call a javascript function from onConclusion pkg-ref's attribute (From: Youssef <email@hidden>)

  • Prev by Date: Call a javascript function from onConclusion pkg-ref's attribute
  • Next by Date: patches in PackageMaker3
  • Previous by thread: Call a javascript function from onConclusion pkg-ref's attribute
  • Next by thread: patches in PackageMaker3
  • Index(es):
    • Date
    • Thread