RE: Uninstall during upgrade
RE: Uninstall during upgrade
- Subject: RE: Uninstall during upgrade
- From: "Glover,David" <email@hidden>
- Date: Fri, 6 Aug 2010 10:01:47 +0100
- Thread-topic: Uninstall during upgrade
I have created packages before that uninstall a previous one at upgrade time through a preupgrade script, and then install the new files. I haven't tried an uninstall from a separate package though, as it's possible that it could be deselected, or fail to install for some reason.
You could always create an install package that actually uninstalls a specific component through the install scripts, label it as an uninstall package and have it selected by default as a choice?
-----Original Message-----
From: sakshi [mailto:email@hidden]
Sent: 06 August 2010 09:37
To: Glover,David
Cc: Installer-Dev mailing-list
Subject: Re: Uninstall during upgrade
Thanks, Dave. We already have an uninstaller module that we are
planning to ship. My concern is whether it would be right to invoke an
uninstallation component during install.
Say I were to run an installer in install mode and install a
framework. Next I re-run it and it runs in upgrade mode. Now I switch
off the checkbox for the component. The normal Mac behavior seems to
be that nothing will happen. The component will stay installed and
will not be touched. My guess is Windows installers are triggering the
expectation that this step would work as a modify mode and would
actually go and uninstall the framework.
I could invoke my uninstaller from another component package and
potentially uninstall the framework. But is this is right thing to do?
My take is that Mac users will be caught off guard and I guess I am
looking for confirmation that I am right.
-Sakshi
On Fri, Aug 6, 2010 at 1:42 PM, Glover,David
<email@hidden> wrote:
> Personally I think the best way is to write a bash or perl script to do
> the uninstall, make it executable and install it along with the other
> files in the package. Or if you're creating a dmg container, have it
> sat in there alongside your package.
>
> Install packages on Mac do not have built in uninstalls, so you need to
> make something yourself.
>
> Regards,
> Dave
>
>
> -----Original Message-----
> From:
> installer-dev-bounces+david.glover=email@hidden
> [mailto:installer-dev-bounces+david.glover=email@hidden
> le.com] On Behalf Of sakshi
> Sent: 06 August 2010 04:01
> To: Installer-Dev mailing-list
> Subject: Uninstall during upgrade
>
> The behavior of unchecking a choice during upgrade seems to be a no
> op. My team is expecting a uninstall. Do any of the Mac installers do
> this? I have a hack for it but am wondering if it would be the right
> thing to do. Any thoughts? Thanks. Sakshi.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> etheanworld.com
>
> 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