Re: how to find out the directory of the installerplugin while installation.
Re: how to find out the directory of the installerplugin while installation.
- Subject: Re: how to find out the directory of the installerplugin while installation.
- From: Stephane Sudre <email@hidden>
- Date: Wed, 18 Apr 2012 00:57:30 -0700
On Tue, Apr 17, 2012 at 2:19 PM, sanmukh k <email@hidden> wrote:
> Hi,
>
> I have created an installer plugin to show an installer pane while GUI
> installation. I need to know the location of the executable of the
> installerplugin run when the installation takes place. The NSProcessInfo
> class is of no help as the process it refers to in the installer.app. any
> ideas how one could go about it?
The usual way to get locations within a plugin (or a bundle) is to use
the NSBundle API:
[NSBundle bundleForClass:[MynstallerPlugin class]];
Once you have the NSBundle instance, you can get the location of
everything within the bundle.
_______________________________________________
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