Re: Getting real file path from installer plugin or script
Re: Getting real file path from installer plugin or script
- Subject: Re: Getting real file path from installer plugin or script
- From: "Neal Sidhwaney" <email@hidden>
- Date: Tue, 4 Nov 2008 09:33:35 -0800
I was never able to figure this out, unfortunately. If your plugin happens to run after preinstall, the preinstall script is passed some vars indicating where the original package is, and you can forward that to the plugin.
Neal
On Tue, Nov 4, 2008 at 8:12 AM, Brewer, Matthew Harrison
<email@hidden> wrote:
The installer I'm writing needs to be able to get it's real location on the filesystem. If running from a USB flash drive, evidently the installer is copied over to the /tmp/ area on the Mac, as calling
[[NSBundle bundleForClass:[self class]] bundlePath]
returns something crazy. I need to know that I'm running from a USB drive. Is there a way to get this information?
Matt
_______________________________________________
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
_______________________________________________
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