Re: Defining Executable Architectures for Mac Pkgs 10.4
Re: Defining Executable Architectures for Mac Pkgs 10.4
- Subject: Re: Defining Executable Architectures for Mac Pkgs 10.4
- From: Xochitl Lunde <email@hidden>
- Date: Tue, 20 Apr 2010 10:32:35 -0500
<installer-dev-bounces+xochitl_lunde=email@hidden>
wrote on 04/20/2010 09:52:09 AM:
> Hi,
>
> I am creating a 10.4 Pkg and i want to restrict the execution of the
> Pkg to Intel based Macs.
> I tried defining 'Executable Architectures' in
the Info.plist but It
> seems not to be working.
>
> Please suggest how can i restrict the Pkg execution on specific platforms.
>
> Thanks,
> Sachin _______________________________________________
Are you using PackageMaker or Iceberg or something
else to make the package? I do it in my InstallationCheck script
like this:
cputype="`sysctl hw.cputype | awk -F ":
" {'print $2'}`"
if [ "${cputype}" -ne 7 ] ; then
exit 115 ; # Return
string 19
fi
The newest package maker program should just give
you an option to add an Intel requirement, but its 64-bit requirement doesn't
seem to work on any of my Macs. Because I wanted to check for 64-bit
capability as well, I wasn't able to get PackageMaker working for me. The
'64-bit capable' check always gave an apparent wrong result from PackageMaker
packages. _______________________________________________
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