Re: system.env.OS_INSTALL
Re: system.env.OS_INSTALL
- Subject: Re: system.env.OS_INSTALL
- From: Nick Peelman <email@hidden>
- Date: Wed, 24 Mar 2010 10:54:55 -0400
On Wed, Mar 24, 2010 at 7:01 AM, varinder saini
<email@hidden> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden