Re: Installing in different directories, according to system version
Re: Installing in different directories, according to system version
- Subject: Re: Installing in different directories, according to system version
- From: Bill Coderre <email@hidden>
- Date: Wed, 21 Aug 2013 11:58:16 -0700
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