The installation size only shows a
difference in file size if it is a positive difference. So if the installed
size has only grown 24k, that is what it will show. It takes just as long
because it actually removes old files and copies the new ones if you look at
the install log it will show it removing outdated files and installing the new
ones.
Also you are using launchctl unload to
unload a bundle? Do you mean you are using it to unload a plist?
Adam
From:
installer-dev-bounces+adampeck=email@hidden
[mailto:installer-dev-bounces+adampeck=email@hidden] On Behalf Of OSullivan, Steven
Sent: Wednesday, December 31, 2008
10:32 AM
To: email@hidden
Subject: Possible partial upgrade
on a bundle?
Hello all,
Happy New Year to everyone!
I am trying to upgrade a bundle using a pmdoc created with PackageMaker 3.0.1.
The target is 10.4 and 10.5 for this. There is also an application that is part
of this mix as well using a different pmdoc targeted at 10.5 only.
I have a preupgrade script that uses 'launchctl unload' to unload the bundle,
the script then removes the constituent parts of the installation. This may not
be what I really want here, but that is how I have things set up....
When I run the bundle installer as an upgrade, it reports that it is only
copying 24K of files (though the installation takes about 65 MB). I then
upgrade the application. It takes about the same amount of time as a regular
installation.
When I launch the application and check it's version, it has been upgraded, and
when I check the version of the bundle, IT shows a new version number as
well.... But, I am concerned that I am not getting a complete upgrade.
I hope that someone can give me some insight here.
Thanks for any and all assistance.
Regards,
Steve O'Sullivan