RE: Problem installing when multiple iso's with are mounted
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: Acx+iFSgfrF1gnSjR0K4rhVSyneIHAAANebA 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:helpcrypto@gmail.com] Sent: Thursday, September 29, 2011 2:46 PM To: Prema Kumar Cc: installer-dev@lists.apple.com 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 (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)
-
Prema Kumar