• 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: Installing in different directories, according to system version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing in different directories, according to system version


  • Subject: Re: Installing in different directories, according to system version
  • From: gorouben <email@hidden>
  • Date: Thu, 22 Aug 2013 09:49:55 +0200

Thanks for both useful answers.

Stephane, you're right, my users won't like it if the Mavericks compatible driver the installed on ML doesn't work once they update!

Best regards
Eric
Le 21 août 2013 à 22:50, Stephane Sudre a écrit :

This may be a solution that is not forward compatible:

If you do not install the signed extensions on a current OS and then your end-user updates the OS, your solution may break.

IIRC, there is a WWDC session covering this. It involves adding related OS requirements to the kexts (using kpi.something versions among other things). And then you can install the 2 flavored of the extensions at the same time. 



On Wed, Aug 21, 2013 at 8:58 PM, Bill Coderre <email@hidden> wrote:
kexts are usually pretty small, so do the simple thing: make two packages, and have your installer select one package for the different OS on the target volume.

In your dist, this looks a little like this:
>     <choices-outline>
>         <line choice="manual"/>
>     </choices-outline>
>     <choice id="manual" title="TITLE">
>         <pkg-ref id="OLD" auth="Root" active="hasOldOS(my.target.mountpoint)" _onConclusion_="RequireRestart">#FOO.pkg</pkg-ref>
>         <pkg-ref id="NEW" auth="Root" active="hasNewOS(my.target.mountpoint)">#FOO.pkg</pkg-ref>
>     </choice>



On Aug 21, 2013, at 11:33 AM, gorouben <email@hidden> wrote:
> Hi there
>
> This has probably already been addressed, but I did not find the answer.
> What is the simplest way to install a product in different directories, according to system version.
> More precisely, as this question is not under NDA, I need to install a non signed kext in /System/Library/Extensions if the version is under 10.9, a signed kext in /Library/Extensions otherwise.
>
> Thanks in advance
> Eric
> _______________________________________________
> 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


 _______________________________________________
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



--
Packaging Resources - http://s.sudre.free.fr/Packaging.html
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
References: 
 >Installing in different directories, according to system version (From: gorouben <email@hidden>)
 >Re: Installing in different directories, according to system version (From: Bill Coderre <email@hidden>)
 >Re: Installing in different directories, according to system version (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: Installing in different directories, according to system version
  • Next by Date: problems installing a bundle version pkg via ARD's task server
  • Previous by thread: Re: Installing in different directories, according to system version
  • Next by thread: problems installing a bundle version pkg via ARD's task server
  • Index(es):
    • Date
    • Thread