Re: preinstall/preupgrade scripts: The revenge
Re: preinstall/preupgrade scripts: The revenge
- Subject: Re: preinstall/preupgrade scripts: The revenge
- From: Stephane Sudre <email@hidden>
- Date: Thu, 06 Jun 2013 11:53:26 +0200
On Thu, Jun 6, 2013 at 7:28 AM, Paul Cook <email@hidden> wrote:
> Great info, but don't those sample tests & scripts only work if you are installing on the boot drive? Or will they still work as part of a NetInstall, Deploy Studio, Casper or even just a local install to another OS on a separate partition/drive on the same machine?
Great question.
AFAIK, be it NetInstall, Deploy Studio or Casper, as long as they use
installer (8) (and don't change the identifier of the package) to
install the package, it's the same: the installation process is
performed on the target machine and the pkgutil data base sits on the
target machine.
Now, for packages installed on a non startup location, it's a question
I asked myself but haven't tested… yet. Some mysterious points would
be:
- is an installation on the non startup volume filed in the startup
installation db or on the target volume itself? In 99.999999% of
cases, I install on the startup volume.
follow-up questions: if an installation was made on the startup
volume and then I decide to install the product on another volume,
will it be listed by pkgutils and so seen as an upgrade?
- when I install a product on a non startup volume and it was already
installed on the startup volume, do I consider this to be an upgrade?
_______________________________________________
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