site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=bjPvXOWRFWDGcI8oR74Szrs7NXG74cmZhEOsJokJpm8=; b=KFKTLrLr0bWNMqqIDnPAFP5v7fjJbV7dIsnj47vIBYJeC8X1fVqo0yjioz7u3Gx2Nf gqJVoQRX+k70z/aDp4ub2gjjNyyn7dRv32cCB40hMK21AzlhCqsv/DhxUOReKWsC48h0 i+jwa6vGAqCyXr/VZdOdRrUzMjHaLGjipdn4I= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qgWI4+99IPMkUsCWprP9/Tc24HV/NngQ5BdDpez2tOTMX0I1ldGpAnyIHY3ADS1ODH yXQHVyH6Qsnj3iPRnxluKF750Qz3gwLTyuAdG98PTw9/fKteMbIVP2jGEZ6Np9LSq4MN 4tbeeMu+jbjYvfUYVE0g8mEd+9yoINJKAWSnk= 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! -Sakshi On Fri, Aug 6, 2010 at 2:31 PM, Glover,David <David.Glover@prometheanworld.com> wrote:
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:heysakshi@gmail.com] 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 <David.Glover@prometheanworld.com> 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=prometheanworld.com@lists.apple.com [mailto:installer-dev-bounces+david.glover=prometheanworld.com@lists.app 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/david.glover%40prom etheanworld.com
This email sent to david.glover@prometheanworld.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
sakshi