Re: Call a javascript function from onConclusion pkg-ref's attribute
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