Sounds like a neat option. I have been blocked by thought of having a
hidden choice do the uninstall. Making it visible to the user
uncomplicates things. Thanks!
On Fri, Aug 6, 2010 at 2:31 PM, Glover,David
> 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.
> 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.
>> -----Original Message-----
>> 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:
>> 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