On Thu, Jun 28, 2012 at 6:36 AM, Vikram Singh <
email@hidden> wrote:
> Hi,
>
> I have written a Plugin for PackageMaker. Is there any way to exit the
> installer from within the plugin?
> I have tried the following ways-
> [NSApp terminate:nil]
> and
> exit 0;
>
> If we call any of the above from within the plugin, it closes the
> Installer.app but whenever I try to run any other installer right after
> this, it invokes the previously closed installer.
> So I am assuming, if I use the ways mentioned above, it just kills the
> Installer.app and circumvents the normal closing behavior of Installer.app
> (which might be cleaning some temporary directories before exiting).
> Is there any documented or undocumented but working way to close the
> Installer from my plugin (say on click of some button)?