• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to find out the directory of the installerplugin while installation.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: how to find out the directory of the installerplugin while installation.
      • From: sanmukh k <email@hidden>
References: 
 >how to find out the directory of the installerplugin while installation. (From: sanmukh k <email@hidden>)

  • Prev by Date: how to find out the directory of the installerplugin while installation.
  • Next by Date: Re: how to find out the directory of the installerplugin while installation.
  • Previous by thread: how to find out the directory of the installerplugin while installation.
  • Next by thread: Re: how to find out the directory of the installerplugin while installation.
  • Index(es):
    • Date
    • Thread