RE: MetaPackage, with SubPackages of size 0 bytes
RE: MetaPackage, with SubPackages of size 0 bytes
- Subject: RE: MetaPackage, with SubPackages of size 0 bytes
- From: Peter Bierman <email@hidden>
- Date: Tue, 31 Oct 2006 13:25:19 -0800
Yeah, if you're uninstalling the payload yourself, then you
can/should also remove the receipt.
The upgrade size is computed as the size of the package to be
installed, minus the size of the receipt with the same package id.
-pmb
At 12:44 PM -0800 10/31/06, Alex Sheh wrote:
Thanks, Peter. It was the latter case (package was installed
previously) that resulted in 0 bytes. How exactly is the "upgrade" size
computed?
The reason I'm asking is related to what happens when the user
uninstalls, then reinstalls the same package. My uninstaller
application removes all installed apps, but leaves the original receipt
file around. When the user tries to install the same package again, he
see Upgrade 0 bytes, but I would like for him to see Upgrade X(Total)
bytes. Should I just delete the receipt file as a part of the
uninstall, or what is the proper way to do this? I am not currently
using version.plist files. Thanks!
- Alex
-----Original Message-----
From: Peter Bierman [mailto:email@hidden]
Sent: Wednesday, October 25, 2006 10:59 AM
To: Alex Sheh
Cc: email@hidden
Subject: Re: MetaPackage, with SubPackages of size 0 bytes
At 7:16 PM -0700 10/24/06, Alex Sheh wrote:
Hi All,
I've created a MetaPackage using command-line packagemaker, .pmproj
files, and a script to manually copy SubPackages into the MetaPackage.
The MetaPackage installs fine, except that the SubPackages are listed
as 0 bytes in the GUI. I'm not sure what the cause is - does anyone
know how I can fix this?
It could be one of two things. Either the distribution script in your
metapackage doesn't have size information for the pkg-refs, or your
packages are performing an "upgrade" because they've been installed
previously, and the installer is subtracting the size of the existing
packages.
-pmb
_______________________________________________
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