Re: Installation requirements
Re: Installation requirements
- Subject: Re: Installation requirements
- From: Andrew Keller <email@hidden>
- Date: Tue, 12 Mar 2013 22:27:14 -0400
On Mar 12, 2013, at 4:12 AM, Stephane Sudre wrote:
> On Tue, Mar 12, 2013 at 5:10 AM, Andrew Keller <email@hidden> wrote:
>> On Mar 11, 2013, at 7:41 PM, Greg Neagle wrote:
>>> On Mar 11, 2013, at 4:22 PM, Andrew Keller <email@hidden> wrote:
>>>> On Mar 9, 2013, at 1:27 PM, Greg Neagle wrote:
>>>>> On Mar 8, 2013, at 5:17 PM, Bill Coderre <email@hidden> wrote:
>>>>>> On Mar 8, 2013, at 2:08 PM, Andrew Keller <email@hidden> wrote:
>>>>>>
>>>>>>> My software is compatible with 10.6.0 and later, but my installer is only compatible with 10.6.6 and later.
>>>>>
>>>>> Why on earth is this?
>>>>
>>>> The app runs just fine on 10.6.0, but the installer does this on pre-10.6.6:
>>>>
>>>> Mar 8 12:09:20 qa-macbook Installer[1153]: Running OS Build: Mac OS X 10.6.3 (10D575)
>>>> [fast forward]
>>>> Mar 8 12:10:56 qa-macbook Installer[1153]: Package file://localhost/Volumes/My App/Install My App.pkg#My App.pkg not supported by PK
>>>> Mar 8 12:10:56 qa-macbook Installer[1153]: Will use IF session
>>>> Mar 8 12:10:56 qa-macbook Installer[1153]: PFPackage::packageWithURL - can't instantiate package: /Volumes/My App/Install My App.pkg
>>>> Mar 8 12:10:56 qa-macbook Installer[1153]: Error opening package "Install My App.pkg#My App.pkg".
>>>> Mar 8 12:10:56 qa-macbook Installer[1153]: Install failed: The Installer could not install the software because there was no software found to install.
>>>> Mar 8 12:10:56 qa-macbook Installer[1153]: IFDInstallController 14B670 state = 7
>>>> Mar 8 12:10:56 qa-macbook Installer[1153]: Displaying 'Install Failed' UI.
>>>> Mar 8 12:10:56 qa-macbook Installer[1153]: 'Install Failed' UI displayed message:'The Installer could not install the software.\n\nThe Installer could not install the software because there was no software found to install.'.
>>>
>>> This looks like a package authoring error. Perhaps 10.6.6's installer is a little more permissive, but I'd work on fixing the installer.
>>
>> I completely agree - Installer is definitely not happy with the package, which can likely be worked around by tweaking the authoring process. However, Googling the errors, or searching for them in the man pages, or searching for any of the above text in the SDKs has not turned up anything I can work with. Do you have any suggestions?
>
> Are you using options that would only be available in 10.6.6 or later?
> (like requiring some apps not to be running)
Yes - the Distribution file was using the 'require-scripts' attribute in the options element. I removed it, but the behavior remains unchanged. I'll try again tomorrow.
The error makes me think that the error is in my component package, and not necessarily in the distribution package. Is that possible, or can this type of error be caused by a problem in the distribution package?
I rebuilt some older commits, and it looks like my installer started exhibiting this problem on <10.6.6 after I rewrote my packaging script. It used to only use productbuild, but now it uses pkgbuild to create component packages, and then productbuild to bundle everything together.
Thanks,
Andrew Keller
_______________________________________________
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