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 <gorouben@gmail.com> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/bc%40apple.com
This email sent to bc@apple.com
_______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com