Environment variables available only from Cocoa apps
Environment variables available only from Cocoa apps
- Subject: Environment variables available only from Cocoa apps
- From: Wrekso Wibowo <email@hidden>
- Date: Mon, 20 Apr 2009 10:28:18 -0700
Hi all,
I have a postinstall executable as part of an installer. The installer
can be launched in one of three ways:
- manually (ie. user launching installer by double clicking)
- as part of custom installer built by Assistant-like app
- using Apple Remote Desktop
I'd like to distinguish how it was launched, and behave slightly
differently when the Installer is launched manually. As it appears,
the postinstall is separate process from the Installer and I haven't
found a way to indicate in the postinstall that the Installer is
launched manually by user (instead of via ARD).
I'm thinking perhaps there is an environment variable that is
available and can be checked only within Cocoa apps under Tiger and
up. Does anyone know if such thing exists? Any help is appreciated. I
am cross-posting to Cocoa-dev in the hope that somebody may have a
solution.
Thanks in advance,
Wrekso Wibowo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden