Not only does it check for a matching Receipt
name it also checks to see if the identifier is the same. This allows you to rename
your package while still performing an update as long as the identifier is left
the same.
-Adam
From:
installer-dev-bounces+adampeck=email@hidden
[mailto:installer-dev-bounces+adampeck=email@hidden] On Behalf Of Bryan S. Lee
Sent: Friday, May 08, 2009 7:49 AM
To: sivasankar Muthusamy; Andrew
Peckover
Cc: email@hidden
Subject: Re: Package up-grade
action in PackageMaker 3.0.3
It also depends on what type of
package you have built. The new 10.5 only, flat-package format places entries
in a database instead of the /Library/Receipts folder.
For more info, from the terminal, type:
pkgutil --help
On some installs, I have to have a step removing a package entry as to not
cause any issues or problems, especially if something was not installed with
root access. I tend to get an error if a different user tries to run the
installer a second time if the entry hasn’t been removed.
pkgutil --forget edu.college.application
--
Bryan S. Lee
From: sivasankar
Muthusamy <email@hidden>
Date: Fri, 8 May 2009 03:14:45
-0400
To: Andrew Peckover <email@hidden>
Cc: <email@hidden>
Subject: Re: Package up-grade
action in PackageMaker 3.0.3
Thank you Andrew..
Sivasankar
On Fri, May 8, 2009 at 11:33 AM, Andrew Peckover <email@hidden>
wrote:
Hi Sivasankar,
Someone else will likely give you a better answer, but... do you know
about the files that it places in \Library\Receipts ?
If there is no receipt for the same package, it considers it an Install.
If there is a receipt, then it seems to always consider it an Upgrade.
I don't know about downgrades. Perhaps if you have
"downgradable" selected in Components, and the package version number
is earlier, then it considers it a downgrade... but I haven't tried it, just
thinking.
Andrew
----- Original Message -----
From: sivasankar Muthusamy
<mailto:email@hidden>
To: email@hidden
Sent: Thursday, May 07, 2009 10:27
PM
Subject: Package up-grade action
in PackageMaker 3.0.3
hi all
I am using PackageMaker 3.0.3. I have created a package and installed..
if i try to install next time it shows "upgrade" in
Action column for choices. where the installer stores that info
in the Machine i.e OS. and how it identifies it whether upgrade
or downgrade or fresh install. i googled but i didn't get
answer. Please any help..
Thanks in advance......
Sivasankar
_______________________________________________
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