Re: InstallationCheck / mpkg / 10.4
Re: InstallationCheck / mpkg / 10.4
- Subject: Re: InstallationCheck / mpkg / 10.4
- From: Peter Bierman <email@hidden>
- Date: Fri, 26 Jan 2007 12:01:23 -0800
You've pretty much described in a nutshell why 10.4 introduced
distribution scripts, which puts all of these UI decisions under your
control.
I'd create a distribution script for your 10.4 and later users, and
then use the InstallationCheck and mpkg mechanisms for 10.3.
-pmb
At 9:32 AM -0600 1/26/07, Julian Devlin wrote:
I have an mpkg.
It has two sub-pkgs. Neither one is required.
One of the sub-pkgs has an InstallationCheck which returns 112 (stop
installation).
On 10.3.9, running the mpkg displays my error and stops the
installation (as I would sort of expect).
On 10.4.8, running the mpkg silently (unless you happen to look in
the log) disables the sub-pkg with the InstallationCheck, and
displays "The software was successfully installed". If the user
happens to click Customize, they will see that the sub-pkg has been
turned off, and cannot be selected.
I guess I understand the reasoning to some degree - the sub pkg
can't be installed, and since it's not required, the mpkg continues
to install. So I guess in 10.3.9, the user would have to figure out
which sub pkg wasn't able to install, and customize the mpkg
installation to exclude it, which is probably more work than the
user should have to do...
But at the very least on 10.4.8, the failure should cause the
"Customize" view to be exposed so the user has some chance of
knowing what's going on. (and it would also be nice if the error
could be seen by selecting the sub-pkg - so the reason for it being
disabled would not be mysterious).
In my pkg, the InstallationCheck doesn't fail because it
can't/shouldn't ever be installed on the computer, it's because of a
condition that could be fixed and then the install could succeed. So
it's important for the user to at least know that the sub pkg hasn't
been installed, even if the mpkg install does continue.
Am I missing something? Is there some other way to get the error to
appear? (without making the sub pkg required)...
Thanks,
-Julian
_______________________________________________
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