Re: product build and dist scripts targeted at 10.5
Re: product build and dist scripts targeted at 10.5
- Subject: Re: product build and dist scripts targeted at 10.5
- From: Alex Cohen <email@hidden>
- Date: Wed, 30 May 2012 08:52:16 -0400
I changed the min version by hand just for testing purposes. It was at 2.
Sent from my iPad
On May 30, 2012, at 7:51 AM, Stephane Sudre <email@hidden> wrote:
> On Wed, May 30, 2012 at 1:00 AM, Alexander Cohen <email@hidden> wrote:
>>
>> On May 29, 2012, at 6:49 PM, Stephane Sudre wrote:
>>
>>> On Tue, May 29, 2012 at 1:21 PM, Alexander Cohen <email@hidden> wrote:
>>>> Hi,
>>>>
>>>> I'm creating a Product Archive using productbuild with a distribution script. In the dist script, the min OS targeted is 10.5.8 but when i run the installer on 10.5.8, i get an error saying the dist script is too new and cannot be parsed. It works fine on 10.6 and up. I tried changing the minSpecVersion from 2 to 1 but that didn't change anything.
>>>>
>>>> Is it possible to use productbuild and a dist script to target 10.5.8 and up? If so, what settings do i need?
>>>
>>> Can you tell us how you invoke productbuild? i.e. with which arguments?
>>>
>>> Can you produce the resulting distribution script (using Pacifist)?
>>
>> I can. Here is how i use productbuild:
>>
>> productbuild --distribution '<distfile>' --sign '<cert>' --package-path '<path to packages>' '<output path>'
>>
>> Here is what my dist file looks like, i've never used pacifist. This comes from "productbuild --synthesize" and some manual editing.
>>
>> <?xml version="1.0" encoding="utf-8" standalone="no"?>
>> <installer-gui-script minSpecVersion="1">
>> <title>X-Rite Device Manager</title>
>> <pkg-ref id="com.xrite.device.installer.component"/>
>> <domain enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="false"/>
>> <options customize="never" require-scripts="false" hostArchitectures="x86_64,i386"/>
>> <volume-check>
>
> The part below is from the most recent format and so would probably
> require minSpec to be set to 2.
>
> -------------
>
>> <allowed-os-versions>
>> <os-version min="10.5.8"/>
>> </allowed-os-versions>
>
> -------------
>
>> </volume-check>
>> <choices-outline>
>> <line choice="com.xrite.device.installer.component"/>
>> </choices-outline>
>> <choice id="com.xrite.device.installer.component" enabled="false" visible="true" selected="true" description="X-Rite Device Services Manager" title="X-Rite Device Services Manager">
>> <pkg-ref id="com.xrite.device.installer.component"/>
>> </choice>
>> <pkg-ref id="com.xrite.device.installer.component" auth="root" onConclusion="RequireRestart">XRD Manager Component.pkg</pkg-ref>
>> </installer-gui-script>
_______________________________________________
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