Re: pkgbuild generated installer not closing "must-close" apps when run from command line
Re: pkgbuild generated installer not closing "must-close" apps when run from command line
- Subject: Re: pkgbuild generated installer not closing "must-close" apps when run from command line
- From: Greg Neagle <email@hidden>
- Date: Wed, 06 May 2015 11:17:01 -0700
I would not be surprised if this is expected behavior. If you are installing at the command-line the expectation is that it is a non-interactive install.
-Greg
> On May 6, 2015, at 11:06 AM, Owen Urkov <email@hidden> wrote:
>
>
> Hello,
>
> we have an pkgbuild generated installer that requires Firefox, Chrome and Safari to be closed before running. In the distribution file we have this bit
>
> <pkg-ref id="com.company.thing">
> <must-close>
> <app id="org.mozilla.firefox"/>
> <app id="com.apple.Safari"/>
> <app id="com.google.Chrome"/>
> </must-close>
> </pkg-ref>
>
> And this all works fine and dandy (all open browsers are requested to be closed) when the user runs the installer by double clicking on it and bringing up the GUI. However, if they run the installer using the command "installer -pkg OurInstaller.pkg -target CurrentUserHome" the installer fails to prompt or close the browsers and the installer eventually times out.
>
> Any idea on why this is or how we can get around it?
>
> thanks,
> Owen
>
> _______________________________________________
> 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