RE: MetaPackage, with SubPackages of size 0 bytes
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: Acb4YQiaCiegREHdSJyCldEYLJxzvwEy1ZfA Thread-topic: MetaPackage, with SubPackages of size 0 bytes 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:bierman@apple.com] Sent: Wednesday, October 25, 2006 10:59 AM To: Alex Sheh Cc: installer-dev@lists.apple.com 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Alex Sheh