• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Problem installing when multiple iso's with are mounted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem installing when multiple iso's with are mounted


  • Subject: RE: Problem installing when multiple iso's with are mounted
  • From: Prema Kumar <email@hidden>
  • Date: Thu, 29 Sep 2011 02:30:03 -0700
  • Acceptlanguage: en-US
  • Thread-topic: Problem installing when multiple iso's with are mounted

Hi,

Thanks for the support. I will try exporting a variable in the InstallationCheck script. The question is if I export this variable in InstallationCheck, is it available in preflight also? both of them will use the same shell environment?

Regards
Prema


-----Original Message-----
From: helpcrypto helpcrypto [mailto:email@hidden]
Sent: Thursday, September 29, 2011 2:46 PM
To: Prema Kumar
Cc: email@hidden
Subject: Re: Problem installing when multiple iso's with are mounted

> Hi,
> I am getting the right path in those scripts.

Thats what i was looking for... :)

> But how will I make use of the those path in preflight script?

Altough its not a very elegant solution, and doesnt solve the problem
(its just a fix), you could do many things.

> The preflight script is executed from the driver I mounted first. Following is one line from the log. I have called the OSX installer.pkg from /Volumes/User Software 1/OSX/Printer Driver/OSX installer.pkg

Ill try exporting an environment variable with the correct path and
then use it on preflight more or less like this pseudo-code:
if variable "installsource"="disc1"
{
    target="$1"
}
else
{
    target="installLocation"
}
//install on target

I guess this is due to the whitespace, and shouldnt fail if you rename
"User Software 1" to "User Software_1" or something like that.

btw, i always recommend using s.sudre Packages, and avoid official
(buggy) PackageMaker :P

Confidentiality notice:  This message may contain confidential information.  It is intended only for the person to whom it is addressed. If you are not that person, you should not use this message.  We request that you notify us by replying to this message, and then delete all copies including any contained in your reply.  Thank you.
 _______________________________________________
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

  • Follow-Ups:
    • Re: Problem installing when multiple iso's with are mounted
      • From: helpcrypto helpcrypto <email@hidden>
References: 
 >Problem installing when multiple iso's with are mounted (From: Prema Kumar <email@hidden>)
 >Re: Problem installing when multiple iso's with are mounted (From: helpcrypto helpcrypto <email@hidden>)
 >RE: Problem installing when multiple iso's with are mounted (From: Prema Kumar <email@hidden>)
 >Re: Problem installing when multiple iso's with are mounted (From: helpcrypto helpcrypto <email@hidden>)
 >RE: Problem installing when multiple iso's with are mounted (From: Prema Kumar <email@hidden>)
 >Re: Problem installing when multiple iso's with are mounted (From: helpcrypto helpcrypto <email@hidden>)

  • Prev by Date: Re: Problem installing when multiple iso's with are mounted
  • Next by Date: Re: Problem installing when multiple iso's with are mounted
  • Previous by thread: Re: Problem installing when multiple iso's with are mounted
  • Next by thread: Re: Problem installing when multiple iso's with are mounted
  • Index(es):
    • Date
    • Thread