Re: Distribution package showing wrong installation-size when running the installer.
Re: Distribution package showing wrong installation-size when running the installer.
- Subject: Re: Distribution package showing wrong installation-size when running the installer.
- From: Vikram Singh <email@hidden>
- Date: Wed, 11 Apr 2012 09:47:05 +0530
Yes Greg, PackageMaker auto-generates the installKBytes values when the component package is included inside the distribution package (Or the component packages are created during building the distribution package). But my situation is slightly different. I am providing the reference path of component packages in my distribution package (These packages are not yet built). So, there is no way for it to get the size of component packages and it puts installKBytes="0".
I was looking for something similar to a MPKG file format where if we mention the sub-packages to be installed, it DYNAMICALLY gets the total size by adding sizes of component packages. But in case of Distribution package, it takes the size from the Distribution.dist file( doesn't calculates size dynamically).
Anyway, thanks for the reply :)
Thanks,
Vikram
On Wed, Apr 11, 2012 at 12:08 AM, Greg Neagle
<email@hidden> wrote:
I don't believe so. Every distribution file I've seen has hard-coded installKBytes values. Probably Apple has a tool to auto-generate these from component packages...
-Greg
On Apr 10, 2012, at 1:23 AM, Vikram Singh wrote:
> Hi,
>
> I have 10 component packages. I want to call all of them from a distribution package. I don't want to include them inside the distribution package so I have mentioned the custom path of the packages instead. Everything seems to work but there is one problem. When I try to run the distribution package, it is showing the wrong size in the message "This will take 30 MB of space on your computer". It is not taking into account the sizes of the component packages because at the time of building that distribution package, the packagemaker doesn't has that information(Since only the path is mentioned).
> So, the distribution script contains lines like
> <pkg-ref installKBytes="0" ... />
>
> So, is there any way I can solve this problem without hardcoding the size manually in the distribution script?
> Thanks in advance.
>
> Thanks,
> Vikram
> _______________________________________________
> 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