Re: Accessing PackageKit programmatically
Re: Accessing PackageKit programmatically
- Subject: Re: Accessing PackageKit programmatically
- From: Greg Neagle <email@hidden>
- Date: Mon, 13 Jun 2016 11:02:26 -0700
> On Jun 13, 2016, at 9:50 AM, John Paul Adrian Glaubitz <email@hidden> wrote:
>
> On 06/13/2016 06:48 PM, Greg Neagle wrote:
>> `/usr/bin/open /path/to/your/app.pkg` or the equivalent NSWorkspace methods. This will open Installer.app, ready to install your package.
>
> That's a very bad way of doing it as there is no way of catching any errors.
>
>>> This mechanism works perfectly fine on Windows and there is a well-supported and
>>> stable API for that. On OSX, the API is hidden and convoluted.
>>>
>>> I basically want to imitate what Adobe is doing with their apps manager [1].
>>
>> Please don't.
>
> I'm sorry, but that's what's required by the customer. Adobe uses it in their extremely
> popular Creative Suite, so it cannot be that particularly wrong.
I, and most anyone who manages a large number of Macs, will disagree.
>
> Adrian
>
> --
> .''`. John Paul Adrian Glaubitz
> : :' : Debian Developer - email@hidden
> `. `' Freie Universitaet Berlin - email@hidden
> `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
_______________________________________________
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