Re: system.env.OS_INSTALL
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:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=yObcrNVTHVMOB5oEiPblpJdq5BDNsuKgHc2g+7/YhSc=; b=FX7iO+y5zxpAZHOxTzcbPGsVO+1myWyZuMAtxiXbXasgDTbciEeirDAqxCRX09id5f HmyBizKjvEPr0qCDBxLqt2WVWxtekrNx/dCZyrLB7nTvchYSSDwqYV9W0kzLzW04YYVd Cv8AMXZVuHSTAtUK6+5ln5JJC0HRLLu8c8NVQ= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ei55Ns2O3ovydiFzMnmuWDRJ3gd+aN9W8iGcxm+yLbn0XO828A9t26kHAiMjAZXtQU szc2/Gy8T5C0ZuzNDZzKvpHgWf+YsLt7SE7iNGO8IA2caIDkaqi6tknDHMtkqY5bHIZ2 zBXURs1yTm8wCOPYEed8NB+tDr+izfgvZJ48o= On Wed, Mar 24, 2010 at 7:01 AM, varinder saini <mailtovarinder@gmail.com> wrote:
1. What is "system.env.OS_INSTALL"? What does OS_INSTALL returns? and where can I find some documentation on it (if any)
system.evn represents environment variables. During an OS install that environment variable would be set. That's a guess, but an educated one. During an Install, packages are being deployed, not to the startup disk as normal, but to your target disk, which means you'd have to fall through any volume checks that look for components on the root disk, as the root disk would be your boot DVD, or external hard drive or whatever, and not the install location.
2. Whenever I am trying to install Xcode I am getting following exceptions in the install log: Mar 24 03:53:12 Lab-Computer-5 Installer[1708]: IFJS: *** exception: TypeError: Result of expression 'my.target' [null] is not an object. Mar 24 03:53:19: --- last message repeated 1 time --- Mar 24 03:53:19 Lab-Computer-5 Installer[1708]: IFJS: *** exception: TypeError: Result of expression 'my.target.systemVersion' [null] is not an object. Mar 24 03:53:49: --- last message repeated 5 times --- Why 'my.target' and 'my.target.systemVersion' is returning null 3. volumeCheck() clearly checks for OS 10.6 and above but when I install using command line, I am able to install it to 10.5.x too. Why is this happening? Is it because 'my.target' and 'my.target.systemVersion' is returning null Any pointers on this will be greatly appreciated. Thanks in advance.
I would agree with that assumption, though it seems something of an oversight on Apple's part if we're right, and begs the bigger question of why are they returning null. I just pulled my ~2 year old restore CD out for my iMac at work, and it appears that 10.5-era xcode installs used the exact same script save for a couple of parameters, so its not something new they're doing with 10.6-only packages. I would love it if there was a decent document somewhere discussing the Javascript support and environment during those checks, not to mention a decent way to test those scripts... The only information I have been able to glean from them is from reading the Distribution files of packages like xcode. One more reason I stick to Iceberg and the at-least-somewhat-better-documented 10.4-era bundle format. _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Nick Peelman