• 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: Version checking and InstallationCheck
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Version checking and InstallationCheck


  • Subject: Re: Version checking and InstallationCheck
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 27 Aug 2007 22:33:26 +0200


On lundi, août 27, 2007, at 05:56 PM, Dallas Jones wrote:

Hi there -

I want to be able to install one of two packages as part of a metapackage
depending on whether a file is found. I have edited the packages to add a
package requirement; one of them will install if the file is found; the
other will not install if the file is found.


This didn't work - the installation fails if the requirements for either of
the packages fails.


It looks like I can do what I want to do with an InstallationCheck script -
and I see some examples in the list archives. My concern with this approach
is the big floating Legacy Document warning on the InstallationCheck page on
the Apple site.


Is there another approach, or do I just need to get over  the legacy
document warning?

Thanks in advance for any opinions...

What is the big legacy warning? Is it the "this package contains a program that determines if the software can be installed. Are you sure want to continue?" warning?


If it's really a trouble for you, one solution could be to write a quick Cocoa (or another language) Front-End to determine which package should installed, add the packages in the resources and voilà!

You could even stick a Package icon on the application if you really want it to look like a package.


_______________________________________________ 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: Version checking and InstallationCheck
      • From: Stéphane Sudre <email@hidden>
References: 
 >Version checking and InstallationCheck (From: "Dallas Jones" <email@hidden>)

  • Prev by Date: Re: Upgrade problems
  • Next by Date: What plist does installer.app check for the OS version?
  • Previous by thread: Version checking and InstallationCheck
  • Next by thread: Re: Version checking and InstallationCheck
  • Index(es):
    • Date
    • Thread