Re: Environment variables available only from Cocoa apps
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=mlRrQ5WjeUrucXE5dmRmKl8Nmoww7Z1en2Sf0zyIHDU=; b=e9ZxPoahl2PKkl/nFqIetvqWwnhJ7XArPnhjQVd4NafeFAtcVeV525M6l46XiZmD3i WrwN6I86ZCQ+owO798yPWx6IkEUqApXXrhtffcf4T8dI0fisLzmTu4mBY1BLUFw1ZKlF o1qL894zdCETnYVeL9QKHs2s8rMyH2+hcXv1I= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=HKW8SgAFYCoH0/KQj3bgNf7AIfZQY7lC2dzVGmxaP4AxXifiinoEaEVezY1a7l68vI 8IH6zcrsiW0pgaKnc5Kn6KTM8itv1qsMvlopzeEALvVCjImIrvpkUINvYlDdV+G1AHOD Re9066fUYfbqKZVClyL7JBKV/GFaYGQqi9mqY= On Apr 20, 2009, at 7:28 PM, Wrekso Wibowo wrote: Hi all, There is one: COMMAND_LINE_INSTALL It can also be accessed from JavaScript. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev