• 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: Command in Macintosh for mapping package name and package id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command in Macintosh for mapping package name and package id


  • Subject: Re: Command in Macintosh for mapping package name and package id
  • From: Ben Gollmer <email@hidden>
  • Date: Sat, 04 Feb 2012 21:04:53 -0500

On Feb 3, 2012, at 5:24 AM, Per Olofsson wrote:

>> Applescript can be used to retrieve the name of an application using its id:
>>
>> get name of application id "pkgID"
>
> Interesting, but I'm not having much luck:
>
> MBPro15:Sharepoint pelle$ osascript -e 'get name of application id "com.crashplan.app.pkg"'
> 4:50: syntax error: Can’t get application id "com.crashplan.app.pkg". (-1728)
> MBPro15:Sharepoint pelle$ osascript -e 'get name of application id "org.macports.MacPorts"'
> 4:50: syntax error: Can’t get application id "org.macports.MacPorts". (-1728)
> MBPro15:Sharepoint pelle$ osascript -e 'get name of application id "com.parallels.pkg.virtualization"'
> 4:61: syntax error: Can’t get application id "com.parallels.pkg.virtualization". (-1728)

If this works, it is only by chance. There is no requirement that a package id must match the bundle of any application(s) that it contains. The package might also install command line tools or shared libraries without a bundle id, or function solely as a wrapper to run scripts.

--
Ben

 _______________________________________________
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


References: 
 >Command in Macintosh for mapping package name and package id (From: Nandini Vijayashankar <email@hidden>)
 >Re: Command in Macintosh for mapping package name and package id (From: Stephane Sudre <email@hidden>)
 >Re: Command in Macintosh for mapping package name and package id (From: Greg Neagle <email@hidden>)
 >Re: Command in Macintosh for mapping package name and package id (From: Per Olofsson <email@hidden>)

  • Prev by Date: Re: Command in Macintosh for mapping package name and package id
  • Next by Date: RE: Packagemaker UI Issue
  • Previous by thread: Re: Command in Macintosh for mapping package name and package id
  • Next by thread: Re: Packagemaker UI Issue
  • Index(es):
    • Date
    • Thread